AppStats in Python 2.7 apps

108 views
Skip to first unread message

Jay Meydad

unread,
Nov 13, 2011, 3:43:52 PM11/13/11
to google-a...@googlegroups.com
According to appstats config docs: "you must use the run_wsgi_app() function"Where apps that have migrated to python 2.7 are no longer invoked using this function.

So, how (if at all) can AppStats be used in apps running python 2.7?


Mariano Benitez

unread,
Nov 14, 2011, 8:17:46 PM11/14/11
to google-a...@googlegroups.com
I am using appstats just by editing the appengine_config.py and adding the builtins appstats: on, I am using webpp and django without problems.

seems to be working fine.

erineg1

unread,
Dec 4, 2011, 6:03:46 PM12/4/11
to Google App Engine
So how did you enable Event Recording?

Anybody have advice for python 2.7? I am getting the following when
pulling up the stats:

>>No requests have been recorded yet. While it is possible that you simply need to wait until your server receives some requests, this is often caused by a configuration problem. Learn more

erineg1

unread,
Dec 5, 2011, 1:22:11 AM12/5/11
to Google App Engine
Issue resolved: careless error - did not place appengine_config.py in
the root directory! Works perfectly.

On Dec 4, 5:03 pm, erineg1 <eag...@gmail.com> wrote:
> So how did you enable Event Recording?
>

> Anybody have advice forpython2.7? I am getting the following when


> pulling up the stats:
>
> >>No requests have been recorded yet. While it is possible that you simply need to wait until your server receives some requests, this is often caused by a configuration problem. Learn more
>
> On Nov 14, 7:17 pm, Mariano Benitez <marianob...@gmail.com> wrote:
>
>
>
>
>
>
>

> > I am usingappstatsjust by editing the appengine_config.py and adding the
> > builtinsappstats: on, I am using webpp and django without problems.

Reply all
Reply to author
Forward
0 new messages