[appengine-java] Re: how to query TaskQueue for count of running/pending tasks?
Hi, it seems that you're right: I also see no other way and did the same as you (with same issue) Nothing about this in the official roadmap either. didier On Jan 22, 8:19 pm, armh...@gmail.com armh...@gmail.com wrote: Is it possible to programmatically query the Task Queue API to see how many tasks are currently executing/pending? I don't see any way to do this in the API, and so I resorted to creating objects in the Datastore to represent queued tasks. When run, the tasks then remove their corresponding entry from the Datastore. As you can imagine, it's easy for this to get out of sync. I'd actually be pretty happy just to be able to get a simple count of tasks in the queue for a given queue name. Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] What was your Slim3 Datastore API experience like?
Hi systemsplanet, - Having to run the Annotation pre-processor as part of the IDE (will that work with maven-command line?) Yes. See http://sites.google.com/site/slim3appengine/maven - Global transaction performance. The Slim3 site shows much faster times than I'm seeing http://sites.google.com/site/slim3appengine/ The performance depends on app engine condition. - What happens when a global transaction fails? Can it be detected when it occurs so the user can be notified? If a global transaction fails before commit, it will be rolled back. If a global transaction fails after commit, it will be rolled forward by task queue. - Is it using undocumented Google APIs? No. Yasuo Higa -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Cannot access text fields, when uploading Blobs
Hello, All! I'm trying to upload some pictures (as Blobs) to the datastore. Picture (input id=fileNameField type=file ...) is being uploaded with some text fields: input id=titleField type=input name=pictureTitle and input id=descriptionField type=input name=pictureDescription So, the problem is: I cannot access these my text fields (pictureTitle and pictureDescription) in any way. I tried well known suggestion like: ** FileItemIterator iterator = upload.getItemIterator(request); while (iterator.hasNext()) { FileItemStream item = iterator.next(); InputStream inputStream = item.openStream(); ** And simple access like: (String) request.getAttribute(pictureTitle). No luck. I see via FireBug, that these my 2 field are sended to this generated upload URL (blobstoreService.createUploadUrl(/myservlet)). But after that - they disappeared. Even, when I use a piece of code from http://code.google.com/appengine/docs/java/blobstore/overview.html Complete Sample App section, when we redirect request - nothing helps. I cannot access my text parameters. Please, what I am doing wrong? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: how to query TaskQueue for count of running/pending tasks?
Hi Didier, I'm told (unofficially) that this is in fact planned for the future: http://stackoverflow.com/questions/4770011/google-app-engine-java-taskqueue-api-how-to-query-number-of-running-pending-ta/4771423#4771423 It would be nice to hear something official though. Regards, George On Jan 23, 3:02 am, Didier Durand durand.did...@gmail.com wrote: Hi, it seems that you're right: I also see no other way and did the same as you (with same issue) Nothing about this in the official roadmap either. didier On Jan 22, 8:19 pm, armh...@gmail.com armh...@gmail.com wrote: Is it possible to programmatically query the Task Queue API to see how many tasks are currently executing/pending? I don't see any way to do this in the API, and so I resorted to creating objects in the Datastore to represent queued tasks. When run, the tasks then remove their corresponding entry from the Datastore. As you can imagine, it's easy for this to get out of sync. I'd actually be pretty happy just to be able to get a simple count of tasks in the queue for a given queue name. Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Is it guaranteed that App Engine retries a task until it succeeds.
Could google developers clarify the next: 1)Documentation says: If a task fails to execute (by returning any HTTP status code outside of the range 200-299), App Engine retries until it succeeds. But It is not clear if it is guaranteed or not. E.g. GAE retries a task for the 5 time and the task is failed again. But after GAE doesn't retry a task for the 6 time and the task is undone permanently. Can this use case happen? Does a developer generally have to handle such use cases in the app or not? 2) From : http://code.google.com/intl/uk-UA/appengine/docs/java/taskqueue/overview.html#Tasks_Within_Transactions Tasks added within a transaction are considered to be a part of it and have the same level of isolation and consistency. What does it mean: [have the same level of isolation and consistency] ? When should I care of that in my app (an example)? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Task Queue API Update
Good Afternoon All, I am working to convert from the Task Queue Labs API to the non-labs API version. I am finding it slightly more difficult than I initially anticipated. It appears that how I was adding tasks to the queue is not compatible with the non-labs API. If I just update the imports to bring in the new API I get the error “The method url(String) is undefined for the type TaskOptions.Builder”. I have provide some example of my code below, if anyone else has converted can you give me some guidance on what I am doing wrong? Current code, using the Labs API: *import* *com.google.appengine.api.labs.taskqueue.Queue*; *import* *com.google.appengine.api.labs.taskqueue.QueueFactory*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions.Method*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions.Builder*.*; … Queue add_queue = QueueFactory.getQueue(add); … for (int i = 1; i Item_counter; i++) { add_queue.add(TaskOptions.Builder.url(/add?item=+ItemURL[i]).method(Method.GET)); } Code using the non-Labs API import com.google.appengine.api.taskqueue.Queue; import com.google.appengine.api.taskqueue.QueueFactory; import com.google.appengine.api.taskqueue.TaskOptions; import com.google.appengine.api.taskqueue.TaskOptions.Method; import static com.google.appengine.api.taskqueue.TaskOptions.Builder.*; TaskOptions TOdefault = com.google.appengine.api.taskqueue.TaskOptions.Builder.withDefaults(); … for (int i = 1; i Item_counter; i++) { TaskOptions TO = new TaskOptions(TOdefault); TO.url(/add); TO.param(item, itemURL[i]); TO.method(Method.GET); add_queue.add(TO); } The new code compiles and will “run”, but I get all kinds of null pointer exceptions from the tasks when they try to run. If I switch back to the labs API it works perfectly. Can anyone help me understand what I need to do to either get my original code to work with the new API and/or what I did incorrectly with the updated code? Thanks, Doug -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: how to query TaskQueue for count of running/pending tasks?
There was another thread on this same topic a few months back. I am not able to find it right now, but I believe that I remember that someone was using URL Fetch to fetch https://appengine.google.com/queues?app_id=version_id=xx; and then parsing the page to determine the number of tasks on each queue. I don't recall how they were handling authentication. Doug -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Amazon widget not showing on PC's
I'm sorry, I guess this was a little off topic, but I am hosting this on google app engine. So I thought maybe there was something about cross site scripting that acted weird on app engine. I later found out that my problem was an ad blocker on the machine I was testing on. Guess I should have made it more clear that I was using app engine. Thanks for pointing this out with a useless message, and allowing me to write another useless post to follow up on your initial uselessness. On Jan 21, 11:55 pm, jp jasonpoll...@yahoo.com wrote: Dear WillSpecht, this forum is for people to discuss issues with Google App Engine for Java. Please take your totally unrelated issue elsewhere. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Can't fetch a dataset using primary key
Hi all, I'm pretty new using GQL so hopefully someone can help me solving this easy (?) problem. I store my Entities in the DB using datastore.put( Entity ) without using an ID. But if I look at the Datastore Viewer I see that these entities are stored with an unique id called *ID/Name*. Now I'm trying to load such an entity using this code: SELECT * from DB WHERE ID/Name = 'id=1' - Error SELECT * from DB WHERE ID = 'id=1' - empty resultset SELECT * from DB WHERE Name = 'id=1' - empty resultset SELECT * from DB WHERE ID/Name = '1' - Error SELECT * from DB WHERE ID = '1' - empty resultset SELECT * from DB WHERE Name = '1' - empty resultset Can anybody tell me what to use to get this entry? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Is App Engine Down? Unable to access my website
-- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Is App Engine Down? Unable to access my website
Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Is App Engine Down? Unable to access my website
I am able to access just now. On Mon, Jan 24, 2011 at 11:31 AM, Sumi sumi...@gmail.com wrote: Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Task Queue API Update
Method names changed :) .url(...) -- withUrl(...) .method(...) -- withMethod(...) http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.Builder.html Fabrizio http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.Builder.html On Sun, Jan 23, 2011 at 7:14 PM, Doug doug...@gmail.com wrote: Good Afternoon All, I am working to convert from the Task Queue Labs API to the non-labs API version. I am finding it slightly more difficult than I initially anticipated. It appears that how I was adding tasks to the queue is not compatible with the non-labs API. If I just update the imports to bring in the new API I get the error “The method url(String) is undefined for the type TaskOptions.Builder”. I have provide some example of my code below, if anyone else has converted can you give me some guidance on what I am doing wrong? Current code, using the Labs API: *import* *com.google.appengine.api.labs.taskqueue.Queue*; *import* *com.google.appengine.api.labs.taskqueue.QueueFactory*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions.Method*; *import* *com.google.appengine.api.labs.taskqueue.TaskOptions.Builder*.*; … Queue add_queue = QueueFactory.getQueue(add); … for (int i = 1; i Item_counter; i++) { add_queue.add(TaskOptions.Builder.url(/add?item=+ItemURL[i]).method(Method.GET)); } Code using the non-Labs API import com.google.appengine.api.taskqueue.Queue; import com.google.appengine.api.taskqueue.QueueFactory; import com.google.appengine.api.taskqueue.TaskOptions; import com.google.appengine.api.taskqueue.TaskOptions.Method; import static com.google.appengine.api.taskqueue.TaskOptions.Builder.*; TaskOptions TOdefault = com.google.appengine.api.taskqueue.TaskOptions.Builder.withDefaults(); … for (int i = 1; i Item_counter; i++) { TaskOptions TO = new TaskOptions(TOdefault); TO.url(/add); TO.param(item, itemURL[i]); TO.method(Method.GET); add_queue.add(TO); } The new code compiles and will “run”, but I get all kinds of null pointer exceptions from the tasks when they try to run. If I switch back to the labs API it works perfectly. Can anyone help me understand what I need to do to either get my original code to work with the new API and/or what I did incorrectly with the updated code? Thanks, Doug -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: How to handle form submit with 1 handler only?
to do that you need to have your form action posted to /dir?type=xxx but a better way is to add a hidden field type in the form in the get method and then retrieve it in the post method On Jan 23, 4:10 am, Zeynel azeyn...@gmail.com wrote: On Jan 22, 9:06 pm, Calvin calvin.r...@gmail.com wrote: First thing: there shouldn't be an else: at the top of this code. def get() and def post() are two separate methods of the DirectoryHandler class. Thanks! I fixed that and now post writes to the database but I still cannot get the url parameter saved in get into post? Any suggestions about how to do this? The code is herehttp://pastebin.com/QkQt874J Thanks for your help. -- 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: How to handle form submit with 1 handler only?
I also noticed that your code to retrieve the records from the DB is wrong, this won't work as you expect: items = Item.all() items.filter(type =, merchandise_type) items.order(-points) because filter and order methods do not modify the query, they return a new one, so your code be: items = Item.all() items = items.filter(type =, merchandise_type) items = items.order(-points) or the shorter items = Item.all().filter(type =, merchandise_type).order(-points) On Jan 23, 9:12 am, Claude Vedovini cla...@vedovini.net wrote: to do that you need to have your form action posted to /dir?type=xxx but a better way is to add a hidden field type in the form in the get method and then retrieve it in the post method On Jan 23, 4:10 am, Zeynel azeyn...@gmail.com wrote: On Jan 22, 9:06 pm, Calvin calvin.r...@gmail.com wrote: First thing: there shouldn't be an else: at the top of this code. def get() and def post() are two separate methods of the DirectoryHandler class. Thanks! I fixed that and now post writes to the database but I still cannot get the url parameter saved in get into post? Any suggestions about how to do this? The code is herehttp://pastebin.com/QkQt874J Thanks for your help. -- 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.
Re: [google-appengine] Re: How to use the same variable in two handlers?
With what you want to do there IS NO difference in doing it in Django templates then in Mako templates. That will result in a hatred awards Mako too. 2011/1/23 Zeynel azeyn...@gmail.com: Unfortunately, I have an irrational hatred for Django templates so I am trying to do this with Mako templates. -- 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.
Re: [google-appengine] Re: How to handle form submit with 1 handler only?
This is not true. They are equivalent. They modify the query IN-PLACE. They do not return a new one. All the db.Query methods return self. You can choose to chain them all in one line or in separate lines. No need to assign to the items variable after the create call [ Item.all() ]. 2011/1/23 Claude Vedovini cla...@vedovini.net: I also noticed that your code to retrieve the records from the DB is wrong, this won't work as you expect: items = Item.all() items.filter(type =, merchandise_type) items.order(-points) because filter and order methods do not modify the query, they return a new one, so your code be: items = Item.all() items = items.filter(type =, merchandise_type) items = items.order(-points) or the shorter items = Item.all().filter(type =, merchandise_type).order(-points) -- 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: How to handle form submit with 1 handler only?
On Jan 23, 3:12 am, Claude Vedovini cla...@vedovini.net wrote: to do that you need to have your form action posted to /dir?type=xxx I have action=/directorysubmithandler I don't understand why form handler needs to be the final url. Can you explain. but a better way is to add a hidden field type in the form in the get method and then retrieve it in the post method I've been trying to do this all day yesterday with no success. Both Directory and DirectorySubmitHandler are here http://pastebin.com/wG7BNZ5m I would appreciate it if you could explain how this is done without using templates. 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-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: How to use the same variable in two handlers?
On Jan 23, 1:12 am, Robert Kluin robert.kl...@gmail.com wrote: If you're trying to do this using Mako templates, here is a fully functional 'demo' that you should be able to easily adapt to do exactly what you're asking about. Thanks! But I decided in principle not to use templates at this stage. It is better for me to see all the code in one file. I tried the template solution with the django templates and it works. But then I found the way to pass the url parameter to the form: self.response.out.write( form name=submit_form action=/directorysubmithandler method=post onSubmit=return validate_form() title: input type=text name=title size=50br / url: input type=text name=url size=50br / input type=hidden name=dir_type value=%s) input type=submit value=submit /form % self.request.get(type)) and this works. Thanks again for your help. -- 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: Django template help (elementary)
This seems to be an encoding issue with the text editor I was using. I saved the file in notepad as dir_details.html and the problem disappeared. On Jan 22, 11:46 pm, Zeynel azeyn...@gmail.com wrote: class TemplateHandler(webapp.RequestHandler): def get(self): greeting = hello template_values = { 'greeting': greeting, } path = os.path.join(os.path.dirname(__file__), 'dir_details.html') self.response.out.write(template.render(path, template_values)) And this is the dir_details.html: html body pRender template/p {{ greeting }} /body /html The template prints as html: html body pRender template /p {{ greeting }} /body / html Any suggestions why this is hapenning? -- 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] Appstats throws a warning during loading
Each time a new instance is created in the production server, or a I requested the first page after start the SDK server, the file /google/ appengine/ext/api/lib_config.py throws this exception: Configuration webapp_add_wsgi_middleware not recognized I suppose it refers to the function I've added to appengine_config.py to use Appstats, copy-pasted from the manuals. I've been using these for 1 year more or less, and since 1 week ago it gives me warnings. Any ideas how to fix? Or simply ignore warnings as I've been doin until now? -- 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] Problems running App Engine Xmpp
I am new to using python and thought I would create a chat bot as a first project. I have a problem getting anything to send. I am using a googleplex account and a appspot for the im name. I have tried everything i could think of. I copied directly from the tutorials and even tried the multichat example. It will receive but when it tries to send, I get a InvalidJidError in my logs. I have tried using the Message.reply or sending a message using the send_message function. It also throws the error when trying get_presence function. I have tried any combination of JID's that I could think of and tried multiple accounts that I have. Any idea what could be causing this? -- 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: Cannot access to Datastore Admin
Ok, problem SOLVED. I had disabled 3rd-party cookies in my browsers. That was the problem. So if you are experiencing the same issue, make sure you don't have 3rd-party cookies disabled. Jamie On Jan 5, 8:25 pm, orange80 jpsw...@gmail.com wrote: Ok, I did some more checking and found that I *can* access the datastore admin using my very same account on my wife's Mac. So, the problem is NOT my account. I used FF and Chrome just the same as on my computer. On her computer I can access the datastore no problem. On mine I get infinite login. I tried deleting all the cookies, resetting cache, etc., rebooting(!), all to no avail. I have racked my brain trying to think of what could be different. Any ideas would be _very much_ appreciated. Thanks, Jamie -- 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: AWS Elastic Beanstalk : Like GAE, but without the restrictions.
LOL! Your title leaves a bit to be desired. You say like GAE but without the restrictions. Wouldn't it be more accurate to say Like GAE, but without some of the restrictions, and also without some of the features? On Jan 19, 5:29 am, Rajkumar Radhakrishnan r.rajku...@gmail.com wrote: Amazon has come out with AWS Elastic Beanstalkhttp://aws.typepad.com/aws/2011/01/introducing-elastic-beanstalk.htmland seems to be targeting GAE. First out is Java support, but more languages are being planned. AWS Elastic Beanstalk will make it even easier for you to create, deploy, and operate web applications at any scale. *You simply upload your code and we'll take care of the rest. *We'll create and configure all of the AWS resources (Amazon EC2 instances, an Elastic Load Balancer, and an Auto Scaling Group) needed to run your application. Your application will be up and running on AWS within minutes. ... Elastic Beanstalk was designed to support multiple languages and application environments. We are already working with solution providers to make this happen. ... http://aws.typepad.com/aws/2011/01/introducing-elastic-beanstalk.html Each application runs in a container of a particular type. The default Elastic Beanstalk container lets you run Java applications in a Tomcat environment. Your application can make use of Servlets and JavaServer pages and you can mix the two of them as you would like. *You can also use all of the usual Java EE classes and APIs as you would like; Elastic Beanstalk won't get in your way!* http://aws.typepad.com/aws/2011/01/aws-beanstalk-programming-model.html Competition is good and I believe it will help Google App Engine get better. Regards, R.Rajkumar -- http://crm.ifreetools.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 google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problems running App Engine Xmpp
Hi Jacob, Has the user you're trying to send the message to invited your app to chat? You might want to include the full stack trace from the logs. Also, including some of the code you've actually tried could help too. What happens if you try something like this: class XMPPHandler(webapp.RequestHandler): def post(self): message = xmpp.Message(self.request.POST) if 'hello' in message.body.lower(): message.reply(Hello!) else: message.reply(let me think...) Robert On Sun, Jan 23, 2011 at 11:52, Jacob Reese jacobre...@google.com wrote: I am new to using python and thought I would create a chat bot as a first project. I have a problem getting anything to send. I am using a googleplex account and a appspot for the im name. I have tried everything i could think of. I copied directly from the tutorials and even tried the multichat example. It will receive but when it tries to send, I get a InvalidJidError in my logs. I have tried using the Message.reply or sending a message using the send_message function. It also throws the error when trying get_presence function. I have tried any combination of JID's that I could think of and tried multiple accounts that I have. Any idea what could be causing this? -- 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. -- 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: Cannot access to Datastore Admin
Same thing here configuration: Linux - Chrome Enabled Chrome's third party cookies and worked - then disabled it again and works OK So it is not about disabling 3rd party cookies but just switching state solves the problem (at least in my case) Nick On Jan 23, 8:09 pm, orange80 jpsw...@gmail.com wrote: Ok, problem SOLVED. I had disabled 3rd-party cookies in my browsers. That was the problem. So if you are experiencing the same issue, make sure you don't have 3rd-party cookies disabled. Jamie On Jan 5, 8:25 pm, orange80 jpsw...@gmail.com wrote: Ok, I did some more checking and found that I *can* access the datastore admin using my very same account on my wife's Mac. So, the problem is NOT my account. I used FF and Chrome just the same as on my computer. On her computer I can access the datastore no problem. On mine I get infinite login. I tried deleting all the cookies, resetting cache, etc., rebooting(!), all to no avail. I have racked my brain trying to think of what could be different. Any ideas would be _very much_ appreciated. Thanks, Jamie -- 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: ImportError cgi module
I do use virtualenv (--no-site-packages) to get eggs installed locally, then symlink them into my project, but I do not run appengine from with in virtualenv. Tim, do you link the installed eggs to under the vendor directory of the project? Thanks, Ming -- 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: What is the most recent version of Django that was successfully ported to GAE?
Hi Grig, Django-nonrel + djangoappengine allows to run your entire app in GAE. Bye, Waldemar -- 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: How get link text
On Jan 20, 4:25 pm, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Third, you must use URL parameters for this purpose, so you links must be something like this: a href=/dir?type=tshirtTshirt/a a href=/dir?type=otherother/a And in your handler: merchandise_type = self.request.get(type, ) # save in a variable (called merchandise_type for example) the parameter passed to the page # first argument is the parameter name, and second the default value if the parameter is not present (security!) Thanks! I am using this method and it was very helpful. Can you let me know references to read about how this works in general and in GAE in particular? I did some research but could not find good sources. -- 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.