What distro are you using? What version of HPLIP?
I haven't seen that this was needed before.
A
Ernst Kloppenburg wrote:
Hello,
I had the same problem with "hpiod: Rejected connection" and found the
reason to be the following: in /etc/hosts there was a line like
127.0.0.1 localhost myhostname
Hello,
I had the same problem with "hpiod: Rejected connection" and found the
reason to be the following: in /etc/hosts there was a line like
127.0.0.1 localhost myhostname
This caused hpiod to resolve the local hostname to a different IP than
the connection comes from (why does it come from 192.
This is happening because these files are not meant to be run directly and are missing the line:#!/usr/bin/env pythonat the top of each file. Bash is trying to interpert these files as shell scripts, not Python code.
Even with this line, these files won't do anything because they have no test code
I found the following. Are you interestet?
I hope, it can help.
Kind Regards
Arno
arju:/usr/share/hplip/ui # ./faxallowabletypesdlg.py
./faxallowabletypesdlg.py: line 22: from: command not found
./faxallowabletypesdlg.py: line 23: from: command not found
./faxallowabletypesdlg.py: line 25: syntax