Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] hplip fails to execute basic commands, most likely due to Python 3.12 update
@ 2023-10-15  0:27 slender100
  2023-10-15 20:19 ` ahesford
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: slender100 @ 2023-10-15  0:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]

New issue by slender100 on void-packages repository

https://github.com/void-linux/void-packages/issues/46684

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.7_1 x86_64 AuthenticAMD uptodate rFF

### Package(s) Affected

hplip-3.23.3_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

No

### Expected behaviour

hplip is supposed to function properly with commands like `hp-setup` or `hp-doctor`, as well as other applications that depend on it, i.e hplip-gui.

### Actual behaviour

Any command outputs with this error:

`slender@slender ~]$ hp-setup` 
`/usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*'`
`  ("To specify the port on a multi-port JetDirect:", "--port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),`
`/usr/bin/hp-setup:86: SyntaxWarning: invalid escape sequence '\*'`
`  ("Type of queue(s) to install:", "-t<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False)`
`Traceback (most recent call last):`
`  File "/usr/bin/hp-setup", line 47, in <module>`
`    from base.g import *`
`  File "/usr/share/hplip/base/g.py", line 240, in <module>`
`    sys_conf = SysConfig()`
`               ^^^^^^^^^^^`
`  File "/usr/share/hplip/base/g.py", line 185, 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 131, in read`
`    self.conf.readfp(fp)`
`    ^^^^^^^^^^^^^^^^`
`AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?`


### Steps to reproduce

1. Install hp-lip with `sudo xbps-install -Suv hplip`.
2. Run any hplip command like `hp-setup`, for example.
3. Confirm that the same error happens with the one shown in this report.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-15 21:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-15  0:27 [ISSUE] hplip fails to execute basic commands, most likely due to Python 3.12 update slender100
2023-10-15 20:19 ` ahesford
2023-10-15 20:31 ` slender100
2023-10-15 21:57 ` [ISSUE] [CLOSED] " ahesford
2023-10-15 21:58 ` ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).