Bug 2161923 - player: Python module playerc does not work
Summary: player: Python module playerc does not work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: player
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCHelpNeeded
TreeView+ depends on / blocked
 
Reported: 2023-01-18 10:13 UTC by Florian Weimer
Modified: 2023-02-02 08:31 UTC (History)
4 users (show)

Fixed In Version: player-3.1.0-48.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-02 08:31:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github playerproject player issues 17 0 None open Python 3 support 2023-01-18 10:14:43 UTC

Description Florian Weimer 2023-01-18 10:13:22 UTC
>>> import playerc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.11/site-packages/playerc.py", line 12, in <module>
    import _playerc
ImportError: /usr/lib64/python3.11/site-packages/_playerc.so: undefined symbol: PyBuffer_FromMemory

$ rpm -qf /usr/lib64/python3.11/site-packages/_playerc.so
python3-player-3.1.0-46.fc38.x86_64

This could be the result of incomplete porting to Python 3.

With a future toolchain, this problem will be caught at build time because calls to undeclared functions will be treated as errors. The package will then fail to build.

Comment 1 Florian Weimer 2023-02-02 08:31:35 UTC
I removed the non-working Python modules. This needs an upstream Python 3 port.


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