Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on initializing the main class, _rtmidi.SystemError: MidiInAlsa::initialize: error #10

Open
karen-pal opened this issue Jul 15, 2023 · 1 comment

Comments

@karen-pal
Copy link

karen-pal commented Jul 15, 2023

I was trying to light up the pads but I keep bumping into the same error when running push2_python.Push2(), in linux machine with the push2

_rtmidi.SystemError: MidiInAlsa::initialize: error creating ALSA sequencer client object.

being risen by the mido library

  File "/PATH/TO/ENV/lib/python3.8/site-packages/mido/backends/rtmidi.py", line 51, in get_devices
    input_names = set(rtmidi.MidiIn(rtapi=rtapi).get_ports())
  File "_rtmidi.pyx", line 821, in _rtmidi.MidiIn.__cinit__
_rtmidi.SystemError: MidiInAlsa::initialize: error creating ALSA sequencer client object.

I can't run any of the example code snippets. I posted on an active thread of mido in case it's an upstream problem.

I remember in january I tried this library and got the lights working - just did a fresh install of the library and no code works anymore!

the only code that doesn't make the errror appear is:

push = push2_python.Push2(use_user_midi_port=True)
but when i try to light up the pads nothing happens. I also tried calling the method push.configure_midi() but still not response from the push2.

I just found the old virtualenv that worked in january, the working state of the dependecies is : push2-python @ git+https://github.com/ffont/push2-python@ae91501788469f2c54aa95ed12f37f83505d73f8

Kinda new to the whole MIDI ecosystem! Thanks

@ffont
Copy link
Owner

ffont commented Jul 20, 2023

I think this should not be related to push2-python, maybe something to do with user permissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants