Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4328 - PyQT (and/or SIP) broken
|
DetailsAfter latest update to pyqt 3.16-1, sip 4.4-1 (and also qt 3.3.6-2, but I think this bug is not related to Qt), my Python/PyQT programs doesn't work anymore. If I call for example QWidgetFactory.create("form.ui") from qtui module, I get SIGSEGV and Python is killed.
From gdb I get this: (no debugging symbols found) ..... ..... (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211967808 (LWP 19040)] 0xb7f92531 in initsip () from /usr/lib/python2.4/site-packages/sip.so So I think this is caused by SIP, but it can be also PyQT. Also Eric3 (Python IDE written in PyQT) now doesn't work ok (integrated interactive Python console and debugging isn't working), maybe this is also related. |
This task depends upon
sorry i don't use those programs and only package them so it depends on you how fast this is solved.
But there is still that problem with SIP/PyQT, all my programs which uses QWidgetFactory are giving me SIGSEGV.
But Phil Thompson (PyQT / SIP developer) suspect compiler (GCC 4.0.3)...
On Tuesday 04 April 2006 5:58 pm, you wrote:
> On Tue, 4 Apr 2006 at 15:46:08, Phil Thompson wrote:
> > I'd suspect the compiler - search this list for problems with it.
>
> I have tried to search this list archives, but I have failed to find
> something which seems to be relevant to this problem. Please can you tell
> me what I should try to recompile to resolve this problem or find where the
> bug is? Or where some similar problem was discussed?
I can't diagnose a problem with your system. Google, or ask more specific
questions on the mailing list, or your distro's support.
Phil
So now I am really lost :-/ Google was first thing I have tried...
./form.py: line 1: from: command not found
./form.py: line 2: from: command not found
./form.py: line 5: syntax error near unexpected token `('
./form.py: line 5: `class MyUI(QMainWindow):'
perhaps python needs a rebuild with new gcc, don't know
running python form.py gave me a segmentation fault
- QWidget
Fix right-to-left widget gravity bug.
perhaps sip needs changes for new qt.
It worked for me with sip 4.4.4 and i had to re-generate the ui code with:
pyuic form.ui -x > form.py
After that, i did a python form.py and it worked again.