[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Jesse Grosjean
> Me too -- clearing cookies fixed the problem. Kinda strange, but > whatever I think the problem is bigger then that... at least for me. I can fix the problem by clearning cookies, but the problem also comes back after a few minutes. Maybe after I've logged into one of my google accounts. Je

[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Jesse Grosjean
> Actually your site (www.bijout.com) loads for me in Safari, and I > found that my own site loads if I switch to a different user on my > computer. Is something in cookies / cache triggering this? I think it must be related to that. I said that resetting Safari fixed the problem for me... and it

[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Jesse Grosjean
This appears to now be a local problem, at least for me. I'm on OS X using Safari. If I change to Firefox then my sites load. I cleared cache on Safari and still saw the problem. Then I did "Reset Safari" and that appears to have fixed the problem. Sorry for sounding the alarms when the problem wa

[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Jesse Grosjean
Not sure what is going on exactly. Maybe a local problem... though the rest of the web works. Anyway: https://appengine.google.com/ Now works for me. As do my appspot related URLS: http://hogbaysoftware.appspot.com/ http://simpletextws.appspot.com/ But I'm still seeing a sitewide 500 error when

[google-appengine] Sitewide 500 errors

2010-02-02 Thread Jesse Grosjean
I'm seeing the following error on all of my app engine sites including: https://appengine.google.com/ http://www.hogbaysoftware.com/ http://www.simpletext.ws/ ... - Error: Server Error The server encountered an error and could not compl

[google-appengine] javax.net.ssl.SSLHandshakeException

2009-09-04 Thread Jesse Grosjean
I use Google Checkout and recently (since Aug 29th) I've been seeing errors in the Google Checkout integration console. They look like this: "We encountered an error trying to access your server at https://hogbaysoftware.appspot.com/googlecheckoutapicallback -- the error we got is javax.net.ssl.S

[google-appengine] Help with storage quota reading

2009-08-23 Thread Jesse Grosjean
Dumb question, but just want to make sure that I'm getting this right. In my dashboard I see: Stored Data, $0.005/GByte-day, 0%, 0.07 of 201.00 GBytes, $0.00 / $1.00 Am I correct in interpurting this to say that I've used 0.07 GBytes (~72 MBytes) of storage so far? Thanks, Jesse --~--~-

[google-appengine] How to handle MemoryError

2009-08-07 Thread Jesse Grosjean
I'm getting the following error in app engine: Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 509, in __call__ handler.post(*groups) File "/base/data/home/apps/hogbaywriteroom/1.335453192513689606/ documents.py", line 6

[google-appengine] Re: Datastore problem?

2009-08-06 Thread Jesse Grosjean
The problem seems to be fixed now, for me anyway. --~--~-~--~~~---~--~~ 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 t

[google-appengine] Datastore problem?

2009-08-06 Thread Jesse Grosjean
I'm seeing lots of Datastore timeouts right now that I don't ushually see on www.writeroom.ws. Is there a known issue with the datastore now? Jesse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Is "class Body(db.Model):" ok?

2009-06-25 Thread Jesse Grosjean
> Sorry, I misread your original post. The issue here is that the only > property theBodyentity has is a TextProperty, which is not indexed. > It's a known bug (we're working on it!) that entities with no indexed > properties do not show up in the production Admin Console. Your data > is there, it

[google-appengine] Re: Is "class Body(db.Model):" ok?

2009-06-25 Thread Jesse Grosjean
> > It sometimes takes a while for new entity types to be reflected in the Admin > > Console. Are the entities showing up now? > > No, I'm still seeing the same errors in the console. My app ID is > hogbaytaskpaper. I'm doing a migration, extracting a big TextProperty from my Document model into

[google-appengine] Re: Is "class Body(db.Model):" ok?

2009-06-24 Thread Jesse Grosjean
> It sometimes takes a while for new entity types to be reflected in the Admin > Console. Are the entities showing up now? No, I'm still seeing the same errors in the console. My app ID is hogbaytaskpaper. Jesse --~--~-~--~~~---~--~~ You received this message beca

[google-appengine] Re: Is "class Body(db.Model):" ok?

2009-06-23 Thread Jesse Grosjean
> Have you added any Body entities to your datastore?  Sometimes I get > HTTP 500 errors in the console viewer for models with no existing > entities. Yes I've added a lot, and they seem to be working, I just don't see them in the console. I also have an "Includes ancestors" index that's serving

[google-appengine] Is "class Body(db.Model):" ok?

2009-06-23 Thread Jesse Grosjean
I've just added a new model class to my app that's defined like this: class Body(db.Model): content = db.TextProperty() It seems to be working fine in my server code, but for some reason it doesn't show up in the list of entities shown by the App Engine Console Data Viewer. Also when I r

[google-appengine] Re: Model design for wiki like "index" pages

2009-06-21 Thread Jesse Grosjean
> One thing that comes to mind first is to use key_name for that purpose. > Perhaps you can use pagenames as key_name when storing pages, you can > use keys_only query for rendering the "Index" page. Thanks, I hadn't taken the time to learn about key queries, and they look like a great tool to ha

[google-appengine] Model design for wiki like "index" pages

2009-06-20 Thread Jesse Grosjean
I have a wiki like app. The basic model is a page which has title(StringProperty) and a body (TextProperty) properties. It all seems to work well, but I'm not sure how well my model will scale. The problem I see is that I want to have an "Index" page, which lists all other pages. My concern is w

[google-appengine] Is the new User.user_id() property guaranteed to exist?

2009-06-18 Thread Jesse Grosjean
>From the docs it seems that it is. But on the dev server User.user_id () returns None. And that's breaking some of my code, because I'd like to make the property where I store the ID as required, but I can't do that now since None is returned on the dev server. Jesse --~--~-~--~~

[google-appengine] Re: https access through naked domain

2009-06-12 Thread Jesse Grosjean
Nick, > The problem here is likely that GoDaddy aren't serving redirects over port > 443 (the HTTPS port). Even if they were, users would get dire warnings about > broken SSL certificates. Thanks for your quick response. > The only solution is to find someone who will serve 302 redirects and ho

[google-appengine] Re: https access through naked domain

2009-06-12 Thread Jesse Grosjean
I forgot on last bit of information. I no longer need https support for any page on my site. So in the above example I would be happy to have https://hogbaysoftware.com/store turn into http://www.hogbaysoftware.com/store, I don't need it forwarded to my secure appspot domain. Thanks, Jesse --~--

[google-appengine] https access through naked domain

2009-06-12 Thread Jesse Grosjean
I'm hosting my website (www.hogbaysoftware.com) through Google Apps and on Google App engine. Previously this site was hosted on another service that allowed naked domains, so I have many incoming links of the form http://hogbaysoftware.com. To fix these links I enabled forwarding on Godaddy.com

[google-appengine] Re: URI Errors... logs?

2009-04-18 Thread Jesse Grosjean
> Be sure to check the 'request' logs. If your app returned a non-200 > response code but didn't log an error, it will not show up in the > 'error' logs. Thanks! I didn't realize that. I'm guessing that it also won't log a response for 3XX errors? At least it seems not to. Does anyone know exact

[google-appengine] URI Errors... logs?

2009-04-17 Thread Jesse Grosjean
I'm sorry if this has been covered elsewhere, but I can't seem to find it. In my apps Dashboard I see and errors box that looks like this: Errors URI Count % Errors /v1/documents 29 14% /v1/documents/3039-1/edits

[google-appengine] Google Accounts RSS feed authentication

2009-04-10 Thread Jesse Grosjean
I'm using the built in "users" authentication on my website. I really like it's simplicity, and I like the fact that many potential users will already have a Google Account, so they can use my site without having to create a new account. But I've run into a problem. I'd like to have protected (pr

[google-appengine] best transaction and then memcache.delete pattern

2009-03-13 Thread Jesse Grosjean
What's the best pattern for using transactions together with memcache.delete? def txn(): ... get, put some entities Option 1: do memcache.delete here db.run_in_transaction(txn) Option 2: do memcache.delete here Option 1 is to run do it in the last line(s) of the txn() function. Option 2

[google-appengine] Re: Transaction collision AND AttributeError: 'Document' object has no attribute '_key_name'

2009-03-13 Thread Jesse Grosjean
After a bit more playing and reading I think the route of my problem is that I've designed things so that there is a bit to much contention in my entity group, I probably shouldn't be running into failed transactions so much in the first place. My basic design is that each user account marks the

[google-appengine] Transaction collision AND AttributeError: 'Document' object has no attribute '_key_name'

2009-03-13 Thread Jesse Grosjean
I'm running into a frequent AttributeError: 'Document' object has no attribute '_key_name' Error when I try to delete multiple documents from the datastore (same entity group). This error only occurs when the delete request first runs into a "Transaction collision". So for example I send the

[google-appengine] ClientLogin for App Engine and HOSTED_OR_GOOGLE setting

2009-01-26 Thread Jesse Grosjean
I'm trying to login to my version simple test app using this script: http://dalelane.co.uk/blog/?p=303 The test app just displays "Hello world" when you are logged in like this: http://restapitests.appspot.com/ def get(self): user = users.get_current_user() if u

[google-appengine] How to map URL containing commas to webapp handler

2009-01-15 Thread Jesse Grosjean
This is a pretty basic question, but I can't seem to figure it out. I'd like to map a URL that contains commas to a handler using the webapp framework. Something like this: application = webapp.WSGIApplication([ ('/versions/1,2', VersionsDifferenceHandler), ], debug=True) But tha

[google-appengine] Re: Creating a short unique URL for an entity

2009-01-12 Thread Jesse Grosjean
> You could use the id instead of the key, key().id, then you can get it > back with just DocModel.get_by_id(id) > > You should be able to go straight to the doc without the parent > account id /doc/12345 > > I'm not sure you can guarantee id uniqueness across your whole data > store, but it shoul

[google-appengine] Creating a short unique URL for an entity

2009-01-10 Thread Jesse Grosjean
I'm relatively new to web programming, so don't feel back about telling me the obvious :) I have a simple model consisting of Account entities that can own many document entities. I'd like to create a short as possible, globally unique URL scheme that I can use to access any document. For testing

[google-appengine] Re: http HEAD responds with 405 in webapp framework

2008-11-17 Thread Jesse Grosjean
I've just added an issue for it here: http://code.google.com/p/googleappengine/issues/detail?id=869 If anyone else would like this too please star the issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google A

[google-appengine] http HEAD responds with 405 in webapp framework

2008-11-16 Thread Jesse Grosjean
The webapp framework is fairly strict about http head requests. I'm not a web framework expert, but I think most web frameworks will implement head in terms of http GET if an explicit HEAD handler is not implemented. But webapp seems to require that head is explicit implemented in your handler or

[google-appengine] Re: Google App Engine setup sequence...

2008-11-07 Thread Jesse Grosjean
Thank you very much for your quick reply. Your suggestion seems to have fixed the problem. I now see the app engine service in my google apps dashboard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engi

[google-appengine] Google App Engine setup sequence...

2008-11-07 Thread Jesse Grosjean
I have an app hosted on google app engine at hogbaysoftware.appspot.com. I also have my domain hogbaysoftware.com setup with google apps. I'd like to connect the two so that I can access my app engine application at www.hogbaysoftware.com. A few months ago I set the same system up for another doma

[google-appengine] RSA public key encryption on app engine

2008-11-03 Thread Jesse Grosjean
Hi my name is Jesse Grosjean and I'm porting my Hog Bay Software (Mac OS X shareware) website to app engine. One thing that I need my website to do is generate license keys when users make an order. To create a license key I encrypt the users name like this (ruby code here) licens