pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

problems with hplip package



I have just moved up to 11_STABLE on amd64 and compiled hplip from
pkgsrc_20226Q1. This is basically the same version as in the newer
pkgsrc_2026Q2.

Running any of the utilities results in an error. e.g:

hp-probe -bnet      
/usr/pkg/bin/hp-probe:45: SyntaxWarning: invalid escape sequence '\*'
  ("", "<bus>: cups, usb\*, net, bt, fw, par (\*default) (Note: bt and
fw not supported in this release.)", "option", False),
/usr/pkg/bin/hp-probe:49: SyntaxWarning: invalid escape sequence '\*'
  ("", "<filter list>: comma separated list of one or more of: scan,
pcard, fax, copy, or none\*. (\*none is the default)", "option",
False),
Traceback (most recent call last):
  File "/usr/pkg/bin/hp-probe", line 37, in <module>
    from base.g import *
  File "/usr/pkg/share/hplip/base/g.py", line 240, in <module>
    sys_conf = SysConfig()
  File "/usr/pkg/share/hplip/base/g.py", line 185, in __init__
    ConfigBase.__init__(self, '/usr/pkg/etc/hp/hplip.conf')
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/pkg/share/hplip/base/g.py", line 90, in __init__
    self.read()
    ~~~~~~~~~^^
  File "/usr/pkg/share/hplip/base/g.py", line 131, in read
    self.conf.readfp(fp)
    ^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did
you mean: 'read'?

A lot of the hp-*  packages seem to report invalid escape sequences.

Is anyone else seeing these problems?

Cheers,
Dave



Home | Main Index | Thread Index | Old Index