Dear Henrique, it seems to me, that this is a problem due to the PYTHONPATH environment.
As we are calling hp-sendfax from /usr/bin/hp-sendfax it's reference is to /usr/lib/hplip because there is the initial __init.py__ The first error can be resolved by linking (remember the modules in python must be under the same top level directory) First Step: sudo ln -s /usr/share/pycentral/python-xml/site-packages/_xmlplus /usr/lib/hplip/xml Then the first error not to find the xml-parser is gone. The next error is: Traceback (most recent call last): File "/usr/bin/hp-sendfax", line 37, in ? import base.async_qt as async File "/usr/lib/hplip/base/async_qt.py", line 81, in ? from qt import * ImportError: /usr/lib/python2.4/site-packages/qt.so: undefined symbol: Py_InitModule4 [13968 refs] Remembering the online doc for python, we have now the problem, that we have two toplevel dirs for python in this case. a.) /usr/share/pycentral b.) /usr/lib/python2.4 In my opinion the python maintainers should store their site-specific / system scripts only under one dir or have to make links against the other ones --> Now I am in the camp of those, who don't know how (and want) to go on. By the way: first 3 lines in my hp-sendfax: with eeasy dbg support. ###################### #!/usr/bin/env python-dbg # -*- coding: utf-8 -*- # ###################### I hope, this will help you. Cheers -- Wolfgang Schnitker
pgp3Ph0swEWrU.pgp
Description: PGP signature