View Single Post
Old 10-02-2008, 08:02 AM   #1
alexxxm
Addict
alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.
 
Posts: 205
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
upgrade failed - but not python-lxml fault

I saw similar problems in a previous post, but your suggestion that the fault comes from python-lxml < 2.0.5 suggests my problem is different: I'm on Fedora fc8, and I have python-lxml-2.0.7-1.fc8 installed.

During install:
Code:
...
Setting up bash completion... failed
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/linux.py", line 176, in setup_completion
  File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/comic/convert_from.py", line 21, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/epub/__init__.py", line 13, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/html.py", line 16, in <module>
  File "/usr/lib/python2.5/site-packages/lxml/html/soupparser.py", line 7, in <module>
    from BeautifulSoup import \
ImportError: No module named BeautifulSoup
Traceback (most recent call last):
  File "/usr/bin/calibre_postinstall", line 8, in <module>
    load_entry_point('calibre==0.4.89', 'console_scripts', 'calibre_postinstall')()
  File "build/bdist.linux-i686/egg/calibre/linux.py", line 430, in post_install
  File "build/bdist.linux-i686/egg/calibre/linux.py", line 304, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
and trying to run it:
Code:
[root@lambda2 mnt]# calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 8, in <module>
    load_entry_point('calibre==0.4.89', 'gui_scripts', 'calibre')()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 277, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2179, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1912, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-i686/egg/calibre/gui2/main.py", line 37, in <module>
  File "build/bdist.linux-i686/egg/calibre/gui2/tools.py", line 14, in <module>
  File "build/bdist.linux-i686/egg/calibre/gui2/dialogs/epub.py", line 16, in <module>
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 13, in <module>
    
  File "build/bdist.linux-i686/egg/calibre/ebooks/html.py", line 16, in <module>
  File "/usr/lib/python2.5/site-packages/lxml/html/soupparser.py", line 7, in <module>
    from BeautifulSoup import \
ImportError: No module named BeautifulSoup
any idea about it?


alessandro
alexxxm is offline   Reply With Quote