You are not logged in.
Please advise how to change python3 to point to python2 to eliminate the setup error in hp-setup.
The /usr/bin/hp-setup is reported to have a syntax error on line 112.
I assume this is caused by the python3 change.
Moderator: Changed title so to avoid confusion. The title said closed, but the thread is really still open.
Last edited by lilsirecho (2011-01-08 00:49:40)
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Update your system should fix it... An up-to-date version of that file has "#!/usr/bin/env python2" so works.
Offline
Which file are you referring to?
Is it HPLIP or what?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Which file are you referring to?
Umm...
The /usr/bin/hp-setup is reported to have a syntax error on line 112.
that file...
Offline
I assume that file is generated by HPLIP which is a PKGBUILD.
I generated that recently.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
hp-setup is an executable provided by the hplip package. The hplip package depends on python2. Update your system, and all will be well.
Offline
This problem occurred after upgrade yesterday.
I assume the update failed per your report.
Will try again...........
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Make sure you're using an up-to-date mirror as well.
Offline
Have verified the latest files installed but the printer prints negative again. Ghostscript is -9.0.0-2.
hplip is from -Syu and cups is -1.4.5-2.
HP6840 model
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
... the printer prints negative again.
Again? This is a different problem, isn't it?
Also, what exactly do you mean by "prints negative"?
Offline
The images have negative color values like a photo negative.
This problem has appeared for a while with printers. I assumed that it was solved with the advice given on this thread, but it seems not.
I may have to go back to an older ghostscript again.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Tried older ghostscript8-70-4 but still have negative pix values.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
What ghostscript may solve the negative pix problem?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
I too have these problems (both printing in inverted colors and hplip not working). My printer is configured via CUPS and I have the hp 6980DT which is very similar to your 6940 model.
I get the following message when I try and run hp-setup.
warning: Qt/PyQt 4 initialization failed.
This occurs on both my 32 bit and my 64 bit system, both of which are up to date.
Offline
I too have these problems (both printing in inverted colors and hplip not working). My printer is configured via CUPS and I have the hp 6980DT which is very similar to your 6940 model.
I get the following message when I try and run hp-setup.
warning: Qt/PyQt 4 initialization failed.
This occurs on both my 32 bit and my 64 bit system, both of which are up to date.
I had same error with hp-systray and I've seen that hplip doesn't install by default python2-qt4 : this both commands are graphical user interfaces, thus they need this package.
To see other optional packages, see : http://www.archlinux.org/packages/extra/i686/hplip/
Offline
I believe it's related to this bug: https://bugs.archlinux.org/task/24372 so it's not closed as the title suggest, isn't it?
I see connected people - The seventh sense
Offline
I believe it's related to this bug: https://bugs.archlinux.org/task/24372 so it's not closed as the title suggest, isn't it?
Moderator comment: Well, the topic is not really closed -- it just says closed in the title. I'll adjust that to avoid confusion
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline