Package: calibre
Version: 0.7.7+dfsg-1squeeze1
Severity: normal

Hello,
   
calibre doesn't start up when an unrelated *.po file exists in the users   
home directory.

chris@mymachine:~$ calibre -v
Traceback (most recent call last):
  File "/usr/bin/calibre", line 18, in <module>
    from calibre.gui2.main import main
  File "/usr/lib/calibre/calibre/__init__.py", line 16, in <module>
    from calibre.startup import plugins, winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 52, in <module>
    set_translators()
  File "/usr/lib/calibre/calibre/utils/localization.py", line 72, in
set_translators
    make(lang+'.po', buf)
  File "/usr/lib/calibre/calibre/translations/msgfmt.py", line 129, in make
    l = eval(l)
  File "<string>", line 1
    _plural "Treasury contains %d gold."
                                      ^ 
SyntaxError: invalid syntax

In /usr/lib/calibre/calibre/translations/msgfmt.py

128         # XXX: Does this always follow Python escape semantics?
129         l = eval(l)

When I remove the de.po file, calibre works.

Christian


-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calibre depends on:
ii  calibre-bin    0.7.7+dfsg-1squeeze1      e-book converter and library manag
ii  imagemagick    8:6.6.0.4-3               image manipulation programs
ii  python         2.6.6-3+squeeze6          interactive high-level object-orie
ii  python-beautif 3.1.0.1-2                 error-tolerant HTML parser for Pyt
ii  python-cherryp 3.1.2-1                   Python web development framework -
ii  python-cssutil 0.9.7~b2-2                CSS Cascading Style Sheets parser 
ii  python-dateuti 1.4.1-3                   powerful extensions to the standar
ii  python-dbus    0.83.1-1                  simple interprocess messaging syst
ii  python-django- 0.3.1-1                   A generic tagging application for 
ii  python-encutil 0.9.7~b2-2                Encoding detection collection for 
ii  python-imaging 1.1.7-2                   Python Imaging Library
ii  python-lxml    2.2.8-2                   pythonic binding for the libxml2 a
ii  python-mechani 0.1.11-1.1                stateful programmatic web browsing
ii  python-pkg-res 0.6.14-4                  Package Discovery and Resource Acc
ii  python-pypdf   1.12-3                    PDF toolkit implemented solely in 
ii  python-qt4     4.7.3-1+b1                Python bindings for Qt4
ii  python2.6      2.6.6-8+b1                An interactive high-level object-o
ii  ttf-liberation 1.05.2.20091019-4squeeze1 Fonts with the same metrics as Tim
ii  xdg-utils      1.0.2+cvs20100307-2       desktop integration utilities from

calibre recommends no packages.

calibre suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to