[google-appengine] Re: Data Viewer Not updating in response to changes in models.py
The old entities won't get the new properties automatically. This will only happen if you put() them again. On 4 Mrz., 07:23, The Happiness Project wrote: > Hi Everybody, > > I made some changes in my models.py file --- added some types as well > as some fields for existing types --- and none of them are reflected > in the dashboard data viewer. According to the documentation, there's > no equivalent of syncdb to run; the datastore is supposed to be > updated automatically. But I waited a day and still nothing. Has > anyone else experienced this, and does anyone know what's causing it? > > 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 google-appeng...@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: Data Viewer Server Error
The Server Error is only tripped when I try to view a specific kind of entity ("Location" entities in my case) using Google's Dashboard Data Viewer. As its name implies, none of the Location entities have a UserProperty field, so I'm afraid that is not the cause of the Server Errors. I'm afraid this is something only a Google Engineer can solve for me as it only affects the Dashboard Data Viewer. My app can read and write Location entities without any errors. On Nov 14, 3:00 pm, 风笑雪 wrote: > I also met this error before. > > If your model has some UserProperty field, and you put this entity > with a valid email address. Then the user changed his email address, > and you want go to see his data, you will get an error in data viewer. > You can select this entity(can't use UserProperty field), and save it > without any change, then this entity will be able to view. > > 2009/11/14 davekor : > > > Hi, > > > Every time I try to view some of the data stored in my application > > (app-id: extrasolar-dev), I receive a Server Error. I have no idea > > what's going on and have no way to fix it. Please help? > > > Regards, > > Dave Kor > > Extrasolar Game Dev > > > -- > > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=. -- 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-appeng...@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=.
[google-appengine] Re: data viewer couldn't retrieve list of Kinds
I've received this same message while deleting items. I was using the remote_api to delete 300 items at a time (trying to remove every entry of one Kind). However, there are only 2 kinds in the app at all (one of which I was deleting) so I wouldn't say mine is related to a large number of Kinds. I'm not really sure how I send you an app ID to inspect, via this message group? On Sep 10, 6:14 pm, "Jeff S (Google)" wrote: > Hi kostmo and Sebastjan, > > Could you send me the app IDs where you are seeing this? I imagine that the > problem is the admin console is timing out when attempting to introspect a > list of kinds used in your app. This has happened to a few apps before and > is more likely where there is a large number of kinds and they are added all > at once (not incrementally). Since you mentioned a recent bulk upload, this > would be my first guess as to the cause. If I know the app ID I can look > into it. > > Cheers, > > Jeff > > On Wed, Sep 9, 2009 at 4:04 AM, Sebastjan Trepca wrote: > > > This exact thing has happened to me too after bulk uploading. What's > > the problem? > > > Sebastjan > > > On Sep 6, 5:37 pm, kostmo wrote: > > > When I click on the Data Viewer in the "production" console, I keep > > > getting the message "Oops! We couldn't retrieve your list of Kinds." > > > This has happened often, for extended periods, over the past several > > > days while I'm trying to bulk upload/delete. What specific conditions > > > would cause this error, and how can it be avoided? It makes debugging > > > difficult when the datastore cannot be examined. > > > > When I enter a GQL query in the box below the error message, I get no > > > results for Kinds that I would expect to be in the datastore. > > --~--~-~--~~~---~--~~ 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: data viewer couldn't retrieve list of Kinds
Hi kostmo and Sebastjan, Could you send me the app IDs where you are seeing this? I imagine that the problem is the admin console is timing out when attempting to introspect a list of kinds used in your app. This has happened to a few apps before and is more likely where there is a large number of kinds and they are added all at once (not incrementally). Since you mentioned a recent bulk upload, this would be my first guess as to the cause. If I know the app ID I can look into it. Cheers, Jeff On Wed, Sep 9, 2009 at 4:04 AM, Sebastjan Trepca wrote: > > This exact thing has happened to me too after bulk uploading. What's > the problem? > > Sebastjan > > On Sep 6, 5:37 pm, kostmo wrote: > > When I click on the Data Viewer in the "production" console, I keep > > getting the message "Oops! We couldn't retrieve your list of Kinds." > > This has happened often, for extended periods, over the past several > > days while I'm trying to bulk upload/delete. What specific conditions > > would cause this error, and how can it be avoided? It makes debugging > > difficult when the datastore cannot be examined. > > > > When I enter a GQL query in the box below the error message, I get no > > results for Kinds that I would expect to be in the datastore. > > > --~--~-~--~~~---~--~~ 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: data viewer couldn't retrieve list of Kinds
This exact thing has happened to me too after bulk uploading. What's the problem? Sebastjan On Sep 6, 5:37 pm, kostmo wrote: > When I click on the Data Viewer in the "production" console, I keep > getting the message "Oops! We couldn't retrieve your list of Kinds." > This has happened often, for extended periods, over the past several > days while I'm trying to bulk upload/delete. What specific conditions > would cause this error, and how can it be avoided? It makes debugging > difficult when the datastore cannot be examined. > > When I enter a GQL query in the box below the error message, I get no > results for Kinds that I would expect to be in the datastore. --~--~-~--~~~---~--~~ 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: Data Viewer
Hi Jeff, My app ID is: ecoknowmics -Ed On Jul 27, 1:54 pm, "Jeff S (Google)" wrote: > Hi Ed, > > What is your app ID? I'll look into this. > > Thank you, > > Jeff > > On Fri, Jul 24, 2009 at 10:27 PM, Ed wrote: > > > Hi GAE staff, > > Any particular reason why I can no longer view my data using Data > > Viewer? I always get the encouraging message to "...please try again > > later" and when I do, I get back the same message. > > Thanks. > > -Ed --~--~-~--~~~---~--~~ 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: Data Viewer
Hi Ed, What is your app ID? I'll look into this. Thank you, Jeff On Fri, Jul 24, 2009 at 10:27 PM, Ed wrote: > > Hi GAE staff, > Any particular reason why I can no longer view my data using Data > Viewer? I always get the encouraging message to "...please try again > later" and when I do, I get back the same message. > Thanks. > -Ed > > > --~--~-~--~~~---~--~~ 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: Data Viewer Issues
elsigh, I am sorry, but i cannot disclose the appid and exact query. But trust me all the queries are pretty straightforward. Also i have used quotes, but that does not make any difference. Thanks On Jul 1, 6:20 pm, elsigh wrote: > Maybe try single quotes around the id? What is your app_id by the way > - and an exact query you see this with? > > On Jul 1, 10:01 am, vivpuri wrote: > > > > > I have been facing couple of issues with theDataViewer. Looking at > > the issue tracker, i cannot find anyone else who reported them, so > > wanted to check if someone else is facing them too. > > > 1. Second Query fails: In theDataViewer, if i choose the "Query" > > option and enter a query like: SELECT * FROMdatawhere myid=201840, > > the query runs successfully 1st time. If i hit "Run Query" again, with > > the same query or with myid altered, it always fails with the message > > - "Invalid GQL query string.". So, the pattern is, if i try to execute > > queries consecuetively in DataViewer, they just fail. Way to escape > > this loop is to switch back to "Kind" view, view some random kind > >data, switch back to "Query" view, run the query that failed, and the > > results show up. > > > 2. Pagination in Query view: Once again, with the "Query" option being > > selected, i run a query for which i know there are more than 20 > > results. Results show up fine. Now, if i click on "Next Page", > > following error message shows up - "Invalid GQL query string." > > > Both of the above issues dont happen consistently, but i have seen > > them happen quite a few times. --~--~-~--~~~---~--~~ 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: Data Viewer Issues
Maybe try single quotes around the id? What is your app_id by the way - and an exact query you see this with? On Jul 1, 10:01 am, vivpuri wrote: > I have been facing couple of issues with the Data Viewer. Looking at > the issue tracker, i cannot find anyone else who reported them, so > wanted to check if someone else is facing them too. > > 1. Second Query fails: In the Data Viewer, if i choose the "Query" > option and enter a query like: SELECT * FROM data where myid=201840, > the query runs successfully 1st time. If i hit "Run Query" again, with > the same query or with myid altered, it always fails with the message > - "Invalid GQL query string.". So, the pattern is, if i try to execute > queries consecuetively in DataViewer, they just fail. Way to escape > this loop is to switch back to "Kind" view, view some random kind > data, switch back to "Query" view, run the query that failed, and the > results show up. > > 2. Pagination in Query view: Once again, with the "Query" option being > selected, i run a query for which i know there are more than 20 > results. Results show up fine. Now, if i click on "Next Page", > following error message shows up - "Invalid GQL query string." > > Both of the above issues dont happen consistently, but i have seen > them happen quite a few times. --~--~-~--~~~---~--~~ 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: Data Viewer Server Error?
Hi davekor, I've seen this crop up when one of the entities which is in the first page of results for the admin console does not satisfy the constraints set up in the entity's class. Could I see the class definitions for the entities that you are using? Thank you, Jeff On Tue, Jun 9, 2009 at 7:16 PM, davekor wrote: > > I have a Java app (App's name is extrasolar-dev) that causes the admin > Data Viewer to break with the following message: > > Server Error > > A server error has occurred. > > > I used some pretty complex data objects (JDO embedded objects, as well > as one-to-many relations) and I suspect that could be the cause. > However, no further details were provided so I'm a little confused as > to what I did to cause this or how I can fix it. Can someone on the > AppEngine team figure out what's going on? Should I file a bug report? > > > > --~--~-~--~~~---~--~~ 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: Data Viewer only show the first 1000 entities
1000 is a magic number on appengine http://code.google.com/search/#p=appengine&q=1000 (the data viewer uses the datastore api too) On 31/03/2009, Tom Wu wrote: > > Why the Data Viewer only show the first 1000 entities in control > panel ? > > Best Regards > > Tom Wu > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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: Data Viewer GQL to test if value == null?
Using Query instead of Gqlquery you can do: model.Bookmark.all().filter('favIcon', None) Regards, On Nov 29, 7:22 am, pr3d4t0r <[EMAIL PROTECTED]> wrote: > On Nov 28, 2:00 pm, Alexander Kojevnikov <[EMAIL PROTECTED]> > wrote: > > > The GQL reference doesn't mention a NULL value literal. However, this > > hack will do the job: > > > SELECT * FROM Bookmark WHERE favIcon < '' > > > This is not documented, use at your own risk. > > Ah, good idea. Thanks! > > pr3d4t0rhttp://istheserverup.comhttp://genpasswd.eugeneciurana.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer GQL to test if value == null?
On Nov 28, 2:00 pm, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > The GQL reference doesn't mention a NULL value literal. However, this > hack will do the job: > > SELECT * FROM Bookmark WHERE favIcon < '' > > This is not documented, use at your own risk. Ah, good idea. Thanks! pr3d4t0r http://istheserverup.com http://genpasswd.eugeneciurana.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer GQL to test if value == null?
You can have a default value in your model and then filter value = db.IntegerProperty(default=-1) filter("value =", -1) 2008/11/28 Alexander Kojevnikov <[EMAIL PROTECTED]> > > The GQL reference doesn't mention a NULL value literal. However, this > hack will do the job: > >SELECT * FROM Bookmark WHERE favIcon < '' > > This is not documented, use at your own risk. > > On Nov 28, 7:01 pm, pr3d4t0r <[EMAIL PROTECTED]> wrote: > > Greetings. > > > > I tried many variations of this query: > > > > SELECT * FROM Bookmark WHERE favIcon = null > > > > Including ==, is, null, , None, etc. I need to find all the > > instances of a Bookmark entity for which the favIcon was set to None > > in the Python code. > > > > I know how to do it from the application itself; rather trivial. > > Where I can't do it is in the Data Viewer query string. > > > > Thanks in advance, > > > > pr3d4t0rhttp://istheserverup.comhttp://teslatestament.com > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer GQL to test if value == null?
The GQL reference doesn't mention a NULL value literal. However, this hack will do the job: SELECT * FROM Bookmark WHERE favIcon < '' This is not documented, use at your own risk. On Nov 28, 7:01 pm, pr3d4t0r <[EMAIL PROTECTED]> wrote: > Greetings. > > I tried many variations of this query: > > SELECT * FROM Bookmark WHERE favIcon = null > > Including ==, is, null, , None, etc. I need to find all the > instances of a Bookmark entity for which the favIcon was set to None > in the Python code. > > I know how to do it from the application itself; rather trivial. > Where I can't do it is in the Data Viewer query string. > > Thanks in advance, > > pr3d4t0rhttp://istheserverup.comhttp://teslatestament.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer gives "Server Error" when I want to edit an object, after extending the Model Kind
The issue was solved after the creation of the Kind with the Data Viewer. The Data Viewer was aware of the new code upload, because the created entity had the added IntegerProperty. It was not only schema caching, but also entity caching, the page showed the deleted entities. I removed the entities by selecting them all and pressing delete, and still the cache was not cleared. The Server error was that I tried to lookup a Key that did not exist in the new versions of the entities, but was a Key from the deleted entities. Why is there a version=1.xx parameter in many links in the DashBoard? Only the Dashboard and the Logs change based on version. And because you only have one minor version for every major version, why is the minor version part of the link parameter. The page with the wrong cached entity table had version=1.xx links with xx the previous minor version. 2008/10/29 Marzia Niccolai <[EMAIL PROTECTED]>: > Hi, > > I don't think this is related to that issue. > > It seems this may be related to schema caching in the admin console. Is > this still an issue for you now? > > If so, can you provide the app id and kind so that I can further > investigate? > > -Marzia > > On Wed, Oct 29, 2008 at 12:20 AM, djidjadji <[EMAIL PROTECTED]> wrote: >> >> I had to add an extra property to two of my Kinds, both got an extra >> db.IntegerProperty. >> I deleted all instances of the kinds with the "Data Viewer". >> I uploaded the new source code, and started to create entities of the >> enhanced Kinds. >> >> Then later viewing the Kinds in the Datastore I found that for one >> Kind the extra property was not in the main table view for that Kind. >> Trying to edit these entities I got a server error for most of them, >> one was able to show the edit form with the extra IntegerProperty. >> I tried that: maybe if I create an entity of this Kind from within the >> Data Viewer it will reset its data model. >> After creation of the new entity I could open edit forms for all the >> instances of this Kind. And it showed the new IntegerProperty in the >> main table view. >> >> For the creation I had opened an other instance of the Data Viewer on >> a new tab, because I needed a few keys to copy. >> But then I noticed that both main table views where different, the >> objects had different key names. It looked as if the version giving >> the error showed the entities from before the delete all entities of >> this Kind. And there was only one entity that had the same Key, the >> one I could edit. >> >> The links on the left of the page, in the error version, of the Data >> Viewer contained the previous version number 1.43. >> After the create entity the links had the new version number 1.44. >> >> Is this related to issue 384? >> http://code.google.com/p/googleappengine/issues/detail?id=384 >> >> > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer gives "Server Error" when I want to edit an object, after extending the Model Kind
Hi, I don't think this is related to that issue. It seems this may be related to schema caching in the admin console. Is this still an issue for you now? If so, can you provide the app id and kind so that I can further investigate? -Marzia On Wed, Oct 29, 2008 at 12:20 AM, djidjadji <[EMAIL PROTECTED]> wrote: > > I had to add an extra property to two of my Kinds, both got an extra > db.IntegerProperty. > I deleted all instances of the kinds with the "Data Viewer". > I uploaded the new source code, and started to create entities of the > enhanced Kinds. > > Then later viewing the Kinds in the Datastore I found that for one > Kind the extra property was not in the main table view for that Kind. > Trying to edit these entities I got a server error for most of them, > one was able to show the edit form with the extra IntegerProperty. > I tried that: maybe if I create an entity of this Kind from within the > Data Viewer it will reset its data model. > After creation of the new entity I could open edit forms for all the > instances of this Kind. And it showed the new IntegerProperty in the > main table view. > > For the creation I had opened an other instance of the Data Viewer on > a new tab, because I needed a few keys to copy. > But then I noticed that both main table views where different, the > objects had different key names. It looked as if the version giving > the error showed the entities from before the delete all entities of > this Kind. And there was only one entity that had the same Key, the > one I could edit. > > The links on the left of the page, in the error version, of the Data > Viewer contained the previous version number 1.43. > After the create entity the links had the new version number 1.44. > > Is this related to issue 384? > http://code.google.com/p/googleappengine/issues/detail?id=384 > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Data Viewer Errors
On Oct 13, 7:42 am, gg <[EMAIL PROTECTED]> wrote: > Anyone else seeing: > > Server Error > > A server error has occured. > > Return to Applications screen » > > When trying to paginate through your data in Data Viewer Haven't seen it while paging through, but I've definitely had that error when editing an entity -- both on the production server and the local development server. I've observed a weak correlation between seeing the error message and having data in the Datastore that violates model constraints (e.g., I altered the model and made a field required that previously wasn't, but I have old data in the datastore that have that field set to null). In development, I've only been able to solve it by blowing away my datastore, and in production it seems to have resolved itself. best, - Fred. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---