You are not logged in.
Hi there
After hearing some really good things about calibre I have just installed it from AUR, however when i try to run it i'm getting some error messages that I can't find the answers to despite spending several hours searching these forums and google.
the error messages that i'm getting are the following
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/gui2/main.py", line 363, in main
gui_debug=gui_debug)
File "/usr/lib/calibre/calibre/gui2/main.py", line 258, in run_gui
wizard().exec_()
File "/usr/lib/calibre/calibre/gui2/wizard/__init__.py", line 913, in wizard
w = Wizard(parent)
File "/usr/lib/calibre/calibre/gui2/wizard/__init__.py", line 859, in __init__
self.library_page = LibraryPage()
File "/usr/lib/calibre/calibre/gui2/wizard/__init__.py", line 659, in __init__
self.init_languages()
File "/usr/lib/calibre/calibre/gui2/wizard/__init__.py", line 682, in init_languages
if l != lang]
File "/usr/lib/calibre/calibre/gui2/wizard/__init__.py", line 678, in get_esc_lang
return get_language(l)
File "/usr/lib/calibre/calibre/utils/localization.py", line 196, in get_language
iso639 = _load_iso639()
File "/usr/lib/calibre/calibre/utils/localization.py", line 185, in _load_iso639
with open(ip, 'rb') as f:
IOError: [Errno 2] No such file or directory: '/usr/share/calibre/localization/iso639.pickle'I don't know what else to say other than the system was fully updated before i started to install it, I used makepkg to install it, there is as far as i know nothing unusual about my machine or setup.
thanks for any help that can be offered
Mike
Offline
I should add that i read that i should run Run
python setup.py iso639to generate the pickle file.
however that produces the error
python: can't open file 'setup.py': [Errno 2] No such file or directoryOffline
right I messed the last post up slightly as I was in the wrong directory!
however when i go into ~/aur/calibre-bzr/src/calibre and run python setup.py iso639
the error i'm now getting is
python setup.py iso639
File "setup.py", line 43
print 'Usage: python', args[0], 'command', '[options]'
^
SyntaxError: invalid syntaxHalf the problem is that I don't know if working in the right direction here as i'm totally at a loss
Offline
Offline
whoops,
I thought I checked the repos!
sorry about *blushes*
Last edited by 2k (2012-03-22 17:29:56)
Offline
I'm also having issues with Calibre, in this case with lxml.
~ >> calibre ArchLinux
Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/gui2/main.py", line 18, in <module>
from calibre.library.database2 import LibraryDatabase2
File "/usr/lib/calibre/calibre/library/database2.py", line 19, in <module>
from calibre.ebooks.metadata.opf2 import metadata_to_opf
File "/usr/lib/calibre/calibre/ebooks/metadata/opf2.py", line 14, in <module>
from lxml import etree
ImportError: No module named lxmlOffline
2k is your issue fixed?
arguser try modprobe lxml?
Offline
aking9 I think this is related with a python module, not system. I have python-lxml and python2-lxml installed but something is wrong, somewhere.
[SOLVED]
Got Calibre's today upgrade, re-installed python2-lxml and that's it!
Last edited by arguser (2012-03-23 15:51:14)
Offline