Skip to content

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

@karen-pal

Description

@karen-pal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions