ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Appstats not implemented #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the instructions on Google's Python Appstats documentation
2. Use web-browser to load a page from the Application

What is the expected output? What do you see instead?
The page returns of 503 error. The log for the application displays an 
error claiming that the appstats library was unable to be initialized.
ERROR    2010-02-27 16:25:08,137 __init__.py:94] Could not initialize 
script '$PYTHON_LIB/google/appengine/ext/appstats/ui.py'. ImportError: No 
module named appstats.ui

What version of the product are you using? On what operating system?
Most recent from hg as of 10min before this issue was created. Ubuntu 9.10

Please provide any additional information below.
Google's Appstats documentation: 
http://code.google.com/appengine/docs/python/tools/appstats.html

Original issue reported on code.google.com by Noah.Mci...@gmail.com on 27 Feb 2010 at 5:30

GoogleCodeExporter commented 9 years ago
The current trunk fully supports Appstats. As 
http://code.google.com/p/typhoonae/wiki/TyphoonAEandAppstats says, you still 
need to provide the --
server_software option to apptool, due to the fact that Appstats automatically 
logs in as admin. For some 
reason this only works when SERVER_SOFTWARE starts with 'Dev' (see line 273 in 
google_appengine/google/appengine/ext/appstats/ui.py).

In order to test this, I've enabled Appstats for the demo application in out 
trunk. See 
http://code.google.com/p/typhoonae/source/detail?r=5ca8e6f645eb65ad826af038da7ee
9bfae586ecd for 
further details.

Thanks for the heads up!

Original comment by tobias.r...@gmail.com on 27 Feb 2010 at 9:55