-
Notifications
You must be signed in to change notification settings - Fork 18
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
show python version and os in gui #122
Conversation
I want to keep the GUI as simple as possible to show only the absolute necessary information not to confuse the Edrumulus users. If users will have problems with the GUI, they will most probably post a message in the forums. Your additional information will not really help them solve the problem on their own. And if they post in the forum, it is easy to ask them for the necessary information. I hope it is ok for you that I do not merge your changes to main. |
I understand and I'm thinking of adding a Using something like python's I would actually go as far as suggesting that Support for (Py)Qt, LGVL etc would be really awesome. |
Actually, I want to keep the file edrumulus_gui.py as short as possible. I would prefer to create a complete new Python file which only does issue debugging. This script could then do a lot more to check:
Usually, if everything is setup correctly, the GUI just works (I use it on a daily basis for a long period of time now) and no debugging is needed. Usually, the first setup is the problematic phase (as in your case). Now that you have setup loopMIDI and HairlessMIDI correctly, you can just use it without problems, I assume. |
Maybe design that new script so that it setups your Window environment completely like downloading loopMIDI and installing it. It could also be used as a startup script which starts loopMIDI and HairlessMIDI in the correct order and then starts edrumulus_gui.py and maybe even your DAW. |
The name of the script might then be run_edrumulus.py which is the equivalent for run_edrumulus.sh which is only intended for Linux. Maybe the new run_edrumulus.py could replace run_edrumulus.sh completely since it could be run under Windows and also under Linux. Not a bad idea actually :-). |
Agreed, that's why I'm making these suggestions. The way edrumulus_gui.py is structured now (not using classes but globals, one long sequential script) it's hard to read, maintain and improve. I would split it into several classes and maybe 1 to 3 python files. When using
I really hope edrumulus will move away from loopMIDI and HairlessMIDI in the future when possible, since these pieces of software are not maintained anymore and probably closed source as well. If they work, fine, but it feels like a weak link. |
Sorry, for now I do a lot of changes to that file and I want to keep it as closely as possible as it is right now. If, in the future, we will have a lot of Edrumulus users, then it will be a good time to refactor edrumulus_gui or write a complete new GUI. But right now I am happy how it is and do not want to change it. |
Useful for debugging user issues imo.