Hi,
I spent time on this bug to understand what and what-elses… This work resulted
in two patches fixing the "cannot import name options" [0] and a runtime error
I had [1].
[0] http://svn.debian.org/wsvn/pkg-kde/trunk/packages/kdeadmin/debian/patches/01_system_config_printer_kde_cupsutils.diff
[1] http://svn.debian.org/wsvn/pkg-kde/trunk/packages/kdeadmin/debian/patches/03_fix_runtime_fail_type_mismatch.diff
What I understood so far is that kde4.py file from python-kde4 [2] is not
loaded by the system-config-printer-kde, where it should (obviously). A
possibility was to patch s-c-p-k to get rid of what needed python-kde4, but it
is an obviously broken solution. Finally, I found the necessary trick to make
s-c-p-k work :
# ln -sf /usr/lib/pymodules/python2.5/PyQt4/uic/widget-plugins/kde4.py /usr/share/python-qt4/widget-plugins/
# ln -sf /usr/lib/pymodules/python2.5/PyQt4/uic/widget-plugins/kde4.pyc /usr/share/python-qt4/widget-plugins/
[2] python-kde4: /usr/share/pyshared/PyQt4/uic/widget-plugins/kde4.py
My guess is that python-qt4 has a path problem and should be able to catch
those kde4.py{,c} files where they are. Does this mean that this (RC) bug
should be reassigned to python-qt4 ?
Best regards,
OdyX
--
Didier Raboud, proud Debian user.
CH-1802 Corseaux
didier@raboud.com
Attachment:
signature.asc
Description: This is a digitally signed message part.