LINUX.ORG.RU

История изменений

Исправление dima81, (текущая версия) :

Патч что то не помог
hp-setup -i

Traceback (most recent call last):
  File "/usr/bin/hp-probe", line 37, in <module>
    from base.g import *
  File "/usr/share/hplip/base/g.py", line 241, in <module>
    sys_conf = SysConfig()
  File "/usr/share/hplip/base/g.py", line 186, in __init__
    ConfigBase.__init__(self, '/etc/hp/hplip.conf')
  File "/usr/share/hplip/base/g.py", line 90, in __init__
    self.read()
  File "/usr/share/hplip/base/g.py", line 136, in read
    except (configparser.DuplicateOptionError):
AttributeError: 'module' object has no attribute 'DuplicateOptionError'

Исходная версия dima81, :

Что то не помогло
hp-setup -i

Traceback (most recent call last):
  File "/usr/bin/hp-probe", line 37, in <module>
    from base.g import *
  File "/usr/share/hplip/base/g.py", line 241, in <module>
    sys_conf = SysConfig()
  File "/usr/share/hplip/base/g.py", line 186, in __init__
    ConfigBase.__init__(self, '/etc/hp/hplip.conf')
  File "/usr/share/hplip/base/g.py", line 90, in __init__
    self.read()
  File "/usr/share/hplip/base/g.py", line 136, in read
    except (configparser.DuplicateOptionError):
AttributeError: 'module' object has no attribute 'DuplicateOptionError'