* [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
* Re: hplip fails to execute basic commands, most likely due to Python 3.12 update
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
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-10-15 20:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/46684#issuecomment-1763494275
Comment:
Are you able to confirm that https://github.com/void-linux/void-packages/pull/46704 resolves the issue?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: hplip fails to execute basic commands, most likely due to Python 3.12 update
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
3 siblings, 0 replies; 5+ messages in thread
From: slender100 @ 2023-10-15 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
New comment by slender100 on void-packages repository
https://github.com/void-linux/void-packages/issues/46684#issuecomment-1763496781
Comment:
> Are you able to confirm that #46704 resolves the issue?
I am currently unable to update to the latest version:
```
[slender@slender ~]$ sudo xbps-install -Su hplip
[*] Updating repository `https://mirror.clarkson.edu/voidlinux/current/x86_64-repodata' ...
Package 'hplip' is up to date.
[slender@slender ~]$ xbps-query -p pkgver hplip
hplip-3.23.3_3
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] hplip fails to execute basic commands, most likely due to Python 3.12 update
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 ` ahesford
2023-10-15 21:58 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-10-15 21:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]
Closed 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:
```py
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
* Re: hplip fails to execute basic commands, most likely due to Python 3.12 update
2023-10-15 0:27 [ISSUE] hplip fails to execute basic commands, most likely due to Python 3.12 update slender100
` (2 preceding siblings ...)
2023-10-15 21:57 ` [ISSUE] [CLOSED] " ahesford
@ 2023-10-15 21:58 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-10-15 21:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/46684#issuecomment-1763515101
Comment:
Well, I can at least confirm that neither `hp-setup` nor `hp-doctor` die immediately on launch. If you uncover any additional issues, please reopen this.
^ 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).