Your message dated Sun, 30 Dec 2012 13:21:03 -0500
with message-id <20121230182103.ga19...@spang.cc>
and subject line Re: Bug#696825: AttributeError: 'module' object has no
attribute 'FlowImages'
has caused the Debian Bug report #696825,
regarding AttributeError: 'module' object has no attribute 'FlowImages'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
696825: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696825
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: calibre
Version: 0.9.0+dfsg-1
Severity: grave
I get the following traceback when I try starting up a fresh install of
calibre on my laptop running debian sid:
spang@shawangunk:~/share/books> calibre
(git)-[master]
/usr/lib/calibre/calibre/ebooks/metadata/opf2.py:14: RuntimeWarning:
compiletime version 2.6 of module 'lxml.etree' does not match runtime version
2.7
from lxml import etree
Traceback (most recent call last):
File "/usr/bin/calibre", line 20, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/gui2/main.py", line 400, in main
app, opts, args, actions = init_qt(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 85, in init_qt
from calibre.gui2.ui import Main
File "/usr/lib/calibre/calibre/gui2/ui.py", line 30, in <module>
from calibre.gui2.cover_flow import CoverFlowMixin
File "/usr/lib/calibre/calibre/gui2/cover_flow.py", line 23, in <module>
class EmptyImageList(pictureflow.FlowImages):
AttributeError: 'module' object has no attribute 'FlowImages'
I do wonder if it's related to the state of python in unstable right now, but
it sure does make calibre unusable.
cheers,
Christine
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (800, 'unstable'), (700, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages calibre depends on:
ii calibre-bin 0.9.0+dfsg-1
ii fonts-liberation 1.07.2-6
ii imagemagick 8:6.7.7.10-5
ii poppler-utils 0.18.4-4
ii python-beautifulsoup 3.2.1-1
ii python-chardet 2.0.1-2
ii python-cherrypy3 3.2.2-2
ii python-cssutils 0.9.10~b1-1
ii python-dateutil 1.5+dfsg-0.1
ii python-dbus 1.1.1-1
ii python-feedparser 5.1.2-1
ii python-imaging 1.1.7-4
ii python-lxml 2.3.5-1
ii python-mechanize 1:0.2.5-3
ii python-netifaces 0.8-2
ii python-pkg-resources 0.6.24-1
ii python-pyparsing 1.5.6+dfsg1-2
ii python-qt4 4.9.3-4
ii python-routes 1.13-2
ii python2.7 2.7.3-5
ii xdg-utils 1.1.0~rc1+git20111210-6
Versions of packages calibre recommends:
ii python-dnspython 1.10.0-1
calibre suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Martin,
Thanks for the debugging help.
spang@shawangunk:~> python -c 'from lxml import etree'
-c:1: RuntimeWarning: compiletime version 2.6 of module 'lxml.etree'
does not match runtime version 2.7
spang@shawangunk:~> which python
/usr/bin/python
spang@shawangunk:~> python --version
Python 2.7.3
spang@shawangunk:~> python -c 'import lxml; print lxml.__file__'
/usr/lib/python2.6/dist-packages/lxml/__init__.py
I don't really understand what would cause python to be loading the 2.6
version rather than the 2.7 version, but the problem seems to be local
to just my user on this system. A clean test user doesn't have the same
problem. So it must be something in my user's environment.
So, my $PYTHONPATH contains /home/spang/lib/python, which seems to be
causing the problem.
spang@shawangunk:~/lib/python> cat setuptools.pth
/usr/lib/python2.6/dist-packages
I don't know how that ended up there, but that's definitely it.
Phew. Anyway, thanks for the debugging help and sorry for the noise.
I'll close this bug now.
cheers,
Christine
On Sun, Dec 30, 2012 at 11:26:13AM +0100, Martin Pitt wrote:
> Hello Christine,
>
> Christine Spang [2012-12-28 17:11 -0500]:
> > Nope, that doesn't help.
>
> OK, thanks for trying.
>
> > Do you get the RuntimeWarning about version 2.6 when you try to reproduce?
>
> No, I don't. The RuntimeWarning and the AttributeError seem to belong
> together, i. e. the symbol isn't available in the previous version.
>
> In either case this doesn't seem to be a calibre problem. Do you get
> the same warning if you simply do
>
> python -c 'from lxml import etree'
>
> ?
>
> Can you please give me the output of
>
> which python
> python --version
> python -c 'import lxml; print lxml.__file__'
>
> Thanks!
>
> Martin
> --
> Martin Pitt | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- End Message ---