Your message dated Sat, 19 Jan 2013 18:32:31 +0000
with message-id <[email protected]>
and subject line Bug#674838: fixed in calibre 0.8.51+dfsg1-0.1
has caused the Debian Bug report #674838,
regarding calibre: fonts-liberation path changed and the symbolic link is broken
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 [email protected]
immediately.)


-- 
674838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: calibre
Version: 0.8.51+dfsg-1
Severity: normal

Hi,

In /usr/lib/calibre/calibre/ebooks/__init__.py it uses hard coded font path:

   234      fp = tweaks['generate_cover_title_font']
   235      if not fp:
   236          fp = P('fonts/liberation/LiberationSerif-Bold.ttf')
   237      font_path = default_font = fp

Which resolved to /usr/share/calibre/fonts/liberation/LiberationSerif-Bold.ttf

and /usr/share/calibre/fonts/liberation is pointed to
../../fonts/truetype/ttf-liberation/

but fonts-liberation package has changed the path, s/ttf-// ,
therefore calibre cannot find the font file.

   Creating AZW3 Output...
   Serializing resources...
   Traceback (most recent call last):
     File "/usr/bin/calibre-parallel", line 19, in <module>
       sys.exit(main())
     File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 191, in main
       result = func(*args, **kwargs)
     File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, 
in gui_convert
       plumber.run()
     File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1109, 
in run
       self.opts, self.log)
     File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_output.py", 
line 288, in convert
       add_fonts=True, process_images=False)
     File "/usr/lib/calibre/calibre/ebooks/mobi/writer2/resources.py", line 36, 
in __init__
       self.add_resources(add_fonts)
     File "/usr/lib/calibre/calibre/ebooks/mobi/writer2/resources.py", line 58, 
in add_resources
       data = generate_masthead(unicode(self.oeb.metadata['title'][0]))
     File "/usr/lib/calibre/calibre/ebooks/__init__.py", line 262, in 
generate_masthead
       font = ImageFont.truetype(default_font, 48, encoding='unic')
     File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 218, in 
truetype
       return FreeTypeFont(filename, size, index, encoding)
     File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 134, in 
__init__
       self.font = core.getfont(file, size, index, encoding)
   IOError: cannot open resource

Kanru

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

Kernel: Linux 3.3.0-rc6-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.8.51+dfsg-1
ii  fonts-liberation [ttf-liberation]  1.07.2-2
ii  imagemagick                        8:6.7.4.0-5
ii  poppler-utils                      0.16.7-3
ii  python-beautifulsoup               3.2.0-2
ii  python-chardet                     2.0.1-2
ii  python-cherrypy3                   3.2.2-2
ii  python-cssutils                    0.9.9-1
ii  python-dateutil                    1.5-1
ii  python-dbus                        1.1.0-1
ii  python-feedparser                  5.0.1-1
ii  python-imaging                     1.1.7-4
ii  python-lxml                        2.3.2-1
ii  python-mechanize                   1:0.2.5-2
ii  python-pkg-resources               0.6.24-1
ii  python-pyparsing                   1.5.6+dfsg1-1
ii  python-qt4                         4.9.1-5
ii  python-routes                      1.13-1
ii  python2.7                          2.7.3~rc2-2.1
ii  xdg-utils                          1.1.0~rc1+git20111210-6

Versions of packages calibre recommends:
ii  python-dnspython  1.9.4-1

calibre suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: calibre
Source-Version: 0.8.51+dfsg1-0.1

We believe that the bug you reported is fixed in the latest version of
calibre, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated calibre package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 09 Jan 2013 08:12:30 +0100
Source: calibre
Binary: calibre calibre-bin
Architecture: source all i386
Version: 0.8.51+dfsg1-0.1
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Miriam Ruiz <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Description: 
 calibre    - e-book converter and library management
 calibre-bin - e-book converter and library management
Closes: 653328 674838 678686
Changes: 
 calibre (0.8.51+dfsg1-0.1) testing-proposed-updates; urgency=low
 .
   * Non-maintainer upload.
 .
   [ Arno Töll ]
   * Remove quick_start.epub from the tarball, do not install said file to the
     calibre binary package. See #653328 for background. Upstream version
     0.8.64 includes this file with a changed license again, so no change is
     needed with respect to Debian. (Closes: #653328)
 .
   [ Martin Pitt ]
   * debian/control: Fix "upports" typo. (Closes: #678686)
   * debian/control, debian/rules: ttf-liberation is no more, move to
     fonts-liberation. Thanks to Kan-Ru Chen! (Closes: #674838)
Checksums-Sha1: 
 a3ba5a9df1e1216cbc57c9354a93a9de4ec4676d 2400 calibre_0.8.51+dfsg1-0.1.dsc
 61745d900cf2eaeefce9b4552646d4b07ae17163 24099500 
calibre_0.8.51+dfsg1.orig.tar.xz
 7b1c9ab19304ff6a4cd2fd5b74772c7b33df5486 21689 
calibre_0.8.51+dfsg1-0.1.debian.tar.gz
 c33d70ce28dbdfb54f91e2a4474b5dce91b57d86 15511808 
calibre_0.8.51+dfsg1-0.1_all.deb
 e19addfa896627857c4c6fe64023536fb5919051 207082 
calibre-bin_0.8.51+dfsg1-0.1_i386.deb
Checksums-Sha256: 
 61cc6df80aa67fca9ebbea954afc52087bcc6a52fd5178a9b7f70a594bd05d67 2400 
calibre_0.8.51+dfsg1-0.1.dsc
 28a82da0f2fb8144819d1526dbebc026c7a9025a9b96671d755486d3a3dfd1ae 24099500 
calibre_0.8.51+dfsg1.orig.tar.xz
 4e9858fbefe390300c88f35036f61ba24885dffc3f1d611a680a8ae337830acf 21689 
calibre_0.8.51+dfsg1-0.1.debian.tar.gz
 a7d96e329ca55fe1297d16d468c769c09d016f1661a45bfcc022fd950be97f4c 15511808 
calibre_0.8.51+dfsg1-0.1_all.deb
 449cd8ce6d8266b6a68179fed62e7dad41de3c26038d364c3becc08c97c21be0 207082 
calibre-bin_0.8.51+dfsg1-0.1_i386.deb
Files: 
 1d667cb925e9098d853211cd27def26c 2400 text extra calibre_0.8.51+dfsg1-0.1.dsc
 8d0c3457564fa9e58001bc1f42308450 24099500 text extra 
calibre_0.8.51+dfsg1.orig.tar.xz
 4d074f95e42ab5e9b0e1863b8cf2976d 21689 text extra 
calibre_0.8.51+dfsg1-0.1.debian.tar.gz
 d5349c1534de197d2c9617d1b616dcbd 15511808 text extra 
calibre_0.8.51+dfsg1-0.1_all.deb
 5e5b9cf69f0131fbdee4d4846ea1b713 207082 text extra 
calibre-bin_0.8.51+dfsg1-0.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUPrD7ocvcCxNbiWoAQJmng/6AlBqxTGQZL9DFcg8fXFSxxgTWuF2z1Sn
WjsgUYW/3XbxykHXNGjhuDZHcXIY+YeGJYjXdSuuHQA0griOdjDJC6oJlk8zd+yE
FAt8isADC/EomMNOT/XdwQygHVe2e71uSuoY2auJ1v6WThQlQ63KbZRE3jHECXa1
QaUENjFzkv0m+oGIwMMh+CvvCUBRogo5PmDTuJ3kESTySFRFj8yz1rcOgdLZ1/4z
+KTrWkzTELXKjd2Pz1JX4gwPf5wqW4nf+W4eHvfMeAf/DdKoQzb+y3cB5lhBC8jJ
/DEGRt1pt71MKGai91qlW24pAsXAutfuyBJXQ1s679+9eWvv4FJ3waqCtcdq5swi
LVkjcFQnSN/ZtZ/ONESCafL1jEOmWRvAnA2SSSGgMl+j7gShdnGq5aiLyL1zoxgR
EMtBXOK210zk9EZDY5gz4lsGFEam6xH5lC0jYG9maPJMK7mzCtXMP4gT+TIF2Vrz
8lyDz/9w12OIdp+jwp0KRAb6lR+pkHMg1Q3B0nr7XHIVEBcDkWNXLPZMpTHigPE8
4qzPXKhyeEnkH8PBWOCkmlXmdzR9RTqsM1vGrthE3Re3ZMeAyU0HxXw6BDTTC657
ZjGB/YcdecC2eDFT4vBuX4Av0cciGSCidPn25e7CI1mw8q9FKTZyWpqR5ly0IHrp
ZCGfj5+KtCk=
=rrPb
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to