-
Notifications
You must be signed in to change notification settings - Fork 13
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
Run Server alias fails on working install #54
Comments
search for all cherrypy.tree.mount() calls in your code, the second argument to that function needs to be unique in all instances. paste in any calls to that here for further diagnosis |
I've done a search through all files in Path. This is the only one I can find executing. It goes run_server -> import server.py -> error |
can you find out if it's calling cherrypy.tree.mount() twice somehow? debugger? print statements? |
AGH. run_server.py was importing sideboard.server or server.py which would then trigger init.py which called import sideboard.server which would double trigger the application mounting. Now I've got that understood, but I've hit a new level of weird where the logger has just turned itself off. |
Sorry it's been a crazy week so I'm behind on Github issues and PRs. One general note: if possible you should try using the |
Hey Eli, looking for some help here. I'm working on getting sideboard functional for a school project.
This error pops up whenever I execute run_server.py.
I've had a few other errors, but I've been working my way around them.
EDIT:
More info:
This is the state of cherrypy.tree.apps when the assert fails.
and it appears that the script_name its searching for is hardcoded to be ""
The text was updated successfully, but these errors were encountered: