You are not logged in.

#1 2017-09-07 09:17:34

70853n
Member
Registered: 2017-09-07
Posts: 1

hp-setup -> FileNotFoundError: [Errno 2] No such file or directory

Hi everyone,

after installing hplip I am unable to run

$ sudo hp-setup -u

The output I get is as follows:

Traceback (most recent call last):
  File "/usr/sbin/hp-setup", line 47, in <module>
    from base.g import *
  File "/usr/share/hplip/base/g.py", line 269, in <module>
    prop.home_dir = sys_conf.get('dirs', 'home', os.path.realpath(os.path.normpath(os.getcwd())))
FileNotFoundError: [Errno 2] No such file or directory

I don't understand which file is missing and why. I checked the hplip files, which exist:

lrwxrwxrwx 1 root root    23 Aug  3 18:08  hp-setup -> ../share/hplip/setup.py
-rwxr-xr-x 1 root root  38K Aug  3 18:08 setup.py
-rw-r--r-- 1 root root  15K Aug  3 18:08 g.py

Is my home dir not found? Any help is much appreciated. Thanks!

Best
Tob

Last edited by 70853n (2017-09-07 09:18:43)

Offline

Board footer

Powered by FluxBB