Bug 2253990 - Import of module fails: undefined symbol: PyUnicode_AS_DATA
Summary: Import of module fails: undefined symbol: PyUnicode_AS_DATA
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-alsaaudio
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-11 12:10 UTC by Mark Knoop
Modified: 2023-12-29 01:13 UTC (History)
3 users (show)

Fixed In Version: python-alsaaudio-0.10.0-1.fc38 python-alsaaudio-0.10.0-1.fc39
Clone Of:
Environment:
Last Closed: 2023-12-29 01:04:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mark Knoop 2023-12-11 12:10:17 UTC
Description of problem:
Importing the alsaaudio module in python fails.

Version-Release number of selected component (if applicable):
python-alsaaudio-0.9.0-10.fc39

How reproducible: 100%

Steps to Reproduce:
1. dnf install python3-alsaaudio
2. start a python shell
3. import alsaaudio

Actual results:
```
Python 3.12.0 (main, Oct  2 2023, 00:00:00) [GCC 13.2.1 20230918 (Red Hat 13.2.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import alsaaudio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib64/python3.12/site-packages/alsaaudio.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyUnicode_AS_DATA
>>>
```

Expected results:
Module should import without errors.

Additional info:
If the module is installed in a virtual environment, e.g. using pipenv, then the installation and import proceed without errors.

Comment 1 Fedora Update System 2023-12-20 10:40:52 UTC
FEDORA-2023-d870a65c9d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d870a65c9d

Comment 2 Fedora Update System 2023-12-20 10:40:55 UTC
FEDORA-2023-fc1142d945 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fc1142d945

Comment 3 Fedora Update System 2023-12-21 02:44:50 UTC
FEDORA-2023-d870a65c9d has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d870a65c9d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d870a65c9d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-12-21 03:23:11 UTC
FEDORA-2023-fc1142d945 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fc1142d945`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fc1142d945

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-12-29 01:04:17 UTC
FEDORA-2023-d870a65c9d has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-12-29 01:13:23 UTC
FEDORA-2023-fc1142d945 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.