| Summary: | Attempts to engrave a .ly file cause a crash and generate a bug report | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Doug Laidlaw <laidlaws> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | dmorganec, fundawang, philippedidier, rac |
| Version: | 2 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | frescobaldi-2.0.4-1.mga2.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 8034 | ||
| Bug Blocks: | |||
|
Description
Doug Laidlaw
2012-07-14 23:21:54 CEST
Manuel Hiebel
2012-07-15 15:19:13 CEST
CC:
(none) =>
dmorganec, fundawang In case it was something to do with the Frescobaldi RPM, I tried building the tarball and running that without installing it. It gives me a different error:
Traceback (most recent call last):
File "/home/doug/builds/frescobaldi-2.0.6/frescobaldi_app/musicview/widget.py", line 112, in openDocument
self._links = pointandclick.links(document)
File "/home/doug/builds/frescobaldi-2.0.6/frescobaldi_app/musicview/pointandclick.py", line 75, in links
l = _cache[document] = Links(document)
File "/home/doug/builds/frescobaldi-2.0.6/frescobaldi_app/musicview/pointandclick.py", line 95, in __init__
m = textedit_match(link.url())
TypeError: expected string or buffer
HTH,
Doug.
After the upgrade of Qt, just installed, the original error message no longer comes up. Instead the error message in Comment 1 appears twice, once on opening a file, and once on clicking Preview. The progress pane shows that the pdf is indeed generated (which I have confirmed.) It sounds like a problem in rendering the PDF. The pieces of splash screen still appear in the menu (the main one looks like a black version of the Frescobaldi logo, a bit like a car tyre,) another graphical issue. A different bug? A similar error message is discussed here: https://groups.google.com/forum/#!msg/frescobaldi/FNR8Aor9UPE/4viWj8rJOiEJ Wilbert Berendsen (http://www.wilbertberendsen.nl) wrote: "This is related to python-poppler-qt4 not being compiled with the same PyQt4 version that is used. So python-poppler-qt4 must be recompiled with the current PyQt4 version!" CC:
(none) =>
rac Slightly different, but sounds like the same problem. That is why I compiled Frescobaldi from source. Seems as though if I compile python-poppler-qt4 from source as well, everything will become consistent. Must give it a try. It has no dependencies. Google Groups is playing Windows and telling me that I don't need to see the referenced link, but I saw one like it. Unfortunately, when trying to compile python-poppler-qt4 I am getting a heap of error messages such as: undefined reference to `qt_assert_x(char const*, char const*, char const*, int)' Am I missing a Qt package? No failed dependencies showed up during the compile. Here's the text of the Google Groups post, in case the link above is not working. Subject: Re: [Frescobaldi 2.0.0] AttributeError: 'Scope' object has no attribute 'width' Jan 9 Op Fri, 06 Jan 2012 18:51:25 -0800 Bernardo Barros <ma...@bbarros.com> schreef: > Frescobaldi: 2.0.0Python: 2.7.2 -- Qt: 4.8.0 -- PyQt4: 4.9 -- sip: > 4.13.1OS: > Linux-3.0-rt-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-glibc2.2.5Traceback > (most recent call last): File > "/usr/lib/python2.7/site-packages/frescobaldi_app/musicview/__init__.py", > line 102, in openDocument self.widget().openDocument(doc) File > "/usr/lib/python2.7/site-packages/frescobaldi_app/musicview/widget.py", > line 112, in openDocument self.view.load(document) File > "/usr/lib/python2.7/site-packages/frescobaldi_app/qpopplerview/view.py", > line 117, in load self.surface().pageLayout().load(document) File > "/usr/lib/python2.7/site-packages/frescobaldi_app/qpopplerview/layout.py", > line 324, in load p.setScale(self._scale) File > "/usr/lib/python2.7/site-packages/frescobaldi_app/qpopplerview/page.py", > line 129, in setScale self.computeSize() File > "/usr/lib/python2.7/site-packages/frescobaldi_app/qpopplerview/page.py", > line 122, in computeSize x = round(self._pageSize.width() * xdpi / > 72.0 * self._scale)AttributeError: 'Scope' object has no attribute > 'width'Optionally describe below what you were doing: > This is related to python-poppler-qt4 not being compiled with the same PyQt4 version that is used. So python-poppler-qt4 must be recompiled with the current PyQt4 version! -- Wilbert Berendsen (http://www.wilbertberendsen.nl) =========== I haven't tried yet, but you may need some of these to compile frescobaldi: libqt4-dev python-qt4-dev python-sip-dev libpoppler-qt4-dev libqt4-core python-sip4-dev
Philippe Didier
2012-11-10 16:54:50 CET
Depends on:
(none) =>
8034
Manuel Hiebel
2012-11-11 00:03:38 CET
Keywords:
(none) =>
Triaged (In reply to comment #7) Hi Richard ... > > This is related to python-poppler-qt4 not being compiled with the same > PyQt4 version that is used. > > So python-poppler-qt4 must be recompiled with the current PyQt4 version! > > -- > Wilbert Berendsen > (http://www.wilbertberendsen.nl) > He's right ! > =========== > > I haven't tried yet, but you may need some of these to compile frescobaldi: > > libqt4-dev > python-qt4-dev > python-sip-dev > libpoppler-qt4-dev > libqt4-core > python-sip4-dev No need to compile frescobaldi : Just need to rebuild python-poppler-qt4 inside Mageia2 it's easy to do : just need to change the release number from 1 to 2 in the spec file of its srpm... and it's OK see bug 8034 CC:
(none) =>
philippedidier |