Package: calibre
Version: 0.7.50+dfsg-1
Severity: normal

  Hi,

there is a problem when trying to use calibre to sanitize PDF metadata:

| $ ebook-meta file.pdf -a Author
|
| Original metadata::
|       Title               : 77
|       Author(s)           : SITX
|       Book Producer       : Adobe PageMaker 6.5
|       Tags                : 77
|       Language            : und
| Failed to set metadata for u'77'
| 
| Traceback (most recent call last):
|   File "/usr/lib/calibre/calibre/customize/ui.py", line 367, in 
set_file_type_metadata
|     plugin.set_metadata(stream, mi, ftype.lower().strip())
|   File "/usr/lib/calibre/calibre/customize/builtins.py", line 477, in 
set_metadata
|     set_metadata(stream, mi)
|   File "/usr/lib/calibre/calibre/ebooks/metadata/pdf.py", line 64, in 
set_metadata
|     return podofo_set_metadata(stream, mi)
|   File "/usr/lib/calibre/calibre/utils/podofo/__init__.py", line 107, in 
set_metadata
|     raise Unavailable(podofo_err)
| Unavailable: No module named podofo
| 
| Changed metadata::
|       Title               : 77
|       Author(s)           : SITX
|       Book Producer       : Adobe PageMaker 6.5
|       Tags                : 77
|       Language            : und

Podofo is installed like this:

| $ aptitude search podofo
|
| v   libpodofo                       -                                         
  
| i   libpodofo-dev                   - PoDoFo development files                
  
| i   libpodofo-utils                 - PoDoFo utilities                        
  
| i   libpodofo0.8.0                  - library to work with the PDF file 
format  
| i A libpodofo0.8.4                  - PoDoFo - library to work with the PDF 
file

It appears that a calibre-provided binary installation package doesn't
have this problem. Could someone be please so kind to take a look at
this issue? Thanks.

  Best regards,
                    Ondra



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages calibre depends on:
ii  calibre-bin            0.7.50+dfsg-1     e-book converter and library manag
ii  imagemagick            8:6.6.0.4-3       image manipulation programs
ii  poppler-utils          0.12.4-1.2        PDF utilitites (based on libpopple
ii  python                 2.6.6-12          interactive high-level object-orie
ii  python-beautifulsoup   3.2.0-1           error-tolerant HTML parser for Pyt
ii  python-cherrypy3       3.1.2-1           Python web development framework -
ii  python-cssutils        0.9.7~b2-2        CSS Cascading Style Sheets parser 
ii  python-dateutil        1.4.1-3           powerful extensions to the standar
ii  python-dbus            0.83.1-1          simple interprocess messaging syst
ii  python-django-tagging  0.3.1-1           A generic tagging application for 
ii  python-encutils        0.9.7~b2-2        Encoding detection collection for 
ii  python-imaging         1.1.7-2           Python Imaging Library
ii  python-lxml            2.3-0.1           pythonic binding for the libxml2 a
ii  python-mechanize       0.1.11-1.1        stateful programmatic web browsing
ii  python-pkg-resources   0.6.15-1          Package Discovery and Resource Acc
ii  python-pyparsing       1.5.2-2           Python parsing module
ii  python-pypdf           1.12-3            PDF toolkit implemented solely in 
ii  python-pythonmagick    0.9.1-3+b1        Object-oriented Python interface t
ii  python-qt4             4.8.3-2           Python bindings for Qt4
ii  python-routes          1.12.3-1          Routing Recognition and Generation
ii  ttf-liberation         1.06.0.20100721-1 Fonts with the same metrics as Tim
ii  xdg-utils              1.1.0~rc1-2       desktop integration utilities from

Versions of packages calibre recommends:
ii  python-dnspython              1.8.0-1    DNS toolkit for Python

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