alsaseq constants have wrong values

Bug #1919032 reported by Alice Heaton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pyalsa (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04.2 LTS
python3-pyalsa 1.1.6-2build2
Python 3.8.5
Linux kernel 5.4.0-66-generic
Arch x86_64

When I install python3-pyalsa I get the following:

>>> from pyalsa import alsaseq
>>> int(alsaseq.SEQ_EVENT_NOTE)
1329268363771656936786755287825360689

This is not the correct value !

If I install pyalsa as a Python package (dircectly from the Github repo), I get the correct value (this is also version 1.1.6):

>>> from pyalsa import alsaseq
>>> int(alsaseq.SEQ_EVENT_NOTE)
5

I assume the disparity means this a build/packaging error.

I can use the Github version, so this is not urgent for me, but thought I should report it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.