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

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

Hi,

I also encountered this problem. I used gdb to attach the running
process, found it kept looping in the function EditorWidget.fset in
the file /usr/lib/calibre/calibre/gui2/comments_editor.py, line 257

    def fset(self, val):
        self.setHtml(val)
        f = QFontInfo(QApplication.font(self)).pixelSize()
        style = 'font-size: %dpx;' % (f,)

        for body in self.page().mainFrame().documentElement().findAll('body'):
            body.setAttribute('style', style)
        self.page().setContentEditable(True)

If I remove the suspicious parts, the metadata editor does not freeze
again.

#kanru

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

Kernel: Linux 2.6.37-trunk-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.42+dfsg-1     e-book converter and library manag
ii  imagemagick            8:6.6.0.4-3       image manipulation programs
ii  python                 2.6.6-3+squeeze5  interactive high-level object-orie
ii  python-beautifulsoup   3.1.0.1-2         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.2.8-2           pythonic binding for the libxml2 a
ii  python-mechanize       0.1.11-1.1        stateful programmatic web browsing
ii  python-pkg-resources   0.6.14-4          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.7.3-1+b1        Python bindings for Qt4
ii  python-routes          1.12.3-1          Routing Recognition and Generation
ii  ttf-liberation         1.05.2.20091019-4 Fonts with the same metrics as Tim
ii  xdg-utils              1.1.0~rc1-1       desktop integration utilities from

Versions of packages calibre recommends:
pn  python-dnspython              <none>     (no description available)

calibre suggests no packages.

- -- no debconf information

- -- debsums errors found:
debsums: changed file /usr/lib/calibre/calibre/gui2/comments_editor.py (from 
calibre package)

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

iEYEARECAAYFAk1EC4sACgkQsbdbXzZcx6IvcQCg2tAxpQdG84s+XfNq96SA+Vfk
/uUAn1VnEAqKOJaVAZzYA/SYjYeGmPzK
=7NUj
-----END PGP SIGNATURE-----



-- 
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