Re: [google-appengine] Handling File Uploads

2011-06-14 Thread Nick Johnson (Google)
http://blog.notdot.net/2009/9/Handling-file-uploads-in-App-Engine -Nick On Tue, Jun 14, 2011 at 9:33 PM, Tim wrote: > > On the topic of file uploads (if you'll pardon slight hijacking of the > thread), when using the provided webapp framework, I couldn't find a way to > get hold of the type and

Re: [google-appengine] Duplex Web Service possible ?

2011-06-14 Thread Nick Johnson (Google)
What is a "duplex web service"? -Nick On Tue, Jun 14, 2011 at 11:33 PM, Richard Roylance < roylance.rich...@gmail.com> wrote: > Hi, > > Is it possible to host a duplex web service on GAE ? > > Basically I am wanting to have a mobile app and a desktop app that will > message each other through a

[google-appengine] Upgrading from Master/Slave to HR

2011-06-14 Thread appcoder
What is the easiest way to upgrade from the Mater Slave data store to the HR data store if one does _not_ care about migrating existing data. Also, I have a live domain name pointed to my current appID; do I have delete my appID and recreate it to migrate to HR. It's my understanding that it c

[google-appengine] Re: BlobInfo.filename from parse_blob_info(): what encoding is used? (Python)

2011-06-14 Thread pascal
Still have not been able to resolve the question: How to get a BlobInfo with an accurately decoded (unicode) filename from blobstore.parse_blob_info() after a file upload using blobstore.create_upload_url()? >From the 1.5.0 SDK source in blobstore.parse_blob_info(), the filename of the BlobInfo o

[google-appengine] Re: uploading data to GAE datastore

2011-06-14 Thread Lancelot
So we do not have any way for bulk-uploading data to HR? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/cEdNMeZ46ZQJ. To post to this group, send

Re: [google-appengine] Re: Lots of errors recently

2011-06-14 Thread kevin
I met the same problem twice. Normal cpu time, but very high real time. according to the logs recorded by my code, it looks like very normal. And the response status are 200. That means appengine performed the job well at the normal level, but something of infrastructure slow down the response ti

[google-appengine] ApplicationError: ApplicationError: 3 internal error

2011-06-14 Thread Jairo Vasquez
Hi, I've been seeing this error in my logs, it's a ver low percentage but I still want to know what's happening. File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1212, in get_by_key_name return get(keys[0], config=config) File "/base/python_runti

[google-appengine] Re: Duplex Web Service possible ?

2011-06-14 Thread bFlood
how about http://www.pubnub.com On Jun 14, 10:53 am, Barry Hunter wrote: > Not really. AppEngine basically uses a 'request/responce' method. > basically CGIhttp://www.w3.org/CGI/ > > AppEngine can't keep connections open. Its designed for HTTP requests > > There is the ChannelAPI, which makes p

[google-appengine] Re: 500 Errors (DeadlineExceededError) on module imports and other random bits of code

2011-06-14 Thread PandaSuit
The errors have been less frequent lately but I am still getting them. I submitted a high priority production issue to the issue tracker on the 7th and have not heard anything back from Google. Please star the issue and add your information and maybe we can get some attention: http://code.google.

Re: [google-appengine] Duplex Web Service possible ?

2011-06-14 Thread Barry Hunter
Not really. AppEngine basically uses a 'request/responce' method. basically CGI http://www.w3.org/CGI/ AppEngine can't keep connections open. Its designed for HTTP requests There is the ChannelAPI, which makes persistant connections possible (using long-polling?) but doesnt sound suitable (its st

[google-appengine] Duplex Web Service possible ?

2011-06-14 Thread Richard Roylance
Hi, Is it possible to host a duplex web service on GAE ? Basically I am wanting to have a mobile app and a desktop app that will message each other through a duplex web service. I currently have this working using a TCP socket connection, but obviously this will not work unless the 2 device

Re: [google-appengine] Server Error 500 - 500 Internal Server Error

2011-06-14 Thread Ugo Mezzogori
Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=flattamba&version=0.1&; 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServ

Re: [google-appengine] Server Error 500 - 500 Internal Server Error

2011-06-14 Thread Ugo Mezzogori
Can it be because i use SmartGwt? .um -- 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...@googl

[google-appengine] Re: define inheritance relationship between kinds in GAE

2011-06-14 Thread Michael
Hi Bruce, I believe what you are trying to achieve is best accomplished using the db.ReferenceProperty(Person). class Person(db.Model): name= db.StringProperty() addressStreet= db.StringProperty() email = db.StringProperty() class Teacher(db.Model): employeeNumber = db.StringProperty()

Re: [google-appengine] Handling File Uploads

2011-06-14 Thread Tim
On the topic of file uploads (if you'll pardon slight hijacking of the thread), when using the provided webapp framework, I couldn't find a way to get hold of the type and filename parameters from a file submitted as part of a multipart form request, so had to resort to a "plain CGI" handler d

[google-appengine] Aprovisioning API through UserService Authentication

2011-06-14 Thread Pedro Ferreira
Hi there, I have a trouble using aprovisioning API through UserService authentication. Here is my authentication class: public LoginInfo login(String requestUri) { UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser();

Re: [google-appengine] define inheritance relationship between kinds in GAE

2011-06-14 Thread Ross M Karchner
Ikai, isn't this about what Polymodel does? On Tue, Jun 14, 2011 at 3:44 AM, Ikai Lan (Google) wrote: > Better implementation: define a Person model and a fields Text type where > you store additional data as a JSON object. Store a "type" attribute. Then > wrap the Person class with Teacher for a

[google-appengine] Re: Tons of datastore operation timed out errors

2011-06-14 Thread Greg
Usually if this is a general problem there would be many responses from others with the same problem. The fact that there are not means it is likely to be limited to your app. See if you can isolate the problem to one entity type or index, and then a particular entity. You might also want to try c

[google-appengine] order by property in reference table.

2011-06-14 Thread Sandeep Koduri
Hello, i am building a table for registered users faced this issue. Here is my db structure. class country(db.model) name = db.stringProperty() currency = db.stringProperty() language = db.stringProperty() class userData(db.model) name = db.stringProperty() mail

Re: [google-appengine] define inheritance relationship between kinds in GAE

2011-06-14 Thread Ikai Lan (Google)
Better implementation: define a Person model and a fields Text type where you store additional data as a JSON object. Store a "type" attribute. Then wrap the Person class with Teacher for all types that have the "Teacher" attribute. Ikai Lan Developer Programs Engineer, Google App Engine Blog: htt

[google-appengine] define inheritance relationship between kinds in GAE

2011-06-14 Thread Bruce Aloe
Hello, I want to define two kinds (tables): Person (PersonId, age, name) and Teacher (PersonId, age, name, teaching experience) in my GAE datastore and Person is the superclass of Teacher. I want to define inheritance relationship between Person and Teacher, so Teacher kind inherites PersonId, age