Sorry for the late response.
I could post some code but it's spread over multiple files.
Besides I've got 404s multiple times and it is going to happen again in the future.
I'd like a more "teach me how to fish" answer if possible instead of solutions for a specific situation.
Generally a 404 means the request is not found. If my code has syntax errors causing an import errors, that's not a 404 issue, is it?
Seems confusing to raise 404 on that. Even so, could it not produce a ticket with a Traceback which would make troubleshooting it so much simpler?
I'm seeing lots of promise with py4web, but my progress is so darn slow since whenever I do something incorrect, I'm blind to what the problem is, and end up wasting a lot of time chasing red herrings.
Currently I use the tickets in the dashboard, and check the logs in /var/log/py4web.log. Is there anything else I should be doing?
Any suggestions appreciated,
Jim