FS#45358 - hplip: ImportError: No module named 'cupsext'

Attached to Project: Arch Linux
Opened by Fritz Reichwald (V155) - Wednesday, 17 June 2015, 04:19 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 16 November 2016, 16:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Trying to use hplip-3.15.6-1
Installed it via pacman from the official repos
Installed _all_ optdepends but getting:

Traceback (most recent call last):
File "/usr/bin/hp-scan", line 44, in <module>
from base import tui, device, module, utils, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 33, in <module>
import cupsext
ImportError: No module named 'cupsext'

when for example starting hp-scan or hp-toolbox

Loaded hplip-3.14.10-1-x86_64.pkg.tar.xz via Arch Rollback Machine and was wondering that the deps are python2 and not python with this one.
And this one works.

Im on x86_64 and recent package versions

Kind Regards
Fritz

Steps to reproduce:

Install hplip and try to start hp-scan or hp-toolbox
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 16 November 2016, 16:00 GMT
Reason for closing:  Works for me
Additional comments about closing:  it was a user setup error
Comment by Andreas Radke (AndyRTR) - Wednesday, 17 June 2015, 14:43 GMT
Please run "hp-check" and look out for missing packages.
Comment by Fritz Reichwald (V155) - Wednesday, 17 June 2015, 14:45 GMT
[~] hp-check
warning: CUPSEXT could not be loaded. Please check HPLIP installation.
[~]

There is no missing package. I installed all the optdepends
Comment by Lasse Schuirmann (sils) - Wednesday, 16 November 2016, 14:12 GMT
  • Field changed: Percent Complete (100% → 0%)
Same issue for me. As per response of the user he doesn't seem to have a missing package.
Comment by Lasse Schuirmann (sils) - Wednesday, 16 November 2016, 14:13 GMT
> Loaded hplip-3.14.10-1-x86_64.pkg.tar.xz via Arch Rollback Machine and was wondering that the deps are python2 and not python with this one.

Didn't work for me as a workaround.
Comment by Doug Newgard (Scimmia) - Wednesday, 16 November 2016, 15:51 GMT
sils, what is the output of "python -V"?
Comment by Lasse Schuirmann (sils) - Wednesday, 16 November 2016, 15:53 GMT
Python 3.5.2
Comment by Lasse Schuirmann (sils) - Wednesday, 16 November 2016, 15:55 GMT
Holy, I was in a virtualenv, exiting out seems to do the job. (After doing the downgrade thing) So maybe this is a user setup thing after all.

Loading...