* [ISSUE] hplip: incompatibility with python3.10
@ 2021-10-22 14:02 alandiwix
2021-10-24 16:04 ` ericonr
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: alandiwix @ 2021-10-22 14:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
New issue by alandiwix on void-packages repository
https://github.com/void-linux/void-packages/issues/33700
Description:
See https://bugs.launchpad.net/hplip/+bug/1933973
There are several issues in hplip codebase, the one I encounter personally is:
```
Scanning...
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/usr/share/hplip/scan/sane.py", line 548, in run
st, t = self.dev.readScan(readbuffer)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Reading data: [\
```
The error
```
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
```
is common among those. Some other distributions managed to solve that, Fedora's patch for example:
https://launchpadlibrarian.net/546031954/hplip-pyssizet_clean.patch
Is it possible to do the same in Void?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
@ 2021-10-24 16:04 ` ericonr
2021-10-24 20:44 ` biopsin
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ericonr @ 2021-10-24 16:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950350278
Comment:
Sure! Would you like to make a PR yourself or should someone else look into fixing it?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
2021-10-24 16:04 ` ericonr
@ 2021-10-24 20:44 ` biopsin
2021-10-25 14:17 ` biopsin
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-24 20:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950391971
Comment:
bump hplip to 3.21.8,
@alandiwix I can run some test, use it at work but not noticed any issues while scanning.. will look into it
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
2021-10-24 16:04 ` ericonr
2021-10-24 20:44 ` biopsin
@ 2021-10-25 14:17 ` biopsin
2021-10-25 14:38 ` misterupkeep
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-25 14:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950975942
Comment:
@alandiwix I use xsane to scan so I can't reproduce the issue.
What args are you passing with hp-scan command?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (2 preceding siblings ...)
2021-10-25 14:17 ` biopsin
@ 2021-10-25 14:38 ` misterupkeep
2021-10-25 14:40 ` biopsin
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: misterupkeep @ 2021-10-25 14:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
New comment by misterupkeep on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950996405
Comment:
@biopsin `hp-makeuri 1.2.3.4` does it for me
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (3 preceding siblings ...)
2021-10-25 14:38 ` misterupkeep
@ 2021-10-25 14:40 ` biopsin
2021-10-25 14:41 ` biopsin
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-25 14:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950975942
Comment:
@alandiwix I use xsane to scan so I can't reproduce the issue.
What args are you passing with hp-scan command?
I noticed hp-scan complains of missing python-image-library (PIL), so the template needs reviewing.
And also latest version need ajust for ../prnt/hpcups/libImageProcessor*.so
Ok I'll look at again.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (4 preceding siblings ...)
2021-10-25 14:40 ` biopsin
@ 2021-10-25 14:41 ` biopsin
2021-10-26 13:18 ` biopsin
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-25 14:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-950999691
Comment:
I'll test it again tomorrow
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (5 preceding siblings ...)
2021-10-25 14:41 ` biopsin
@ 2021-10-26 13:18 ` biopsin
2021-10-26 13:54 ` biopsin
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-26 13:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-951930679
Comment:
Tested current hlip version with patch and the error is fixed, moving forward with hplip to latest release.
I also need to fix a makefile as "libImageProcessor-x86-XX.so" is not being picked moved up upon install.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (6 preceding siblings ...)
2021-10-26 13:18 ` biopsin
@ 2021-10-26 13:54 ` biopsin
2021-10-26 14:13 ` biopsin
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-26 13:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-951930679
Comment:
Tested current hlip version with patch and the error is fixed, moving forward with hplip to latest release.
I also need to fix a makefile as "libImageProcessor-x86-XX.so" is not being picked moved up upon install
[[issue source](https://www.linuxquestions.org/questions/slackware-14/requests-for-current-14-2-15-0-a-4175620463/page121.html#post5887706)]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (7 preceding siblings ...)
2021-10-26 13:54 ` biopsin
@ 2021-10-26 14:13 ` biopsin
2021-10-27 5:41 ` biopsin
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-26 14:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-951983481
Comment:
@ericonr a notice [here](https://bugs.launchpad.net/hplip/+bug/1785230/comments/4) , as they continue ship nonfree blobs, we should continue distribute a amputed version or move to nonfree?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (8 preceding siblings ...)
2021-10-26 14:13 ` biopsin
@ 2021-10-27 5:41 ` biopsin
2021-10-27 5:41 ` biopsin
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-27 5:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 380 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-951983481
Comment:
@ericonr a notice [here](https://bugs.launchpad.net/hplip/+bug/1785230/comments/4) , as they continue ship nonfree blobs, we should continue distribute a amputed version or move to nonfree?
Some [log&issues](https://p.teknik.io/uDKxf)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (9 preceding siblings ...)
2021-10-27 5:41 ` biopsin
@ 2021-10-27 5:41 ` biopsin
2021-11-03 9:28 ` alandiwix
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: biopsin @ 2021-10-27 5:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-951983481
Comment:
@ericonr a notice [here](https://bugs.launchpad.net/hplip/+bug/1785230/comments/4) , as they continue ship nonfree blobs, we should continue distribute a amputed version or move to nonfree?
Some [log&issues](https://p.teknik.io/Raw/uDKxf)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (10 preceding siblings ...)
2021-10-27 5:41 ` biopsin
@ 2021-11-03 9:28 ` alandiwix
2021-11-03 9:30 ` alandiwix
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: alandiwix @ 2021-11-03 9:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New comment by alandiwix on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-958777727
Comment:
@ericonr would be nice if someone else could fix this.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (11 preceding siblings ...)
2021-11-03 9:28 ` alandiwix
@ 2021-11-03 9:30 ` alandiwix
2021-12-08 1:36 ` ahesford
2021-12-08 1:36 ` [ISSUE] [CLOSED] " ahesford
14 siblings, 0 replies; 16+ messages in thread
From: alandiwix @ 2021-11-03 9:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by alandiwix on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-958777727
Comment:
@ericonr would be nice if someone else could fix this.
I don't have too much experience with either void build system or python.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (12 preceding siblings ...)
2021-11-03 9:30 ` alandiwix
@ 2021-12-08 1:36 ` ahesford
2021-12-08 1:36 ` [ISSUE] [CLOSED] " ahesford
14 siblings, 0 replies; 16+ messages in thread
From: ahesford @ 2021-12-08 1:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/33700#issuecomment-988413973
Comment:
Should be closed in https://github.com/void-linux/void-packages/commit/6f33e3848d8d0df38e722ba480ad662ff490e646.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ISSUE] [CLOSED] hplip: incompatibility with python3.10
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
` (13 preceding siblings ...)
2021-12-08 1:36 ` ahesford
@ 2021-12-08 1:36 ` ahesford
14 siblings, 0 replies; 16+ messages in thread
From: ahesford @ 2021-12-08 1:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
Closed issue by alandiwix on void-packages repository
https://github.com/void-linux/void-packages/issues/33700
Description:
See https://bugs.launchpad.net/hplip/+bug/1933973
There are several issues in hplip codebase, the one I encounter personally is:
```
Scanning...
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/usr/share/hplip/scan/sane.py", line 548, in run
st, t = self.dev.readScan(readbuffer)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Reading data: [\
```
The error
```
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
```
is common among those. Some other distributions managed to solve that, Fedora's patch for example:
https://launchpadlibrarian.net/546031954/hplip-pyssizet_clean.patch
Is it possible to do the same in Void?
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2021-12-08 1:36 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 14:02 [ISSUE] hplip: incompatibility with python3.10 alandiwix
2021-10-24 16:04 ` ericonr
2021-10-24 20:44 ` biopsin
2021-10-25 14:17 ` biopsin
2021-10-25 14:38 ` misterupkeep
2021-10-25 14:40 ` biopsin
2021-10-25 14:41 ` biopsin
2021-10-26 13:18 ` biopsin
2021-10-26 13:54 ` biopsin
2021-10-26 14:13 ` biopsin
2021-10-27 5:41 ` biopsin
2021-10-27 5:41 ` biopsin
2021-11-03 9:28 ` alandiwix
2021-11-03 9:30 ` alandiwix
2021-12-08 1:36 ` ahesford
2021-12-08 1:36 ` [ISSUE] [CLOSED] " 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).