[google-appengine] Re: Error: Server Error after updating the application
thanks sorry i forgot about the log in appengine from the dashboard. i got it ... i included a django module from appengine.lib.django.django.utils.encoding which throwed me the error. i don't know exactly why ... but the its important that know it works. thanks again, racz On Wed, May 13, 2009 at 12:50 AM, Jason (Google) apija...@google.comwrote: The application loads on my end -- were you able to find and address the cause of the error or do I need to hit a particular handler? If you see this type of error in the future, you should first check the application's logs (linked from your application's Dashboard) to see if there are any more details that can help you pinpoint the cause. - Jason On Tue, May 12, 2009 at 1:46 AM, Racz rbmboo...@gmail.com wrote: hello there, i have the following problem the application runs perfectly on localhost, but i have successfully update it and try accessing it i receive this useless error log: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. i didnt found any answer yet even though i've searched through the issues and other group postings. my app.yaml looks like this: application: portalsmartmetering version: 1 runtime: python api_version: 1 handlers: - url: /static static_dir: static - url: /.* script: index.py my directory structure includes a static directory for css, javascript and other application directories like template, gdata and gchartwrapper portalsmartmetering.appspot.com any solution? thanks a lot --~--~-~--~~~---~--~~ 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] Error: Server Error after updating the application
hello there, i have the following problem the application runs perfectly on localhost, but i have successfully update it and try accessing it i receive this useless error log: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. i didnt found any answer yet even though i've searched through the issues and other group postings. my app.yaml looks like this: application: portalsmartmetering version: 1 runtime: python api_version: 1 handlers: - url: /static static_dir: static - url: /.* script: index.py my directory structure includes a static directory for css, javascript and other application directories like template, gdata and gchartwrapper portalsmartmetering.appspot.com any solution? thanks a lot --~--~-~--~~~---~--~~ 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] filter a query for distinct data in one field
hello there, i have the following problem, i have a query like this: que = db.Query(CUser) que = que.filter('id =', id) results = que.fetch(limit=50) and the CUser entity: class CUser(db.Model): id_admin = db.StringProperty() bloc = db.StringProperty() apartment = db.StringProperty() the problem is that i have more apartments per each bloc so the entries look something like this: admin1 | bloc 1 | ap 1 admin1 | bloc 1 | ap 2 ... and so on when i filter the query for admin1 i want the result to be only bloc 1 not something like this: bloc 1 bloc 1 any solutions? thanks, racz --~--~-~--~~~---~--~~ 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] delete an entity
i found this q=db.GqlQuery(SELECT * from User where create_date :1, earliest_date) results = q.fetch(10) db.delete(results) source :http://code.google.com/appengine/docs/python/datastore/ creatinggettinganddeletingdata.html#Deleting_an_Entity but it gives me this error: NameError: global name 'earliest_date' is not defined can anybody give me a clue --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---