[Pkg-hpijs-devel] Bug#635486: [hplip] Unable to load CUPSEXT
Olivier Berger
oberger at ouvaton.org
Tue Oct 23 20:17:03 UTC 2012
On Tue, Sep 20, 2011 at 10:24:22PM +0200, Sebastian Ramacher wrote:
> tag 635486 + moreinfo
> thanks
>
> Seems like the module cupsext can't be loaded. Could you try to run import
> cupsext in python directly (i.e python -c 'import cupsext')?
>
> If that fails too could you also run python -c 'import sys; print sys.path'?
>
Just in case, if that doesn't fail, the following in python should provide more details :
$ python
>>> import cupsext
>>> dir(cupsext)
['Job', 'Printer', '__doc__', '__file__', '__name__', '__package__', 'addOption', 'addPrinter', 'cancelJob', 'closePPD', 'controlPrinter', 'delPrinter', 'findPPDAttribute', 'getChoice', 'getChoiceList', 'getDefaultPrinter', 'getGroup', 'getGroupList', 'getJobs', 'getOption', 'getOptionList', 'getOptions', 'getPPD', 'getPPDList', 'getPPDOption', 'getPPDPageSize', 'getPassword', 'getPrinters', 'getServer', 'getVersion', 'getVersionTuple', 'openPPD', 'printFileWithOptions', 'removeOption', 'resetOptions', 'setDefaultPrinter', 'setOptions', 'setPasswordCallback', 'setPasswordPrompt', 'setServer']
>>> print cupsext.__file__
/usr/lib/python2.7/dist-packages/cupsext.so
>>>
$ dpkg -S /usr/lib/python2.7/dist-packages/cupsext.so
hplip: /usr/lib/python2.7/dist-packages/cupsext.so
YMMV of course.
Just my 2 cents in case it helps.
Best regards,
--
Olivier BERGER
(OpenPGP: 4096R/7C5BB6A5)
http://www.olivierberger.com/weblog/
More information about the Pkg-hpijs-devel
mailing list