Hi kovid,
I am having some trouble with the latest version. I upgraded as my previous version 0.4.88 decided to stop running as well. It was only after building the newest version that I realized my system had updated to Python 2.6 and that this may be cause of both versions not running. Here is the output I am getting from console, this is on Linux btw.
Code:
/usr/lib/python2.6/site-packages/mechanize/_auth.py:14: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import re, base64, urlparse, posixpath, md5, os, random, sha, time, copy
/usr/lib/python2.6/site-packages/mechanize/_auth.py:14: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import re, base64, urlparse, posixpath, md5, os, random, sha, time, copy
/usr/lib/python2.6/site-packages/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
Traceback (most recent call last):
File "/usr/bin/calibre", line 8, in <module>
load_entry_point('calibre==0.4.109', 'gui_scripts', 'calibre')()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 277, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2180, in load_entry_point
return ep.load()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1913, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.6/site-packages/calibre/gui2/main.py", line 26, in <module>
from calibre.library.database import LibraryDatabase
File "/usr/lib/python2.6/site-packages/calibre/library/database.py", line 15, in <module>
from calibre.web.feeds.recipes import migrate_automatic_profile_to_automatic_recipe
File "/usr/lib/python2.6/site-packages/calibre/web/feeds/recipes/__init__.py", line 23, in <module>
from calibre.ebooks.lrf.web.profiles import DefaultProfile, FullContentProfile
File "/usr/lib/python2.6/site-packages/calibre/ebooks/lrf/web/__init__.py", line 26, in <module>
from calibre.ebooks.lrf.web.profiles.nasa import NASA
File "/usr/lib/python2.6/site-packages/calibre/ebooks/lrf/web/profiles/nasa.py", line 33, in <module>
class NASA(DefaultProfile):
File "/usr/lib/python2.6/site-packages/calibre/ebooks/lrf/web/profiles/nasa.py", line 64, in NASA
(re.compile(r'<div id="download_image_box_print">.*?<div id="caption_region_print">', re.IGNORECASE | re.DOTALL), lambda match : '<New Stuff>'),
File "/usr/lib/python2.6/re.py", line 188, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.6/re.py", line 236, in _compile
raise ValueError('Cannot process flags argument with a compiled pattern')
ValueError: Cannot process flags argument with a compiled pattern
Any ideas? Is calibre able to run with Python 2.6?
Thanks kovid,
Kevin