[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
I had a similar problem after upgrading to v 1.2.2 first I tried to roll back the update but I was unable to, but somehow the issue resolved after I restarted my computer. hope that helps On May 8, 1:34 pm, Rodrigo Amaral rodrigoama...@gmail.com wrote: Hello, Ryan My application is also broken, but shows a slightly different error. I'm not using any fork of the Query class. Here's the log: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/f1gp/3.44007892917312/f1gp.py, line 50, in get 'noticias' : Noticia.get_recentes(),})) File /base/python_lib/versions/1/google/appengine/ext/webapp/ template.py, line 81, in render return t.render(Context(template_dict)) File /base/python_lib/versions/1/google/appengine/ext/webapp/ template.py, line 121, in wrap_render return orig_render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 82, in render return compiled_parent.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/defaulttags.py, line 209, in render return self.nodelist_true.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/defaulttags.py, line 99, in render values = list(values) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1372, in __iter__ return self.run() File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1360, in run iterator = self._get_query().Run() File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1591, in _get_query keys_only=self._keys_only) AttributeError: 'Query' object has no attribute '_keys_only' Do you guys know a way to workaround this one? Thanks in advance! Rodrigo Amaral On 8 maio, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
The application works fine on localhost. This problem only shows up after deploy. It looks like the API version of the production environment had not been upgraded yet. It's a really weird situation and I can't figure out how to fix it. Suggestions are welcome. Thanks! On Wed, May 13, 2009 at 11:29 AM, Kwame iweg...@gmail.com wrote: I had a similar problem after upgrading to v 1.2.2 first I tried to roll back the update but I was unable to, but somehow the issue resolved after I restarted my computer. hope that helps On May 8, 1:34 pm, Rodrigo Amaral rodrigoama...@gmail.com wrote: Hello, Ryan My application is also broken, but shows a slightly different error. I'm not using any fork of the Query class. Here's the log: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/f1gp/3.44007892917312/f1gp.py, line 50, in get 'noticias' : Noticia.get_recentes(),})) File /base/python_lib/versions/1/google/appengine/ext/webapp/ template.py, line 81, in render return t.render(Context(template_dict)) File /base/python_lib/versions/1/google/appengine/ext/webapp/ template.py, line 121, in wrap_render return orig_render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 82, in render return compiled_parent.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/defaulttags.py, line 209, in render return self.nodelist_true.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/defaulttags.py, line 99, in render values = list(values) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1372, in __iter__ return self.run() File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1360, in run iterator = self._get_query().Run() File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1591, in _get_query keys_only=self._keys_only) AttributeError: 'Query' object has no attribute '_keys_only' Do you guys know a way to workaround this one? Thanks in advance! Rodrigo Amaral On 8 maio, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. -- Rodrigo Amaral rodrigoama...@gmail.com
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
I'm getting a slightly different error. My application behaves like the API had not been upgraded yet, but the Query object is called in the new way. Please note that the only thing I do in this case is to call the all() method of the model. Here's the traceback: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/f1gp/3.45031119336744/f1gp.py, line 116, in get 'pilotos' : Piloto.all() })) File /base/python_lib/versions/1/google/appengine/ext/webapp/template.py, line 81, in render return t.render(Context(template_dict)) File /base/python_lib/versions/1/google/appengine/ext/webapp/template.py, line 121, in wrap_render return orig_render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 82, in render return compiled_parent.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 168, in render return self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/loader_tags.py, line 23, in render result = self.nodelist.render(context) File /base/python_lib/versions/1/django/template/__init__.py, line 705, in render bits.append(self.render_node(node, context)) File /base/python_lib/versions/1/django/template/__init__.py, line 718, in render_node return(node.render(context)) File /base/python_lib/versions/1/django/template/defaulttags.py, line 99, in render values = list(values) File /base/python_lib/versions/1/google/appengine/ext/db/__init__.py, line 1372, in __iter__ return self.run() File /base/python_lib/versions/1/google/appengine/ext/db/__init__.py, line 1360, in run iterator = self._get_query().Run() File /base/python_lib/versions/1/google/appengine/ext/db/__init__.py, line 1591, in _get_query keys_only=self._keys_only) AttributeError: 'Query' object has no attribute '_keys_only' Do you guys have any clue? Thanks in advance! Rodrigo Amaral On Sat, May 9, 2009 at 9:08 PM, Kwame iweg...@gmail.com wrote: I just upgraded to version 1.2.2 and I'm getting a similar error: Exception exceptions.SystemError: 'error return without exception set' in generator object at 0x3033300 ignored ERROR 2009-05-10 00:04:36,585 __init__.py:385] __init__() got an unexpected keyword argument 'keys_only' Traceback (most recent call last): ... File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1381, in get results = self.fetch(1) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1425, in fetch raw = self._get_query().Get(limit, offset) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1590, in _get_query keys_only=self._keys_only) TypeError: __init__() got an unexpected keyword argument 'keys_only' ... I'm not using BookmarkQuery, so how do I fix this??? Please help! On May 8, 11:04 am, Manu manuelar...@gmail.com wrote: Hi! Thanks a bunch! That fixed all :D:D:D Will that work after the upcoming release? Can I ask you (if you have time, tell me, if not, no problem) why was that failing? I'd really like to understand a little more. Also, I'd like to understand how all of this BookmarkQuery works... I'll have to read the source and learn a bit Thanks for your time! Manu On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com wrote: Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None,
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
Were you prompted to update within GoogleAppEngineLauncher or did you manually choose to update by selecting Check for Updates in GoogleAppEngineLauncher's Help menu? - Jason On Sat, May 9, 2009 at 5:08 PM, Kwame iweg...@gmail.com wrote: I just upgraded to version 1.2.2 and I'm getting a similar error: Exception exceptions.SystemError: 'error return without exception set' in generator object at 0x3033300 ignored ERROR2009-05-10 00:04:36,585 __init__.py:385] __init__() got an unexpected keyword argument 'keys_only' Traceback (most recent call last): ... File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1381, in get results = self.fetch(1) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1425, in fetch raw = self._get_query().Get(limit, offset) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1590, in _get_query keys_only=self._keys_only) TypeError: __init__() got an unexpected keyword argument 'keys_only' ... I'm not using BookmarkQuery, so how do I fix this??? Please help! On May 8, 11:04 am, Manu manuelar...@gmail.com wrote: Hi! Thanks a bunch! That fixed all :D:D:D Will that work after the upcoming release? Can I ask you (if you have time, tell me, if not, no problem) why was that failing? I'd really like to understand a little more. Also, I'd like to understand how all of this BookmarkQuery works... I'll have to read the source and learn a bit Thanks for your time! Manu On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com wrote: Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None, keys_only=False): super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only) --- -Nick Johnson On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote: the code for BookmarkQuery is here: http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py I'm using it but haven't developed it myself, so I don't really know how it works. Please help me, isn't there a way to quickly fix this at least for the moment? Thanks in advance! Manuel On 8 mayo, 02:05, ryan ryanb+appeng...@google.comryanb%2bappeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp:// groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
I was prompted to update it. However the problem resolved after I restarted the JVM. On May 11, 2009, at 1:39 PM, Jason (Google) apija...@google.com wrote: Were you prompted to update within GoogleAppEngineLauncher or did you manually choose to update by selecting Check for Updates in GoogleAppEngineLauncher's Help menu? - Jason On Sat, May 9, 2009 at 5:08 PM, Kwame iweg...@gmail.com wrote: I just upgraded to version 1.2.2 and I'm getting a similar error: Exception exceptions.SystemError: 'error return without exception set' in generator object at 0x3033300 ignored ERROR2009-05-10 00:04:36,585 __init__.py:385] __init__() got an unexpected keyword argument 'keys_only' Traceback (most recent call last): ... File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1381, in get results = self.fetch(1) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1425, in fetch raw = self._get_query().Get(limit, offset) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1590, in _get_query keys_only=self._keys_only) TypeError: __init__() got an unexpected keyword argument 'keys_only' ... I'm not using BookmarkQuery, so how do I fix this??? Please help! On May 8, 11:04 am, Manu manuelar...@gmail.com wrote: Hi! Thanks a bunch! That fixed all :D:D:D Will that work after the upcoming release? Can I ask you (if you have time, tell me, if not, no problem) why was that failing? I'd really like to understand a little more. Also, I'd like to understand how all of this BookmarkQuery works... I'll have to read the source and learn a bit Thanks for your time! Manu On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com wrote: Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None, keys_only=False): super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only) --- -Nick Johnson On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote: the code for BookmarkQuery is here: http://bitbucket.org/moraes/appengine/src/422cc9b9473b/ bookmark.py I'm using it but haven't developed it myself, so I don't really know how it works. Please help me, isn't there a way to quickly fix this at least for the moment? Thanks in advance! Manuel On 8 mayo, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/ google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
I just upgraded to version 1.2.2 and I'm getting a similar error: Exception exceptions.SystemError: 'error return without exception set' in generator object at 0x3033300 ignored ERROR2009-05-10 00:04:36,585 __init__.py:385] __init__() got an unexpected keyword argument 'keys_only' Traceback (most recent call last): ... File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1381, in get results = self.fetch(1) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1425, in fetch raw = self._get_query().Get(limit, offset) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py, line 1590, in _get_query keys_only=self._keys_only) TypeError: __init__() got an unexpected keyword argument 'keys_only' ... I'm not using BookmarkQuery, so how do I fix this??? Please help! On May 8, 11:04 am, Manu manuelar...@gmail.com wrote: Hi! Thanks a bunch! That fixed all :D:D:D Will that work after the upcoming release? Can I ask you (if you have time, tell me, if not, no problem) why was that failing? I'd really like to understand a little more. Also, I'd like to understand how all of this BookmarkQuery works... I'll have to read the source and learn a bit Thanks for your time! Manu On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com wrote: Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None, keys_only=False): super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only) --- -Nick Johnson On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote: the code for BookmarkQuery is here: http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py I'm using it but haven't developed it myself, so I don't really know how it works. Please help me, isn't there a way to quickly fix this at least for the moment? Thanks in advance! Manuel On 8 mayo, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None, keys_only=False): super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only) --- -Nick Johnson On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote: the code for BookmarkQuery is here: http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py I'm using it but haven't developed it myself, so I don't really know how it works. Please help me, isn't there a way to quickly fix this at least for the moment? Thanks in advance! Manuel On 8 mayo, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
Hi! Thanks a bunch! That fixed all :D:D:D Will that work after the upcoming release? Can I ask you (if you have time, tell me, if not, no problem) why was that failing? I'd really like to understand a little more. Also, I'd like to understand how all of this BookmarkQuery works... I'll have to read the source and learn a bit Thanks for your time! Manu On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com wrote: Hi Manu, For now you can get things working again by replacing lines 36 and 37 of bookmark.py with this: --- def __init__(self, kind, filters={}, _app=None, keys_only=False): super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only) --- -Nick Johnson On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote: the code for BookmarkQuery is here: http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py I'm using it but haven't developed it myself, so I don't really know how it works. Please help me, isn't there a way to quickly fix this at least for the moment? Thanks in advance! Manuel On 8 mayo, 02:05, ryan ryanb+appeng...@google.com wrote: hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described inhttp://groups.google.com/group/google-appengine/browse_thread/thread/... , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: my app suddenly shows an error! yesterday, everything OK
hi manuel! we pushed a new version of our API code to production recently in preparation for an upcoming release, which has caused problems for people who use forked versions of some of our API code, like the problem described in http://groups.google.com/group/google-appengine/browse_thread/thread/8e9267e3c9346317 , or code that reaches below our API layer, which it sounds like BookmarkQuery does. i don't have the BookmarkQuery source, so i don't know the exact fix you need, but the problem stems from a new optional keyword argument that we added to the Query classes' constructors. try adding a keys_only=None parameter to BookmarkQuery's constructor and see if that helps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---