-
Notifications
You must be signed in to change notification settings - Fork 15
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
Running and Usign AccoMontage2 GUI with Flask #8
Comments
Sorry, I am not able to reproduce your issue. I think it is true that the static folder was not called correctly. Are you launching the interface in the If you launched the project while you are in the project's root folder, we might have some bugs. |
I've been able to run the server now correctly without getting any errors: However, when opening the "http://127.0.0.1:5000/" direction it will show a completely blank page, regardless of the browser I'm using. I've tried moving some of the files I thought could be on a wrong path but the issue still persists. |
I'm not sure if it could be that there are files missing on the back-end folder such as |
You are right, thank you for reporting this bug! I have just pushed a fix 78761ea. Hope this would solve the bug. |
Yep, that was the problem indeed! However, unrelated to the whole server and GUI part, there's a error that's popping up a lot for different melodies that I try to load, even if the length and the phrasing info are correct: The error shows up with a bunch of melodies, even ones from the test folder itself. The melody I'm trying right now is on A Major, 4/4, has 4 phrases of 8 bars each and that's exactly how I'm specifying things on the different options. I'll provide the melody I'm using on a ZIP file (since I can't upload MIDI directly). I'm not sure what it can be, as I'm trying to imitate the structure of the sample MIDI files that actually work, such as the Sorry for the whole trouble, I'm trying to fully understand this as I want to find ways to implement new features and investigate further along the way. |
Hi! I've been testing AccoMontage2 and it's truly incredible. However, I've had to stick to the console version only as it has been impossible for me to run the app.py provided for several reasons. First, it would seem that, when running the code directly from the console, the chorderator folder is ignored unless it's inside the back-end folder, which is not that huge of a deal anyways.
However, when the app.py is called the web browser will always show a blank page. I though it was because the static folder was acually not called correctly, since in theory the static folder is inside another folder called static as well and the program doesn't take that into consideration. The problem is that when the paths are corrected then a lot of errors start to pop up. Most of them end up in:
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
In my case, I'm getting this series of errors when trying to run the app.py code:
I'm running this locally of course.
The text was updated successfully, but these errors were encountered: