hplip-install gives a syntax error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
goutam kodu |
Bug Description
When I try to install, it gives me an error:
-------
| INSTALLING PLUG-IN |
-------
Verifying archive integrity... All good.
Uncompressing HPLIP 3.11.10 Plugin Self Extracting Archive.
File "./plugin_
except ImportError, e:
SyntaxError: invalid syntax
error: Python gobject/dbus may be not installed
Done.
I tried downloading the manual install tarball. Here is the result:
[wrekced@wrekced0 hplip-3.11.10]$ ./hplip-install
File "./install.py", line 91
sys.exit(0)
^
TabError: inconsistent use of tabs and spaces in indentation
As you can see, there is some problem with reading install.py. I think that the problem is in the code before this point. However, I don't know Python. On the other hand, taking the extra spaces @ lines 89, 90 and the extra tabs @ lines 91, 92 out of install.py moves the error to line 100:
[wrekced@wrekced0 hplip-3.11.10]$ ./hplip-install
File "./install.py", line 100
except getopt.GetoptError, e:
SyntaxError: invalid syntax
[wrekced@wrekced0 hplip-3.11.10]$
The output of hp-check is attached
Thanks,
wrekced
Changed in hplip: | |
status: | New → In Progress |
assignee: | nobody → goutamkk (goutam-hplip) |
Hi,
Which linux distribution you are using ?
Thanks,
Goutam Kodu