Package: python-qt4-doc
Version: 4.9-2
Severity: minor
Tags: patch

I try to execute the webkit example fancybrowser.

$ python 
/usr/share/doc/python-qt4-doc/examples/webkit/fancybrowser/fancybrowser.py 
Traceback (most recent call last):
  File 
"/usr/share/doc/python-qt4-doc/examples/webkit/fancybrowser/fancybrowser.py", 
line 46, in <module>
    import jquery_rc
ImportError: No module named jquery_rc

when uncommenting the import statement (see diff attached), the web browser 
works well.

Cheers, Achim

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-0.bpo.1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_NZ.utf8, LC_CTYPE=en_NZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4-doc depends on:
ii  libjs-jquery  1.7.1-1

python-qt4-doc recommends no packages.

Versions of packages python-qt4-doc suggests:
pn  qt4-doc  <none>

-- no debconf information
--- /usr/share/doc/python-qt4-doc/examples/webkit/fancybrowser/fancybrowser.py	2011-12-22 22:22:57.000000000 +1300
+++ fancybrowser/fancybrowser.py	2012-02-09 21:57:11.000000000 +1300
@@ -43,7 +43,7 @@
 
 from PyQt4 import QtCore, QtGui, QtNetwork, QtWebKit
 
-import jquery_rc
+#import jquery_rc
 
 
 class MainWindow(QtGui.QMainWindow):

Reply via email to