-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unable to run edrumulus_gui.py on Windows #115
Comments
If I use Powershell instead:
so rtmidi works. Running:
I get this error instead:
But I'm using an ESP32 though.. I haven't compiled and updated the code on the esp32 yet, but the error is confusing since I'm not using a Teensy, so opened #116 Running: python tools\edrumulus_gui.py results in:
|
Did you run loopMIDI and HairlessMIDI before you started edrumulus_gui? See #16 (reply in thread) |
This help text should also be up to date: https://github.com/corrados/edrumulus/blob/main/doc/manual.md#setup-for-esp32-under-windows |
Also checkout the comment here: https://github.com/corrados/edrumulus/blob/main/doc/manual.md#edrumulus-user-manual "Python to control Edrumulus trigger parameters in real-time. Did you install these Python packages? |
For me edrumulus_gui worked fine under Windows in a normal CMD shell (i.e., no power shell). |
Yes, see my previous comment:
I'll try that as well.
No, but when I do start them, and then run
This is a relative path issue, I'll submit a patch. |
With pr #117 I am able to run Hopefully this is because I haven't my edrumulus esp32 device connected (because I haven't flashed new firmware yet)? Have you/can you try to start the edrumulus gui without a device connected @corrados and do you also get a blank screen in that case? |
You have to be very carefully with the Python packages. Unfortunately, there are multiple rtmidi packages available but only the python-rtmidi works with Edrumulus. Please make sure you actually installed exactly this package and no other.
That indicates that the command line argument is not correctly given to the script. If rtmidi command line argument is given, no jack audio is used at all.
Exactly. Edrumulus must be connected for the script to work. Otherwise I also get an empty screen. |
Great, then I'm confident to upgrade firmware and have ability to tune the parameters. I'd hate to put my edrumulus out of commission and go through trouble of reverting the firmware. Could you merge #117 though, without it I'm getting path issues. |
Before you update, please tag your current Git commit to be able to easily go back to the old version (just in case ;-) ). |
done |
thanks. I'll upgrade firmware tomorrow and if everything's fine, close this ticket. |
So yesterday we were all ready to test out the new code, flashed new firmware, started edrumulus_gui.py and unfortunately it resulted in same black command prompt.. no errors, nothing. How can I debug this issue? |
Have you checked that you have loopMIDI correctly configured with the names "EdrumulusIn" and "EdrumulusOut"? You can try to flip the assignments in HairlessMIDI. Maybe this is the issue. |
Good point, I used a different name, let me try. |
Awesome, that worked: I opened #121 to clarify things a little bit more, thanks for the screenshot. |
I believe this potential issue was fixed with #117 but before that PR it would surely be an issue. |
OS: Win10
Python: 3.10
Shell: Git bash
Controller: ESP32
After following the manual and installing Python packages I tried running
edrumulus_gui.py
using:tools/edrumulus_gui.py rtmidi
which results in:
I would suggest using this in the docs instead:
python tools/edrumulus_gui.py rtmidi
but it results in:
Any idea?
The text was updated successfully, but these errors were encountered: