The internals of the Query class have been recently changed. Are you retrieving Query objects from somewhere (memcache perhaps?) instead of constructing them when needed?
Memcaching Query objects isn't generally a good idea. You probably want to cache the results instead. See e.g., http://groups.google.com/group/google-appengine/browse_thread/thread/2a555b8c33cbbd62/b9d6511a2eafa581 On Feb 10, 4:30 am, Marzia Niccolai <[email protected]> wrote: > Hi, > > Can you please post the code to the handler where you are seeing this issue. > > -Marzia > > On Sun, Feb 8, 2009 at 7:30 AM, Davide Ferrero <[email protected]> wrote: > > > From 2 two days my applications fall in error in every pages. I don't > > have modified nothing from 1 week and three days ago my application > > works correctly.. this is the error log: > > > # > > 02-08 07:24AM 44.966 / 500 194ms 139ms-cpu 0kb > > See details > > 79.50.168.248 - - [08/Feb/2009:07:24:45 -0800] "GET / HTTP/1.1" > > 500 104 - - > > E 02-08 07:24AM 45.081 > > > 'Query' object has no attribute '_Query__query_sets' > > Traceback (most recent call last): > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > __init__.py", line 498, in __call__ > > handler.get(*groups) > > File "/base/data/home/apps/sbook/1.331254528912766865/ > > main.py", line 89, in get > > tags=Cloud.tagCloud() > > File "/base/data/home/apps/sbook/1.331254528912766865/ > > main.py", line 173, in tagCloud > > for q in q1: > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > __init__.py", line 1336, in __iter__ > > return self.run() > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > __init__.py", line 1328, in run > > return _QueryIterator(self._model_class, iter(self._get_query > > ().Run())) > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > __init__.py", line 1547, in _get_query > > for query_set in self.__query_sets: > > AttributeError: 'Query' object has no attribute > > '_Query__query_sets' > > > 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 -~----------~----~----~----~------~----~------~--~---
