Hide Forgot
Description of problem: Everytime try to start calibre count an "Segment Fault" error Version-Release number of selected component (if applicable): calibre-0.8.25-1.fc16.i686 How reproducible: Just start it Steps to Reproduce: 1. open a terminal 2. type calibre 3. boom~~ Actual results: Expected results: Additional info: I try using python -m pdb to trace the error . It maybe releate to PyQt4 module. Because when execute the import function as the line 7 below, it's produce the error: > /usr/lib/calibre/calibre/gui2/__init__.py(1)<module>() -> __license__ = 'GPL v3' (Pdb) l 1 B-> __license__ = 'GPL v3' 2 __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' 3 """ The GUI """ 4 import os, sys, Queue, threading 5 from threading import RLock 6 from urllib import unquote 7 from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt,
output of: rpm -q PyQt4 and rpm -V PyQt4 please?
rpm -q PyQt4 PyQt4-4.8.6-1.fc16.i686 rpm -V PyQt4 no output at all~ It seemed my package is ok.
Can you run: calibre-debug -g and attach the output? Also, can you create a new user, login as them and run calibre. Does it work there? (That will tell us if it's a system wide issue or a per user setting issue).
It seemed the error changed since I update to calibre-0.8.33-2.fc16.i686: $ calibre-debug -g Segmentation fault $ calibre-debug Traceback (most recent call last): File "/usr/bin/calibre-debug", line 19, in <module> sys.exit(main()) File "/usr/lib/calibre/calibre/debug.py", line 242, in main ipython() File "/usr/lib/calibre/calibre/__init__.py", line 763, in ipython from IPython.Shell import IPShellEmbed ImportError: No module named Shell ================== I create a new user as you request, but still got the same error.
OK, I'm wrong, it seemed still there: > /usr/lib/calibre/calibre/gui2/__init__.py(7)<module>() -> from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt, (Pdb) l 2 __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' 3 """ The GUI """ 4 import os, sys, Queue, threading 5 from threading import RLock 6 from urllib import unquote 7 B-> from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt, 8 QByteArray, QTranslator, QCoreApplication, QThread, 9 QEvent, QTimer, pyqtSignal, QDateTime, QDesktopServices, 10 QFileDialog, QFileIconProvider, QSettings, 11 QIcon, QApplication, QDialog, QUrl, QFont) 12 (Pdb)
this combination works for me: $ rpm -q calibre qt sip PyQt4 calibre-0.8.33-2.fc16.x86_64 qt-4.8.0-7.fc16.x86_64 qt-4.8.0-7.fc16.i686 sip-4.13-1.fc16.x86_64 PyQt4-4.8.6-1.fc16.x86_64 can you verify the versions of all these on your system too?
minimal test case, try: python -c 'from PyQt4.Qt import *' does that give error too?
Thanks for your quick reply! $rpm -q calibre qt sip PyQt4 calibre-0.8.33-2.fc16.i686 qt-4.8.0-5.fc16.i686 sip-4.13-1.fc16.i686 PyQt4-4.8.6-1.fc16.i686 ================================ $ python -c 'from PyQt4.Qt import *' Segmentation fault ok, it seemed just exist in x86 build of fedora 16~
OK, definitely, PyQt4 specific, reassigning.
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.