Has anyone else had intermittent problems with appengine_config.py and
the new stats framework?
I'm getting this error intermittently, both locally and online:
appengine_config.py", line 159, in appstats_should_record
if config.FILTER_LIST:
NameError: global name 'config' is not defined
It looks like this is a better syntax for that if:
if globals().has_key('config') and config.FILTER_LIST:
But I dont know why their own sample code would break
It appears config is supposed to be defined globally somewhere, but it
doesn't always happen?
I am using Django, and have this in settings.py:
MIDDLEWARE_CLASSES = (
'google.appengine.ext.appstats.recording.AppStatsDjangoMiddleware',
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.