Comment 13 for bug 1354731

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

(In reply to Fab from comment #6)
> Created attachment 400546 [details]
> find . -name '*.py' -type f -print | xargs head -n 1
>
> Seems ok. Only *.py files in subdirs doesn't have any shebang, but I guess
> it's normal.

Looks okay!

Please check if the range function is the culprit. Change line 198 from /usr/share/hplip/base/status.py to

for p in len(range(num_pens)):

and check if this fixes the issue.

If this does not fix the issue I am out of options. If it does I still wonder why it works here.

From the upstream bug someone mentioned having the problem with Ubuntu 14.04 but with 14.10 anymore. Probably some dependency versions changed which solved the issue. Can you attach the output of hp-check to identify your the dependency versions.