[appengine-java] Any examples for low level datastore? or suggest another way?

2010-01-14 Thread philip
Hi All, I want to use the low level datastore, I looked at the documentation and it looks ... complex. http://code.google.com/intl/zh-HK/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html Basically, I have a client program which needs to create tables and their

[appengine-java] Re: Any examples for low level datastore? or suggest another way?

2010-01-14 Thread datanucleus
Basically, I have a client program which needs to create tables and their entities dynamically, so the columns would change over time. This does not fit well with JDO as it works for fixed column entitys that are annotated. Not necessarily. Annotations are just one way of specifying what is

[appengine-java] Eclipse hangs at startup, Ubuntu

2010-01-14 Thread pgoetz
Hi group, I have a problem with the Google Eclipse Plugin. I am developing an application for the Google App Engine (Eclipse JEE Galileo, Google Plugin 1.2.0, Google App Engine SDK 1.3.0, OS Ubuntu 9.10). Yesterday I reinstalled the Google Plugin and Google App Engine SDK after I got the same

[appengine-java] sudden errors

2010-01-14 Thread aswath satrasala
I was just checking my application. Suddenly I started getting the errors for the same links I was clicking earlier. I looked into the dashboard for the logs, to find an error. com.veersoft.action.LoginInterceptor intercept: com.google.apphosting.api.ApiProxy$UnknownException: An error occurred

[appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-01-14 Thread Blessed Geek
Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? And do you have many projects mounted like I do? I had the same problem and I had to kill/restart the connector process to the foreign file system, whenever this happens. I would notice thrashing going own in the

[appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-01-14 Thread pgoetz
On Jan 14, 11:41 am, Blessed Geek blessedg...@gmail.com wrote: Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? No, all of my resources are local. They are attached to a SVN repository, but the subversion plugin does not communicate with the repository at that

[appengine-java] Java DNS cache

2010-01-14 Thread Max
Do you know any issues with Java, DNS and AppEngine. If I run java app on non google appengine and my app will use app engine app as web service. e.g. http://myapp2475687236458.appspot.com Have any one experienced problem that google will update DNS for myapp2475687236458.appspot.com domain and

[appengine-java] entity collections and equals/hashCode

2010-01-14 Thread jopaki
Using GAE/J JDO, must one implement equals/hashCode based on non- primary key properties for entities designed to co-exist in a collection in the same manner as Hibernate ORM requires? Ref: https://www.hibernate.org/109.html -- You received this message because you are subscribed to the Google

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
anyone??? 2010/1/12 Prashant Gupta nextprash...@gmail.com Hi, Thanks guys for looking into this. All requests to my app pass through a single servlet, say *Main*. So, I thought I need not to add additional filter and I used a ThreadLocal variable to store session id : public static

[appengine-java] Re: Integration with Ning App (authentication)

2010-01-14 Thread Pion
I have just found the following: http://wiki.opensocial.org/index.php?title=Introduction_To_Signed_Requests http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests https://opensocialresources.appspot.com/certificates/ I'll try it if it works with Ning. On Jan 13, 3:45 pm, Pion

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
ok, thanks a lot. 2010/1/14 Stephan Hartmann hartm...@metamesh.de Threads do not end when they finished serving a request. Instead they will catch up another request in the queue and serve it. So basically at the end of your service method of your servlet you should explicitly set the

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-14 Thread 杨浩
治本只能等GAE的升级了,这样确实只能保证你的应用不会因为两分钟没有请求被关闭! 不知道GAE收费版本是不是没有这个问题 2010/1/13 yjun hu itswa...@gmail.com 治标不治本 On Wed, Jan 13, 2010 at 1:24 PM, 杨浩 skzr@gmail.com wrote: create a cron:every one minutes to run for keep your app online in the GAE! I try it,and it is work very good! -- dream

Re: [appengine-java] Re: Task Queue problems

2010-01-14 Thread 杨浩
代理 支持ssl: proxy.kerkgroep-hopjestad.com 3128 jwe219.internetdsl.tpnet.pl 3128 webmail.mwit.ac.th 80 我一般用第一个,他不是很稳定! 2010/1/13 yjun hu itswa...@gmail.com which proxy are u using now? 2010/1/12 杨浩 skzr@gmail.com 在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! --

Re: [appengine-java] Wildcard must appear at the end of the expression string (only prefix matches are supported)

2010-01-14 Thread Max Ross (Google)
Thanks for the report Steve, looks like a bug. The information in the error message is still relevant though. The datastore does not support real regular expression matching, but rather just startsWith filters. So, if your regex can be rewritten to use GrpName.startsWith() then you can use that

Re: [appengine-java] Java DNS cache

2010-01-14 Thread Ikai L (Google)
Oh man, I've been bitten by Java's DNS cache before as well. This should have been addressed in Java 6, which is what we run in production. Here's a quick blog post on the subject: http://www.mattryall.net/blog/2005/03/javas-awful-dns-caching You shouldn't run into this in production. Let us know

[appengine-java] Use Google login cred to logon in one GAE in other GAE app

2010-01-14 Thread Wouter
Hi, I have a question regarding Google cookies and REST security. I have 2 apps both running on GAE (java) where 1 application is a GWT based app which communicates with another app that is a REST (Restlet 2) based that provides backend services. This works really good (especially when using

[appengine-java] Ant and --enable_jar_splitting

2010-01-14 Thread Marcel Overdijk
target name=update description=Uploads the application to App Engine. appcfg action=update war=war options arg value=--enable_jar_splitting / /options /appcfg /target I'm using the target as above but I get message: Found a jar file

[appengine-java] Ant and providing email / password

2010-01-14 Thread Marcel Overdijk
target name=update description=Uploads the application to App Engine. appcfg action=update war=war options arg value=--enable_jar_splitting / /options /appcfg /target I have above ant target to update the app. But when run I get

[appengine-java] have a solution to create docx and xlsx Microsoft Office files on GAE by using GaeVFS to generate zip files

2010-01-14 Thread Houston startup coder
I posted to this list a long time ago to ask about creating Microsoft Word and Excel files on Google App Engine since traditional Java libraries like Apache POI are not supported. Thought I'd be helpful and share a solution that works for me. Basically, I'm leveraging GaeVFS to generate the

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-14 Thread Stephan Hartmann
Jeff, in one point i disagree. In a high available einvironment you would have a cluster of load balanced application servers and you would deploy new versions of your app in turn, one at a time. So if one instance is down the other(s) will continue serving your users (though it might require

Re: [appengine-java] Re: A running app does not detect newly created files.

2010-01-14 Thread Jason (Google)
Thanks for the extra information re: your use of Narwhal. I don't have too much experience with it, but can you implement the Blobstore docs demo without Narwhal to see if it works for you as it does for me? This is the doc I used to implement my version:

[appengine-java] Using geocoding service throws G_GEO_TOO_MANY_QUERIES

2010-01-14 Thread Willem
I use the static MAPS API to geolocate cities and use my registered API key. I notice the G_GEO_TOO_MANY_QUERIES is thrown very fast on App Engine. Even when i do 1 request each 5 seconds I get this error after 5 calls. Strangely this never happens on my local GAE environment where I can perform

Re: [appengine-java] Doubt with detachability...

2010-01-14 Thread Jason (Google)
Thank you for the extra information. If you enable debug output for the ORM layer, you may see an explanation for why you don't need to detach your object again after retrieving it from memcache. Since it works for you without the second detachment, I recommend omitting the second detachCopy call

[appengine-java] Order clause and missing entities

2010-01-14 Thread Kyrre
Hi, In both the DataViewer and in my app using JDO, I'm seeing a strange difference in the number of results returned depending on whether I add an order by clause: 62 results: SELECT * FROM ListEntry where appId = '323629596' and latest = false 38 results: SELECT * FROM ListEntry where appId =

[appengine-java] How to store/retrieve inheritance and composition in Datastore

2010-01-14 Thread Federico Keen
Hi guys, I'm trying to use the datastore with a model like this: Class A extends C { @Persistent private String a1; } Class B extends C { @Persistent private String b1; @Persistent private D dAttribute; } Class D { @Persistent private String d1; } Class

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-14 Thread Jeff Schnitzer
On Thu, Jan 14, 2010 at 12:59 PM, Stephan Hartmann hartm...@metamesh.de wrote: Jeff, in one point i disagree. In a high available einvironment you would have a cluster of load balanced application servers and you would deploy new versions of your app in turn, one at a time. So if one

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-14 Thread 风笑雪
I've tried this, but after 1 day, GAE recycled my instance every 40 seconds. Then I used task queue to request my site per 30 seconds, but GAE started to recycle every 20 seconds. So I don't think it's a good way. 2010/1/13 杨浩 skzr@gmail.com: create a cron:every one minutes to run for keep

Re: [appengine-java] Re: Task Queue problems

2010-01-14 Thread yjun hu
thanks. also u can use GPass+SKYPE(or ssh) replace 2010/1/15 杨浩 skzr@gmail.com 代理 支持ssl: proxy.kerkgroep-hopjestad.com 3128 jwe219.internetdsl.tpnet.pl 3128 webmail.mwit.ac.th 80 我一般用第一个,他不是很稳定! 2010/1/13 yjun hu itswa...@gmail.com which proxy are u using now? 2010/1/12 杨浩

[appengine-java] Re: Ant and providing email / password

2010-01-14 Thread steveb
Here's how I did it... java classname=com.google.appengine.tools.admin.AppCfg inputstring=${appengine.password} sysproperty key=appengine.sdk.root value=${sdk.dir} / classpath fileset

Re: [appengine-java] Any examples for low level datastore? or suggest another way?

2010-01-14 Thread Rusty Wright
Joel Weight wrote a data store service that I thought was easy to understand. Reading his code made me realize that what's in the data store is basically the fields of the object, without the object itself; therefore to re-hydrate an object from the data store, you first instantiate/new the

[appengine-java] Unable to open DataViewer

2010-01-14 Thread Saurabh Mehta
Hi, We have 2 applications, which we are using for demo for one of our customers.. - snugcampus-dtu-btech2010-demo - snugcampus-admissions-dtu-demo In both the applications we are facing the below issues which we need to address ASAP, before we have the next demo. 1) After we enter some test

Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-14 Thread 杨浩
the other talk about your problem!https://groups.google.com/group/google-appengine-java/msg/2c425aa60b091f5d?dmode=print GROUPS Title: App instance recycling and response times - is there solution?

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Nick Johnson (Google)
On Thu, Jan 14, 2010 at 5:38 AM, WallyDD shaneb...@gmail.com wrote: It would be nice if people could use some actual examples as to why app engine is a joke. One problem with emails doesn't cut it. The time limit has been discussed until we are all sick of it. I am not convinced that Google

Re: [google-appengine] Bulk Updates

2010-01-14 Thread Nick Johnson (Google)
Hi, On Thu, Jan 14, 2010 at 6:07 AM, Patrick Twohig patr...@namazustudios.comwrote: Perhaps I didn't explain my use case entirely well enough. Basically it's a leaderboard (high scores table) for an online game. After thinking a little more GAEly I came up with the following solution. I

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Thanasis
Thanks for the clarification. On Jan 14, 10:19 am, Nick Johnson (Google) nick.john...@google.com wrote: This is not correct. We do not block any App Engine site for any country or region. Any blocking is entirely due to third parties between the user and our servers. -Nick Johnson -- Nick

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread WallyDD
Rubbish. Do you want some proof? This is not correct. We do not block any App Engine site for any country or region. Any blocking is entirely due to third parties between the user and our servers. -Nick Johnson On Jan 12, 8:41 am, mateusz mateusz.r...@gmail.com wrote: Standard

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread WallyDD
http://code.google.com/p/googleappengine/issues/detail?id=1072 On Jan 14, 4:19 pm, Nick Johnson (Google) nick.john...@google.com wrote: On Thu, Jan 14, 2010 at 5:38 AM, WallyDD shaneb...@gmail.com wrote: It would be nice if people could use some actual examples as to why app engine is a

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Nickolas Daskalou
Wow, reading the comments on that issue scares me. Does Google really block App Engine access in those countries, or are those countries blocking GAE IPs? 2010/1/14 WallyDD shaneb...@gmail.com http://code.google.com/p/googleappengine/issues/detail?id=1072 On Jan 14, 4:19 pm, Nick Johnson

Re: [google-appengine] Bulk Updates

2010-01-14 Thread Patrick Twohig
Ah yeah, deleting in bulk in a cron job or ongoing task would definitely work. I dunno why that didn't dawn on me earlier. Thanks Nick! On Thu, Jan 14, 2010 at 12:21 AM, Nick Johnson (Google) nick.john...@google.com wrote: Hi, On Thu, Jan 14, 2010 at 6:07 AM, Patrick Twohig

[google-appengine] Re: Error when running Guestbook

2010-01-14 Thread Wesley Chun (Google)
greetings maly! as netbeans isn't officially supported, i checked with another App Engine team member. he looked at your error and thinks that there may be something wrong with your Netbeans setup as the Guestbook code is fairly bulletproof. here is a link to a tutorial on using App Engine with

[google-appengine] Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
I have a property of a Model that is a hash of another property of the same Model, eg: class MyModel(db.Model): something = db.StringProperty() something_hash = db.StringProperty() def generate_hash(self): self.something_hash = sha1(self.something) I want generate_hash() to be

Re: [google-appengine] Running some code immediately before a Datastore put()?

2010-01-14 Thread Eric Ka Ka Ng
would a PreCallHook works for your case? http://code.google.com/appengine/articles/hooks.html - eric 2010/1/14 Nickolas Daskalou n...@daskalou.com: I have a property of a Model that is a hash of another property of the same Model, eg: class MyModel(db.Model):   something =

[google-appengine] Re: How to test my application with local database

2010-01-14 Thread Ian Marshall
Hi ivanceras, At least I'm having a progress here --- Good! Here is the Postgresql error log Sorry, I know nothing about Postgresql. I shall leave comments about this part of your post to others. Here is the error logs

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread OvermindDL1
On Thu, Jan 14, 2010 at 2:04 AM, Nickolas Daskalou n...@daskalou.com wrote: Wow, reading the comments on that issue scares me. Does Google really block App Engine access in those countries, or are those countries blocking GAE IPs? It is mostly other countries blocking GAE. If even one site on

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread WallyDD
Here is a page from a user in Syria; http://imgur.com/WGtuI Only China blocks GAE. The rest are blocked by google. Quite frankly I have no clue how the citizens let such a government evolve... Are we talking about the entire US government or just Hillary? On Jan 14, 5:56 pm, OvermindDL1

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread OvermindDL1
On Thu, Jan 14, 2010 at 3:16 AM, WallyDD shaneb...@gmail.com wrote: Here is a page from a user in Syria; http://imgur.com/WGtuI Only China blocks GAE. The rest are blocked by google. Quite frankly I have no clue how the citizens let such a government evolve... Are we talking about the

Re: [google-appengine] Re: How I can predict or calculate overhead in Datastorage. For me now it looks like 900% or real stored data. Or its simple multiplayed by 10?

2010-01-14 Thread Петр Воронов
Many thanks. I will try. 2010/1/13 dburns drrnb...@gmail.com: Every single one of those properties is indexed by default.  Do you really need to be able to search or sort by every property?  If not, add indexed=False to the parameter list for each property where an index isn't required.

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread nickmilon
Locke , May be you are right I am not that experienced, but since I have been around programming since IBM 360 370 era, machines you probably have only seen in technology museums, and I tough the subject for years etc. etc. and I still make a living from this job, means I am only lucky. By the

[google-appengine] How can i view my application data?

2010-01-14 Thread Siddharth
Persistence management provided by GAE is great. However i am facing some practical issues wrt this. 1. In my development environment, I would like to view the application data. There are many reasons one of them being for debugging. Is there any viewer for my application data? 2. Similarly i

[google-appengine] Re: How can i view my application data?

2010-01-14 Thread Adam
You can use the Development Console (http://code.google.com/appengine/ docs/python/tools/devserver.html#The_Development_Console), It has a tool for looking into the Datastore. On Jan 14, 8:35 am, Siddharth spatnai...@gmail.com wrote: Persistence management provided by GAE is great. However i am

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-14 Thread Jason C
My understanding of this is that it's a general machine load issue and depends on the traffic to the applications that are co-homed with yours. In the past, if you posted your App ID, G looked into it and adjusted resources (perhaps manually?). Given the radio silence, perhaps they are looking

[google-appengine] Google App Engine won’t recogni ze facebook package unless I rename it

2010-01-14 Thread Andrew Bialecki
I'm trying to intergrate Facebook Connect into an GAE app. I've got a basic folder structure like so: /gae-root /myapp /templates /etc app.yaml settings.py and I tried to add the PyFacebook library like so: /gae-root /myapp /templates /etc

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread qburst
We have been developing our internal HR and invoicing app in GAE for the last 1.5 years. This system used to be stable. Of late, that has changed. We are getting random server errors (timeouts may be), at least 50% of the time. This has made the application quite unusable. Is anyone else

[google-appengine] Sending emails - taskqueue is too quick?

2010-01-14 Thread Emanuel Berglund
I posted a while back about getting an OverQuotaError when sending out 74 emails in quick succession. It turned out I was breaking the 8 emails per second cap, to solve this I was told to use a task queue. I've now set up a task queue and have created a specific mail queue in my queue.yml for

Re: [google-appengine] Sending emails - taskqueue is too quick?

2010-01-14 Thread Joshua Smith
Just enable billing, and crank down what you are willing to pay to a tiny number. The free caps on email then jump way up. On Jan 14, 2010, at 9:49 AM, Emanuel Berglund wrote: I posted a while back about getting an OverQuotaError when sending out 74 emails in quick succession. It turned out

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Lucifer
In China, it really blocked by Gov. We cannot access Youtube, Facebook, Twitter especially in some special period, We cannot access whole *.appsopt.com For the process have to take long time to run, it have to be broken down into small piece of tasks. This is basic theory of cloud computing.

Re: [google-appengine] Re: How to test my application with local database

2010-01-14 Thread Ikai L (Google)
Hey everyone, I can't see this ending well. App Engine's datastore is NOT an RDBMS. It is schemaless. There are already enough differences between using the local datastore mock and the production datastore. Introducing MySQL as the local development backend is just going to introduce a lot of

Re: [google-appengine] Sending emails - taskqueue is too quick?

2010-01-14 Thread Eli Jones
Why don't you just configure it like so: -name:mail-queue rate:8/m bucket_size:8 Now.. this is presuming that when you add a task to this mail-queue.. the task is configured to send 1 e-mail to 1 recipient. Though, you could create a recursive task queue that would work something like this:

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-14 Thread Jorge
I must say this is a worrisome answer. There are *lots* of posts about this issue. My understanding is *lots* of people are experiencing the problem. I understand GAE is in a preview state and I was assuming Google was in the process of fixing this for future releases. But if Google assumes it

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-14 Thread Jorge
Sorry, I thought you were Jason (Google), not Jason C. I still hope this issue is high in Google priorities! Cheers, Jorge Gonzalez On Jan 14, 1:43 pm, Jorge athenas...@gmail.com wrote: I must say this is a worrisome answer. There are *lots* of posts about this issue. My understanding is

[google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread Devel63
Nick, I've been faced with your exact situation. I have to say I don't understand PreCallHook, and maybe that would be the best approach, but here's what I do know. Overriding put is a bad idea, and as you point out, the override will not be called in a batch put. I found that the most elegant

[google-appengine] Query resultset order reliable if no order clause provided?

2010-01-14 Thread Erem
Hey all, Let's say the results of a datastore query are not ordered by any particular variable. Can I nonetheless rely upon the results being in the same order when I run the query again in the future? Rephrased: I run a query Q without any ordering clause. It produces and will always produce a

Re: [google-appengine] Sending emails - taskqueue is too quick?

2010-01-14 Thread Emanuel Berglund
Thanks for your reply, Supposedly the bucket_size: should be 1 and not 8 according to this post http://groups.google.co.uk/group/google-appengine/browse_thread/thread/3d64511a517cffc1/64fe290597597511?lnk=gstq=mail+taskqueue#64fe290597597511 But I tried it anyway and it had no effect, it's still

[google-appengine] PersistenceManager.getObjectsById(*)

2010-01-14 Thread Patrick Twohig
Why doesn't the family of methods PersistenceManager.getObjectsById actually perform a bulk fetch from the datastore? Are there future plans to implement it as a bulk fetch? -- Patrick H. Twohig. Namazu Studios P.O. Box 34161 San Diego, CA 92163-4161 Office: 619.862.2890 x100 Cell:

[google-appengine] CMS on google app engine: conflict with reseller agreement?

2010-01-14 Thread James Watkins
I am in the process of creating a CMS on the google app engine. The CMS is called Purenode. It is a node-based interface for designing the database, logic, and visual aspects of a website. I would hope to provide two export features of this product: 1. A way to export a node workflow as a single

Re: [google-appengine] Sending emails - taskqueue is too quick?

2010-01-14 Thread Eli Jones
You won't get a timeout.. unless it takes longer than 30 seconds to send a single e-mail. The task runs.. sending a single e-mail (or 8, I presume it can do 8 in 30 seconds as well).. then it adds a new Task to the queue to handle the next batch of email(s) and schedules the task to start up 60

[google-appengine] Re: How to test my application with local database

2010-01-14 Thread Ian Marshall
Thanks for that warning, Ikai. Noted. I am aware of many of the difference between MySQL and the GAE datastore (mock or production). And when I see your reasons all at once, it does make me cringe at my choice of MySQL as my local dev back-end datastore. Regular runs under my local GAE dev server

[google-appengine] performance using thousands of small entities in an entity group?

2010-01-14 Thread Scott Southworth
The docs only suggest using a 'single user's worth of data'. My current plan would use one entity group per user, but could contain several thousand small (mostly 1kb) entities in each group. Does anyone have any experience or expectation as to how this would affect performance? Note that there

Re: [google-appengine] performance using thousands of small entities in an entity group?

2010-01-14 Thread djidjadji
Why do these small entities need to be a child of the Main entity? What do you gain with the parent-child relation? If none, then don't use (large) entity groups. There is not much storage gain in elimination of an object reference, because the key of the child will be larger because it has a

Re: [google-appengine] Query resultset order reliable if no order clause provided?

2010-01-14 Thread djidjadji
If no order is specified it will be ordered according to Key. So yes, the results will be always the same for the same query, if no objects are created or deleted. 2010/1/14 Erem ehb...@gmail.com: Hey all, Let's say the results of a datastore query are not ordered by any particular variable.

Re: [google-appengine] performance using thousands of small entities in an entity group?

2010-01-14 Thread Scott Southworth
I need to be able to make transaction safe changes across the data at some times... Theoretically using any small combination of entities within the group. On Thu, Jan 14, 2010 at 4:41 PM, djidjadji djidja...@gmail.com wrote: Why do these small entities need to be a child of the Main entity?

Re: [google-appengine] performance using thousands of small entities in an entity group?

2010-01-14 Thread 风笑雪
You can use Distributed Transaction: http://code.google.com/events/io/2009/sessions/DesignDistributedTransactionLayerAppEngine.html http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine 2010/1/15 Scott Southworth scott.southwo...@gmail.com: I need to be able to make transaction

[google-appengine] Re: com.google.appengine.tools.admin.AdminException: Unable to update app: Version not ready.

2010-01-14 Thread Wesley Chun (Google)
greetings RKVS Raman, are you still having this problem? this situation doesn't happen very often. here are some related posts from months back FYI: http://groups.google.com/group/google-appengine-java/browse_thread/thread/806f69fff149a5eb

[google-appengine] Twitter Streaming API on AppEngine

2010-01-14 Thread vivpuri
Is there any way one can consume data from Twitter Streaming API - http://apiwiki.twitter.com/Streaming-API-Documentation - on AppEngine? -- 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] Re: This App Engine is a JOKE

2010-01-14 Thread Mike
We've noticed a lot of timeouts too recently... however these aren't reported in the logs. The app just doesn't return results. Has been happening in the last 2 weeks. Very frustrating. Database timeouts (which are recorded in the logs) are also pretty unacceptable. On Jan 14, 10:27 pm, qburst

[google-appengine] Re: dev_appserver.py issue. When I deploy to app engine the code works fine. Please help

2010-01-14 Thread dburns
Looks like you are running Python26. I did initially too, but ran into troubles. Things have been smooth since I installed 2.5 instead (which is what they recommend). On Jan 13, 8:46 pm, adamjamesdrew same theikl...@gmail.com wrote: 2010-01-13 20:44:04 Running command:

Re: [google-appengine] CMS on google app engine: conflict with reseller agreement?

2010-01-14 Thread Vinicius Vollrath
James, Issue 113: *http://code.google.com/p/googleappengine/issues/detail?id=113* [ ]'s Vinicius -- 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

[google-appengine] ImagesService and Alpha blending.

2010-01-14 Thread Patrick Twohig
I have several images that I want to composite together. Each image has a completely transparent background, however when I use the ImagesSErvice to composite them, I end up with the last drawn image on top with a white background. It apepars that the ImagesService doesn't support alpha blending?

[google-appengine] Chat Time transcript for January 6, 2009

2010-01-14 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place next Wednesday, January 20th from 9:00-10:00 a.m. PST in the #appengine channel on

[google-appengine] Re: Chat Time transcript for January 6, 2009

2010-01-14 Thread Jason (Google)
Make that January 6th, 2010. :) - Jason On Jan 14, 5:30 pm, Jason (Google) apija...@google.com wrote: Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread WallyDD
How much proof do you want? How about I offer free first class tickets to any of the blocked countries to both Larry and Serge? And for the timeouts I keep getting? Should I fly Larry, Serge and everyone on this group to where I am to look at my logs? On Jan 15, 2:21 am, Locke

Re: [google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
Thanks guys, both great suggestions. I'll try and get PreCallHook working because that would allow me to add a pre_put() method to my Models, and then using these PreCallHooks I can call pre_put() for each of the entities being put into the Datastore. Failing that, I'll create a new derived

Re: [google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
I'm pretty sure the code on the GAE Hooks article ( http://code.google.com/appengine/articles/hooks.html) is wrong. 4th code snippet, shouldn't the very first line: def path_appengine(): be moved to the bottom, just above this line: apiproxy_stub_map.apiproxy.GetPreCallHooks().Append()

[google-appengine] I can not receive SMS messages

2010-01-14 Thread 1e0n
Hello, administrators,I am sorry I can not receive SMS messages, please help me! -- 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

[google-appengine] Re: Sending emails - taskqueue is too quick?

2010-01-14 Thread Julian Namaro
What do you get if you specify the rate per second ? Also are you sure each task sends only one email ? On Jan 15, 5:19 am, Emanuel Berglund emanuel.bergl...@gmail.com wrote: Thanks for your reply, Supposedly the bucket_size: should be 1 and not 8 according to this

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Nickolas Daskalou
In the future if Google allows us to choose which country our apps are hosted in and we choose to host outside the US, would that lift this restriction? 2010/1/15 Wesley Chun (Google) wesc+...@google.com wesc%2b...@google.com Cuba, Iran, Iraq, North Korea, Syria, and Sudan are a magical group

[google-appengine] EntityProto instance to Model instance?

2010-01-14 Thread Nickolas Daskalou
How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that I want to call on each Model instance before it's Put into the Datastore, using hooks (eg: http://code.google.com/appengine/articles/hooks.html). My hook code looks like this: def hook(service, call,

Re: [google-appengine] EntityProto instance to Model instance?

2010-01-14 Thread Kapil Kaisare
As an aside: what is an EntityProto, and is there a link in the GAE documentation for it? Regards, Kaisare, Kapil Sadashiv On Fri, Jan 15, 2010 at 09:37, Nickolas Daskalou n...@daskalou.com wrote: How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Niklasro.appspot.com
2010/1/12 Thanasis t.deleni...@gmail.com I also tend to think that GAE is a very promising environment, but it's currently unusable. My case: A simple, oss related web site, using just jsp tags to include headers/ footers. It gets about 300 uniques / 1000 pageviews per day. No servlets,

Re: [google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread 风笑雪
You can use aetycoon, example: http://blog.notdot.net/2009/12/Most-popular-metrics-in-App-Engine 2010/1/15 Nickolas Daskalou n...@daskalou.com: I'm pretty sure the code on the GAE Hooks article (http://code.google.com/appengine/articles/hooks.html) is wrong. 4th code snippet, shouldn't the

[google-appengine] [OT]appspot 都不能访问了??

2010-01-14 Thread 李超
appspot 都不能访问了?? -- Best regards, Lewise -- 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

Re: [google-appengine] [OT]appspot 都不能访问 了??

2010-01-14 Thread 风笑雪
Sometimes works fine in China, but not always. You know, we are in China, and we have the GFW. 2010/1/15 李超 lewise@gmail.com: appspot 都不能访问了?? -- Best regards, Lewise -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: appspot 都不能访问了??

2010-01-14 Thread Wesley Chun (Google)
你好, the appspot and other Google company servers have rotating sets of IP addresses, some of which are periodically blocked from within china. this is the reason why sometimes you can reach it but other times not. this has been an on-going situation for awhile. here's another similar situation:

[google-appengine] Re: Authorization

2010-01-14 Thread osrdg
You need to build role authorisation modules on your own. On Jan 14, 3:11 am, Amit Piplani amit.pipl...@gmail.com wrote: Hi, If we use Google authentication feature for application developed using the Google App engine platform, then application is limited with 2 roles- general or admin.

[google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread WallyDD
Many thanks Wesley for the clarification and an acknowledgment of the issue. We can all wait and see what Hillary has to say next week. http://www.moneycontrol.com/news/technology/us-state-dept-to-unveil-internet-policy_435366.html On Jan 15, 11:11 am, Wesley Chun (Google) wesc+...@google.com