appstats broken filename in callstack

Posted by Ray Yun on Stack Overflow See other posts from Stack Overflow or by Ray Yun
Published on 2011-01-18T01:51:30Z Indexed on 2011/01/18 1:53 UTC
Read the original article Hit count: 603

Filed under:
|

When I visit appstats page and expand callstack, the file path has <path[N]> prefix. So click the file link then emit no such file or directory error.

Stack:

/google/appengine/datastore/datastore_rpc.py:951 make_rpc_call()
/google/appengine/datastore/datastore_query.py:993 _make_query_result_rpc_call() /google/appengine/datastore/datastore_query.py:714 run_async()
/google/appengine/datastore/datastore_query.py:685 run()
/google/appengine/api/datastore.py:1281 GetBatcher()
/google/appengine/api/datastore.py:1351 Get()
/google/appengine/ext/db/init.py:1831 fetch()
/google/appengine/ext/db/init.py:1778 get()
/apps/fbapp/fbutil.py:232 oauth_load_fb_user()
/apps/fbapp/fbutil.py:84 require_account()

the error message for appengine source:

[Errno 2] No such file or directory: u'/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/ipaddr/google/appengine/datastore/datastore_rpc.py'

the error message for my source:

IOError

[Errno 2] No such file or directory: u'/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/antlr3/apps/fbapp/fbutil.py'

I guess this was path problem and found some official comment from google.

If your request handlers modify sys.path, you must make the same modifications to sys.path in appengine_config.py so the Appstats web interface can see all files.

Actually I'm using appengine_django and two path was inserted to sys.path. I did it same again at appengine_django.py but also failed.

Maybe some custom setting with appengine_config.py can solve this problem but doesn't figure out how to fix it. What can I do?

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about appstats