pyramid_appengine error and debugging

57 views
Skip to first unread message

Alejandro Jatib

unread,
Jun 26, 2012, 10:40:10 AM6/26/12
to pylons-...@googlegroups.com
I have a project that's work perfect locally but, when i deploy it to GAE i have this error:
"Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it."

I'm using only one extra package "wtforms" (installed adding in requires's setup.py and packages's buildout.cfg)

How i can debug this error? Log section on GAE administration panel show no errors.
Searching i find this example using webapp: https://developers.google.com/appengine/articles/logging
How i can do anything like this? I try to install pyramid_debugtoolbar but i have some errors including this.

Any other debuging tips?

Thanks,
Alejandro

Alejandro Jatib

unread,
Jun 27, 2012, 11:21:49 AM6/27/12
to pylons-...@googlegroups.com
Hello
I could solve the problem but the reason is very rare. In pyramid_appengine template refers to a library "from import google.appengine.tools dev_appserver_index" within the file library conftest.py and it is this which is not found.
Did anyone have this error?
Why can that happen?

Thomas G. Willis

unread,
Jun 27, 2012, 6:23:54 PM6/27/12
to pylons-...@googlegroups.com
conftest.py bootstraps the test suite so that your unit tests will populate your index.yaml among other things.

I wouldn't have expected that to be imported, but I guess if you are using view_config and config.scan() that might happen.
Reply all
Reply to author
Forward
0 new messages