View Single Post
Old 08-22-2014, 06:29 AM   #1
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
V2 new error : pyqt4

On trying to install:
Code:
hairybiker@duo:~$ get_calibre
2014-08-22 11:18:46 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25619/25619] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-2.0.0-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files... 
Failed to unpickle stored object:
Traceback (most recent call last):
  File "site-packages/calibre/utils/config.py", line 215, in refresh
ImportError: ('No module named PyQt4.QtCore', <built-in function _unpickle_type>, ('PyQt4.QtCore', 'QByteArray', ('\x01\xd9\xd0\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x002\x00\x00\x05\x9f\x00\x00\x03\x82\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xfe\xff\xff\xff\xfe\x00\x00\x00\x00\x02\x00',)))
Creating symlinks...
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
It seems to install but opening it gives errors again

Code:
hairybiker@duo:~$ calibre
Failed to unpickle stored object:
Traceback (most recent call last):
  File "site-packages/calibre/utils/config.py", line 215, in refresh
ImportError: ('No module named PyQt4.QtCore', <built-in function _unpickle_type>, ('PyQt4.QtCore', 'QByteArray', ('\x01\xd9\xd0\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x002\x00\x00\x05\x9f\x00\x00\x03\x82\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xfe\xff\xff\xff\xfe\x00\x00\x00\x00\x02\x00',)))
Traceback (most recent call last):
  File "site-packages/calibre/gui2/ui.py", line 163, in __init__
  File "site-packages/calibre/gui2/ui.py", line 177, in init_iaction
  File "site-packages/calibre/customize/__init__.py", line 582, in load_actual_plugin
  File "importlib/__init__.py", line 37, in import_module
  File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
  File "calibre_plugins.ebook_cleaner.ui", line 11, in <module>
  File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
  File "calibre_plugins.ebook_cleaner.main", line 14, in <module>
ImportError: No module named PyQt4
But it IS installed
Code:
hairybiker@duo:~$ sudo apt-get install python-qt4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-qt4 is already the newest version.
So is it a version conflict ?
hairybiker is offline   Reply With Quote