-
Notifications
You must be signed in to change notification settings - Fork 1
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
UnboundLocalError: local variable 'available_ports' referenced before assignment #43
Comments
This is due to some issue in one of the modules I use. You did everything right, but for now version 3.9.xx is required. Im sorry for that inconvenience. I'll hopefully be able to fix this in the next weeks. I was struggling with that exact same error for weeks. |
Happens the same to me on 3.9.10. Weird.
|
Oh gosh. Sorry that you both had to encounter that issue. Thank you for trying out 3.9.10 and reporting. I'll let you know as soon as I figure out more. |
Hey, thanks to you for making this and sharing it for everyone, no need to say sorry !Sorry I cannot
be more helpful, but I'll tell if find anything.
…On Tue, 30 Apr 2024, 20:24 zuggamasta, ***@***.***> wrote:
Oh gosh. Thank you for trying out 3.9.10 and reporting. I'll let you know
as soon as I figure out more.
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5YWPLFGHNS3FWL4725VBRTY77OWNAVCNFSM6AAAAABGWU7GZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBWGQZTAMRUG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey! Hi Zugga and farva, sorry for the double post, but I was on the move on the other one so I couldn't explain myself properly. I didn't give a lot of info on my system, which shouldn't matter with python as I understand (sorry, I saw my first terminal like 2 months ago, I'm trying hard haha). It's an uConsole with CM4 module (RPi4 basically), running Debian. I already had previously Python 3.11 installed, and used pyenv to get 3.9.10 (as I saw somewhere was the version you used). It didn't work so I downloaded the 3.9 source and compiled with the proper libs. Didn't work either. I have Manjaro in my PC with 3.11 from beforehand, and happened the same. As I can simply swap microSD and get another system, I'll install arch from scratch and get Python 3.9.10 clean, and try again to see what happens. I'll report back! |
I tried in 4 different machines. The uConsole, my main PC, my father's PC, and basically 1 Debian chroot and 1 Arch chroot on my Android device. Nothing worked, all 3.9.10, same error. I did manage to get something different in my main machine. Still, 3.9.10, no idea what I've done here.
Note: git status changed as I added a pyenv version on folder. EDIT: How can I format this properly? So noob sorry! It literally hurts to try and read lmao. |
Thank you again for trying this out. I have a bad feeling there might be a step missing in my manual. I now have the time to do new first time installs myself. I'll let you know how it goes. |
Hey!
Seriously, again thanks to you for taking your time to make it and maintain
it!
I'll keep trying myself. I was thinking before, I always pulled the git but
didn't try to use any release. I'll try that after.
…On Thu, 2 May 2024, 13:17 zuggamasta, ***@***.***> wrote:
Thank you again for trying this out. I have a bad feeling there might be a
step missing in my manual. I now have the time to do new first time
installs myself. I'll let you know how it goes.
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5YWPLHNKL5HPDMH4OBTBBDZAIODLAVCNFSM6AAAAABGWU7GZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJQGI2DKNBVGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No need to try the releases. Cloning the git is a good way to stay on track. I figured something out: You'll need to create a new venv for that, writing very verbose to make myself aware of any issues, too:
Somehow my first setups all involved both versions of rtmidi, but I ran like this and I got the exact error message as soon as I also installed the "rtmidi" package as noted in my install notes. I now removed that step from the notes. I hope this gets you started! |
If it's behaving like a regular raspberryPi, quoting my own forum post :
Closing this ticket for now. Feel free to open a new one any time. |
hello,
i'm using Python 3.10.12 on linux (mint 21.3) and I've setup the venv environement according to the manual there https://github.com/zuggamasta/midiTracker/wiki/01-Installing-midiTracker-(Beginner-Friendly)
after starting miditracker with
python3 midiTracker.py
, I saw the logo moving to the left, and then it crashed saying:The text was updated successfully, but these errors were encountered: