English follow. La version 0.2.11 de pyAudio fournie dans les dépots de Mageia est désuète et ne fonctionne pas depuis Python 3.10. pypi.org et Debian fournissent 0.2.14 Une mise à jour s'impose. Description of problem: Mageia repo supply pyAudio 0.2.9 but that version is broken since Python 3.10 pypi.org is supplying 0.2.14 since november 2023 Debian is also supplying 0.2.14 An updated version of python3-pyaudio is required. Symptom: "PY_SSIZE_T_CLEAN macro must be defined for '#' formats" Version-Release number of selected component (if applicable): 0.2.11 How reproducible: Easy. Start pyAudio with Python 3.10 Steps to Reproduce: 1. 2. 3.
Thank you for this helpful report. We do have v0.2.14 in Cauldron; it needs pushing to Mgeia 9. Assigning to papoteur who did that.
Assignee: bugsquad => yvesbrungardSource RPM: (none) => python-pyaudio-0.2.11-6.mga9.src.rpm
Bonjour, Je ne reproduis pas le problème. Qu'entends-tu par démarrer pyAudio ? pyAudio bash: pyAudio: commande inconnue... I do not reproduce the problem. What do you mean with start pyAudio?
Created attachment 14393 [details] File to prove the error When running this test script, we get an error: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Traceback (most recent call last): File "/home/yves/Documents/test.py", line 45, in <module> import time; time.sleep(1) SystemError The update should get rid of this error.
Source: python-pyaudio-0.2.14-1.mga9 RPMS: python3-pyaudio-0.2.14-1.mga9
Assignee: yvesbrungard => qa-bugs
Keywords: (none) => advisory
Tested in real hardware mageia 9 x86_64 After install python3-pyaudio and python3-matplotlib to can run the test script Current version of python3-pyaudio ython test_FFT_MGA.py ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Traceback (most recent call last): File "/home/katnatek/Descargas/test_FFT_MGA.py", line 30, in <module> import time; time.sleep(1) SystemError After update to testing version python test_FFT_MGA.py ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock > /home/katnatek/Descargas/test_FFT_MGA.py(32)<module>() -> pass (Pdb)
Whiteboard: (none) => MGA9-64-OKKeywords: (none) => feedback
I feel my advisory is inaccurate, can suggest a change if is so?
(In reply to katnatek from comment #6) > I feel my advisory is inaccurate, can suggest a change if is so? https://svnweb.mageia.org/advisories/32848.adv?view=markup
Keywords: advisory, feedback => (none)
Keywords: (none) => advisory, validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0060.html
Status: NEW => RESOLVEDResolution: (none) => FIXED