[appengine-java] HashMap within an Embedded Class

2011-05-24 Thread mscwd01
Hey Are you able to store a HashMap within an embedded class? I have a Class which implements Serializable and annotate the HashMap like this: @Persistent(serialized = true, defaultFetchGroup=true) private MapString, Integer myMap; However, I always get this error thrown: myMap:

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Drew Spencer
Hi coders, Could people please correct me as I am trying to understand all this, have read quite a few thread/pages but still a bit unsure what is going on exactly. This is what I get so far: - Being charged for instances means we should probably use multi-threading in our apps to avoid

[appengine-java] Re: Coding with Adobe Software

2011-05-24 Thread Drew Spencer
Yeah don't bother with Adobe dude, waste of money unless you have invested significant time and money already learning how to become an adobe ninja. Google provides all the stuff you need for free :) so get into GWT and Eclipse. There are a few ways you can design the user interface using GWT:

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Jeff Schnitzer
Let's say you have a sustained traffic of 5 hits per second, and each request takes 1 second to process (waiting on the datastore, waiting on facebook, whatever). If you're using single-threaded python, you will need 5 instances to serve this load - each instance can do nothing else while it

[appengine-java] Re: Backend + push task queue, does it work?

2011-05-24 Thread de Witte
Found more issues. If you have a backends.xml in your project then logging stops working for your local server. Also with backends.xml, you don't see the last log line, stating that the server is running. INFO: The server is running at http://localhost:/ -- You received this message

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread stole
On Tuesday, May 24, 2011 11:21:00 AM UTC+2, Jeff Schnitzer wrote: The Google blog says that appengine served over 2,000 hits per second for the Royal Wedding - I'd like to know what the bill would look like before and after the pricing change. Indeed, that would be an interesting thing to

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Drew Spencer
Can't you just limit your maximum number of instances at any one time? In the case of the datastore hiccup surely google would make some sort of adjustment due to their own failures? I see you point and agree wholeheartedly Jeff, I guess I just trust Google to keep it reasonably competitive on

[appengine-java] Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
I currently have a working implementation connecting my Android app to my GAE domain site. I was never able to get a working development environment and I always have to use my domain site to actually test my android implementation. I'm using the JAVA JDO implementation of GAE. I ran into

[appengine-java] Re: Java = Google app

2011-05-24 Thread Mike Lawrence
maven thoughts - anyone who's worked on a large project over time has seen the build scripts grow in complexity and maintenance costs - maven, like many solutions, introduces a domain-specific-language to simplify things, or in mavens case, a domain specific XML schema - I usually cringe when I

[appengine-java] Re: Google App Engine + Java Applet

2011-05-24 Thread Brandon Donnelson
Doesn't an applet run on the client side? Did you want it to run on the server side? If it does run on the client GAE won't care what you do. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Brandon Donnelson
In the Development Mode tab, when you see the link, right click on it, you'll get choices of which browser to run. You can set it back to default browser or choose another browser to run. Brandon Donnelson http;//gwt-examples.googlecode.com -- You received this message because you are

[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread Brandon Donnelson
Here are the supported property types: http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types You could make an entity that has a key and value properties. Then you could store your values into the entities like the hashmap. You would have to manage the

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Can you get your android phone on the 10.0.2.2 private network? -- 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

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
Yes. The emulator does connect to the localhost using 10.0.2.2:888 as the base uri. This is my basic connection routine. I just assumed i could switch out my http://domain.appspot.com for the http://10.0.2.2:/_ah/login url, but this doesnt seem to get me through authentication. It does

[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread mscwd01
The issue I have though is HasMap's are supported if serialized=true is set. What I want to determine is why cant I use a HashMap within an embedded class? Thanks On May 24, 2:36 pm, Brandon Donnelson branflake2...@gmail.com wrote: Here are the supported property

[appengine-java] Re: Upload blob never calls success path

2011-05-24 Thread Daniel Florey
As I expected in the first place I'm just dumb. After running into a lot of issues (OutOfMemory and alike) I found out that I just forgot to attach the form to the site properly ;-) -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
I have some questions to help me and others that visit this thread. The servlet container for the GAE dev, I assume its running? And do you know if the servlet request is coming in from the android emulator when made? If your servlet is getting the request, can see if all the body and headers

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
Sure. Yes, I do know the servlet is running. I was able to put a breakpoint in the GAE servlet to verify the request was hitting the container. Below is an example of my servlet which I was testing with. This servlet just uses the user service to retrieve the user's information. The

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Yea, changing the url should work. I have to make url modifications depending on local and production. I would check to see if a Cookie is getting sent in the header. Brandon -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
I know for sure last night, that no cookie was being sent back in the header. The only way I was able to get a cookie sent back to me is if I used the combination of domain and localhost (i.e. http://domain.appspot.com/_ah/login?continue=http://10.0.2.2:/api/home) or something similar.

[appengine-java] List of supported content types in BlobStore?

2011-05-24 Thread Daniel Florey
Hi, is there a list of content types that BlobStore is be able to detect? Thanks, Daniel -- 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

[appengine-java] Re: Google App Engine + Java Applet

2011-05-24 Thread SKP
Yes. It runs on the client side but I would like to host it at GAE. On May 24, 9:27 am, Brandon Donnelson branflake2...@gmail.com wrote: Doesn't an applet run on the client side? Did you want it to run on the server side? If it does run on the client GAE won't care what you do. Brandon

[appengine-java] Persisting an Object that has a List of anotherObject JPA (it's been 5 days now ).

2011-05-24 Thread kidowell
Hello. Here's the problem. An 'Annotation' has a list of 'Tag'. What I want to do is when persisting an annotation (with its list of Tag) I dont want to persist the Tags of the annotations. For example, lets say I previously persisted 3 tags: Tag1 Tag2 Tag3. And now I persist an

Re: [appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Ikai Lan (Google)
Just to close the loop - this is the new version of the Google Plugin for Eclipse that uses OAuth to authenticate. The benefit is that now, your plugin can cache the OAuth tokens so that you don't ever have to re-enter your email/password to deploy. This is much more secure than caching your email

Re: [appengine-java] Google App Engine + Java Applet

2011-05-24 Thread Ian Gillett
Hi, You can run Applets on App Engine - we are using an Applet / App engine on the App below: https://www.google.com/enterprise/marketplace/viewListing?productListingId=8343+8778914019165296828 https://www.google.com/enterprise/marketplace/viewListing?productListingId=8343+8778914019165296828

[appengine-java] Re: Coding with Adobe Software

2011-05-24 Thread emurmur
If you are brand-new to coding, I would not use GWT. I would start with HTML/CSS/Javascript. Many folks start their coding careers there (and many many stay there because they love it). You can get started quickly and the learning curve is not so steep. The learning curve on GWT or even Adobe

[appengine-java] RemoteApi : Null pointer Exception

2011-05-24 Thread pavb
Hi I have a nullPointerException when I try to insert data in my production site. It works with the local server. I have tried with the sample code of the documentation but the error is the same. I am using the version 1.5.0.1 of the java sdk Sample code public class RemoteApiExample {

[appengine-java] Re: RemoteApi : Null pointer Exception

2011-05-24 Thread pavb
Sorry I have made a mistake in my email account. Evrything works fine PA On May 24, 11:32 pm, pavb pavieillardba...@gmail.com wrote: Hi I have a nullPointerException when I try to insert data in my production site. It works with the local server. I have tried with the sample code of the

[appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread cp
Ikai that is what i thought, i realized i allowed some updates to happen by opening my firewall. now the question to you : 1how do i change the browser behavior (some reason my cookie setting (whatever i do) is not being liked. i tried to allow cookies in all browser. 2how do i go back to

Re: [appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Ikai Lan (Google)
appcfg.sh behavior should not have changed. You can use the command line tool. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Tue, May 24, 2011 at 2:44 PM, cp

Re: [appengine-java] Coding with Adobe Software

2011-05-24 Thread Rusty Wright
InDesign is a page layout program for printing, more or less. You probably could use it to mock up your web pages but it's drastic overkill when you're new to coding. Do your mock ups with static html, as others have pointed out. If you're looking for an html editor, I'd use something like

[appengine-java] Re: open source pdf engine for GAE

2011-05-24 Thread Nichole
I didn't look at your snippets in detail, but instead used the group search feature to find a successful creation of a pdf on appengine by someone else. At the bottom of this conversation they say they got the opensource iText working on appengine:

Re: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Sarang
Update: paid for always on, and still the same issue: 2011-05-23 23:38:25.073 /user/profile/ 500 294897ms 22746cpu_ms 18710api_cpu_ms 1kb Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe),gzip(gfe),gzip(gfe) 2011-05-23 23:37:59.630 /user/profile/ 500 189658ms

Re: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Sarang
Brendon, thanks for clarifying and thanks for the help so far. I do hope someone from Google responds soon. Sarang -- 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

RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Brandon Wirtz
This error most commonly occurs when you have a near infinite loop. Are you doing a long loop or a while that could get out of control? From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Sarang Sent: Monday, May 23, 2011 11:58 PM To:

Re: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Sarang
Brendon, if it was a code problem, it would be reproducible and happen all the time isn't it? This is happening every once in a while. And this is code from Django. Sarang -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Brandon Wirtz
http://blog.mfabrik.com/2011/03/11/google-app-engine-issues-with-dynamic-ins tances-and-deadlineexceedederrors/ From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Sarang Sent: Tuesday, May 24, 2011 12:29 AM To:

[google-appengine] Re: 500 Server Error

2011-05-24 Thread lacus...@hotmail.com
http://i291.photobucket.com/albums/ll313/yu12345/1231233.jpg On 5月24日, 上午5時13分, Rohan Chandiramani masterxr...@gmail.com wrote: If you check your logs at the appspot dashboard, Perhaps there is anerrorthere that could help you further? On May 21, 8:58 am, lacus...@hotmail.com

[google-appengine] Re: 500 Server Error

2011-05-24 Thread Sarang
This is not a Google App Engine error. Expand one of the error messages to see where it is failing. Your code is not able to import a module it looks like. Run your code locally using dev_appserver and debug the problem. Sarang -- You received this message because you are subscribed to the

Re: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Sarang
I have already seen that blog, thanks. Does not help me in this case though. The first part of the blog is talking about 1-2 seconds as a high time for response. I am talking about 100-500 second response time! The second part is pointing to a possible temporary hickup in BigTable. Sarang --

RE: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Brandon Wirtz
With out knowing what you are doing, I can't offer any help. It is possible you have an issue I don't, but I have lots of apps that do different things, and so far I have never had a blame Google problem (ok there was that one time where their sample code said a library was part of 1.5 sdk and it

Re: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-05-24 Thread Anders
To cover the full spectrum of usage, CPU time would have to be included. For example, applications could run algorithms for what is call bit mining to generate digital currencies such as Bitcoin: http://en.wikipedia.org/wiki/Bitcoin#Generating_bitcoins Bitcoin paper:

Re: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-05-24 Thread Anders
To cover the full spectrum of usage, CPU time would have to be included. For example, applications could run algorithms for what is called bit mining to generate digital currencies such as Bitcoin: http://en.wikipedia.org/wiki/Bitcoin#Generating_bitcoins Bitcoin paper:

Re: RE: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Denis Volokhovskiy
Hi Sarang, This definitely looks like something goes wrong with Django initialization, may be you have too much registered applications in settings.py they taking ages to initialize, Or some cyclic bug in middleware? You may want to remove all middleware /apps from settings.py and see what

[google-appengine] Re: How many custom domain can I point to a same application?

2011-05-24 Thread Greg
This should be unlimited - I think it's equivalent to asking how many different names you could be known by. On May 24, 5:42 am, CK Yap chinket@gmail.com wrote: I need to serve a multi-tenant application on GAE. Does anyone know if there is a maximum number of custom domains an app in GAE

Re: RE: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Sarang
Denis, thanks for the suggestion. I would like to look into all these issues, however, why is it happening only once in a while? Why is the local dev_appserver running fine w/o any issues on the exact same codebase? All that said, No issues for the past few hours!! So hopefully it was some

[google-appengine] Re: 500 Server Error

2011-05-24 Thread lacus...@hotmail.com
dev_appserver.py how to user? On 5月24日, 下午3時45分, Sarang sar...@mycontactid.net wrote: This is not a Google App Engine error. Expand one of the error messages to see where it is failing. Your code is not able to import a module it looks like. Run your code locally using dev_appserver and debug

[google-appengine] Re: 500 Server Error

2011-05-24 Thread lacus...@hotmail.com
how to user dev_appserver.py? On 5月24日, 下午3時45分, Sarang sar...@mycontactid.net wrote: This is not a Google App Engine error. Expand one of the error messages to see where it is failing. Your code is not able to import a module it looks like. Run your code locally using dev_appserver and debug

[google-appengine] app using excessive storage

2011-05-24 Thread Plumo
hello, my app has 396MB of entities but is using 1.48GB of storage. I understand this may be because the indices add a lot of overhead. I have 1 index: category ▲ , state ▲ , title ▲ and 1 big table: title: string category: int address: string city: string state: int zip_code: string country:

[google-appengine] Re: app using excessive storage

2011-05-24 Thread Francois Masurel
Hi Richard, Try reducing the length of your kinds and properties names. Even application name might have to be taken into account, not sure though. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email

Re: [google-appengine] app using excessive storage

2011-05-24 Thread Barry Hunter
Remember that every single property (well excepting blob/text) has 2 indexes - automatically, unless you explicity say that a property is to be unindexed. Then again 1.5G is only $5-6 a year, even using the high replication datastore. To reduce the storage use, could set properties to be

Re: [google-appengine] Re: app using excessive storage

2011-05-24 Thread Richard Baron Penman
making field names shorted is an interesting idea. Is this known to work? I would have expected these kind of optimizations to be done internally. On Tue, May 24, 2011 at 11:22 PM, Francois Masurel f.masu...@gmail.comwrote: Hi Richard, Try reducing the length of your kinds and properties

Re: [google-appengine] app using excessive storage

2011-05-24 Thread Richard Baron Penman
I want to fit the datastore into 1GB because this app is for another client who isn't expecting to need billing enabled. Is there documentation about these default indices? On Tue, May 24, 2011 at 11:52 PM, Barry Hunter barrybhun...@gmail.comwrote: Remember that every single property (well

Re: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-05-24 Thread Jay Young
There are a lot of costs that go into a service like this that have nothing to do with the cost of the machines in use: the cost of power, the salaries/benefits of team members * the size of the team (which sounds like it's increasing), insurance premiums on the data centers, RD costs, they

Re: [google-appengine] app using excessive storage

2011-05-24 Thread Barry Hunter
On 24 May 2011 15:06, Richard Baron Penman richar...@gmail.com wrote: I want to fit the datastore into 1GB because this app is for another client who isn't expecting to need billing enabled. Is there documentation about these default indices?

Re: [google-appengine] Re: Price comparison between GAE, EC2 Azure

2011-05-24 Thread Anders
That's why I wrote: Of course, the raw computing, storage and communication cost probably only is a fraction of the overall GAE cost, but as the platform matures, then the service cost for that too will go down. So even the cost for the things not directly related to computing power would also

Re: RE: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Brandon Thomson
Seeing this problem on my master/slave app intermittently too. -- 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

Re: RE: RE: RE: RE: [google-appengine] Poor performance since the past 2-3 days

2011-05-24 Thread Brandon Thomson
Here is some example logging output, it usually hits DeadlineExceeded on some random import statement: 2011-05-24 09:16:23.034 / 500 488641ms 910cpu_ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24,gzip(gfe),gzip(gfe),gzip(gfe)

[google-appengine] Re: Poor performance since the past 2-3 days

2011-05-24 Thread Mars
I'm seeing a lot of DeadlineExceededError on random import for my app as well for the last couple of days. Wondering if it's a GAE issue? On May 24, 9:41 am, Brandon Thomson gra...@gmail.com wrote: Here is some example logging output, it usually hits DeadlineExceeded on some random import

[google-appengine] Transactions, M/S v. HRD

2011-05-24 Thread Janne Savukoski
Heyo, Are there any differences between Master/Slave and High Replication regarding transactions? Are the transaction limits the same? (Is the limit still 4/sec/group or so?) Can I expect any differences in the rate of TransactionFailedErrors? I thought of asking this before relying on testing

Re: [google-appengine] Server Error(500) when trying to view the Datastore Viewer

2011-05-24 Thread Robert Kluin
Sounds like you deleted lots of data; after you delete lots of data you'll sometimes see this behavior for a period of time. This occurs because the datastore uses soft-deletes, you can search the groups for more explanation. On Sun, May 8, 2011 at 20:02, poopoo88

Re: [google-appengine] Error: Server Error

2011-05-24 Thread Robert Kluin
Hi Jonathan, Try checking your app's logs in the dashboard, you might find more information there. Robert On Tue, May 10, 2011 at 15:29, Jonathan jonathan.na...@gmail.com wrote: The following error message is showing up when trying to activate my my last version 

Re: [google-appengine] app using excessive storage

2011-05-24 Thread Ikai Lan (Google)
So this technically would work in reducing total size, but I haven't heard of this resulting in significant cost reductions for people. The indexes are stored as protocol buffers, so they're fairly space efficient ( http://code.google.com/apis/protocolbuffers/docs/overview.html). A better strategy

Re: [google-appengine] UserService.createLoginURL() - attributes format

2011-05-24 Thread Robert Kluin
Hi Morgan, If you're asking about attribute exchange, federated login doesn't currently support it: http://code.google.com/appengine/docs/java/users/overview.html#Authentication_Options Robert On Fri, May 13, 2011 at 10:03, Morgan morgan.duch...@gmail.com wrote: Hi, I would like

Re: [google-appengine] Re: FAQ for out of preview pricing changes

2011-05-24 Thread Marc Hede
Hello Greg, For all of those interested in the future of Python on App Engine, there has been a thread started on this topic. See here: http://code.google.com/appengine/forum/python-forum.html?place=topic%2Fgoogle-appengine-python%2F85EcIif5vNQ%2Fdiscussion This is mainly python specific, but

[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-24 Thread Marc Hede
If anyone is still monitoring this topic, and interested in asking questions about Python concurrency on App Engine, please see this topic here: http://code.google.com/appengine/forum/python-forum.html?place=topic%2Fgoogle-appengine-python%2F85EcIif5vNQ%2Fdiscussion This may also benefit Java

Re: [google-appengine] Re: FAQ for out of preview pricing changes

2011-05-24 Thread Kyle Finley
Do you think it would be beneficial to use Google Moderatorhttp://www.google.com/moderator/for 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

[google-appengine] High cpu_ms since the past 5 days

2011-05-24 Thread Felippe Bueno
Definitely there is a strange behaviour on cpu_ms. Few days ago we start seeing a lot if request with cpu_ms ~2000ms. We mostly do re.search, read/write to memcache, and read datastore (no HR). After decreasing about 10% of re.search we were able to see that the cpu_ms decreased dramatically (to

Re: [google-appengine] data Join using MapReduce/pipeline api

2011-05-24 Thread Brett Slatkin
On Mon, May 23, 2011 at 2:06 PM, Bing blackice@gmail.com wrote: In the google io talk, data join is implemented by Append method. But it seems the Append method is only to append lists together. Is that Append method just a high-level concept or is there an implementation? Also, join can

[google-appengine] Re: Simple query times out repeatedly for hours!

2011-05-24 Thread Francois Masurel
Hi Waleed, It might be related to the strange bug described in this thread : https://groups.google.com/d/topic/google-appengine-java/6tnyfJLBIXM/discussion When hit, all API calls fail with timeouts until the instance is restarted. Francois -- You received this message because you are

[google-appengine] Re: Backend don't shutdown

2011-05-24 Thread Justin Haugh
Hey Timofey, what's your app_id and backend name? I'll take a look at the logs and see if I can verify this. Thanks, Justin -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Re: Poor performance since the past 2-3 days

2011-05-24 Thread Robert Kluin
One thing that might help people offer suggestions is to include the whole 'log header', ie the part that lists the latency, cpu ms, api ms, loading request indicator, etc If possible you might also include log entries from before the problem started too (preferably for the same request).

Re: [google-appengine] Re: Simple query times out repeatedly for hours!

2011-05-24 Thread Waleed Abdulla
Thanks Francois. I'm using Python, though. I'm also letting the exception propagate up so that the task fails and is retried. I don't know if the retries are hitting the same instance or not. If they are, then maybe the instance is broken somehow. I don't know what else I can do on my side. And

Re: [google-appengine] Understanding Security

2011-05-24 Thread Eric Kolotyluk
OK, I finally got around to trying this. Works like a charm. Thanks for such a simple fix to my problem Cheers, Eric On 2011-05-14 10:15 AM, Erick Fleming wrote: Actually I was wrong I on the last point. If you use appengine_web.xml [1] to configure your static files as excluded then

Re: [google-appengine] 400 Bad Request Deleting a composite index failed: ApplicationError: 1

2011-05-24 Thread Robert Kluin
Try submitting a production issue: http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue On Wed, May 18, 2011 at 14:41, guarr...@gmail.com guarr...@gmail.com wrote: Having issues vacuuming the indexes that are marked in error in my application dashboard.

Re: [google-appengine] The phone number has been sent too many messages or has already been used to confirm an account

2011-05-24 Thread Robert Kluin
See the SMS FAQ: http://code.google.com/appengine/kb/sms.html#error On Fri, May 20, 2011 at 07:41, jschlier juer...@schlierf.eu wrote: Hi, when I want to create a new application, I havo to type in a mobile phone number for SMS confirmation. After doing this the error message The phone

[google-appengine] Re: How to get an app banned?

2011-05-24 Thread nickmilon
@Ikai +1 I'm glad this process is in place, but I'd rather let 10 abuse apps sit around longer than they should than avoid shutting down a legitimate user. Nick Milon On May 24, 4:54 am, Ikai Lan (Google) ika...@google.com wrote: Ben, I understand your frustrations, but do realize that

Re: [google-appengine] Problem when deploy Java application

2011-05-24 Thread Robert Kluin
Have you checked to see which indexes are in error state? Did you try vacuuming your indexes? Robert On Sun, May 22, 2011 at 15:49, Ivan Samuel ivan...@gmail.com wrote: I am experiencing problems when I deploy Java Application using plugin eclipse. It looks like it´s a problem when

Re: [google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-24 Thread Gregory D'alesandre
I'm still monitoring and working on getting more complete answers to the questions raised, thanks for the pointer though! Greg On Tue, May 24, 2011 at 5:53 PM, Marc Hede marcdh...@gmail.com wrote: If anyone is still monitoring this topic, and interested in asking questions about Python

RE: [google-appengine] Re: How to get an app banned?

2011-05-24 Thread Brandon Wirtz
Are we sure Ikai works at Google? I mean the adsense and search team seem to delist you, kick you out of adsense and then send you a message saying You are banished 3 weeks later when you get a hold of them they say. Oh we're sorry about that apparently you had a swear word in Arabic on your site

Re: [google-appengine] 400 Bad Request Deleting a composite index failed: ApplicationError: 1

2011-05-24 Thread Chen Jung-Chang
Here. http://code.google.com/p/googleappengine/issues/detail?id=5076q=datastore%20indexcolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log 2011/5/25 Robert Kluin robert.kl...@gmail.com Try submitting a production issue:

Re: [google-appengine] Still confused about Storage reported for billing and Datastore

2011-05-24 Thread Robert Kluin
Yeah index stats should really be shown somewhere. This is a very common, confusing, and opaque issue. If you have not already, the issue to star is 2740. http://code.google.com/p/googleappengine/issues/detail?id=2740 If you've got a lot of data having to map over it all and re-put each entity

Re: RE: [google-appengine] Generating static html files

2011-05-24 Thread Robert Kluin
I might also suggest using a 'materialized' view. Store the computed values in a datastore entity that you can fetch by key-name (perhaps using the day as the key-name). You can easily extend this logic for weeks, months, and years. Even if you only store each day's stats as an entity fetching

[google-appengine] Re: Why did my appcfg.py command fail after upgrade from 1.4.3 to 1.5.0?

2011-05-24 Thread Matthew Blain
I cannot reproduce this but could see what may be happening. What is new in 1.5.0 is that we try to autodetect the appid in more cases, what exact command line were you useing? If you change remote_api_stub.py, line 502 from this: if app_info['rtok'] != remote_token: to this: if

Re: [google-appengine] Error in upload java web application error message This application does not exist (app_id=u'xxxxxxx')

2011-05-24 Thread Robert Kluin
Did you register the appid at appspot.com? On Fri, May 20, 2011 at 09:04, SOHRAB HOSSAIN sohra...@gmail.com wrote: I have just created an sample java webapplication intended for Google Application Engine. The application runs correctly in my local machine but using the eclipse plugin

Re: [google-appengine] Re: Help in uploading a file from Widows Mobile 6.5 device to GAE blobstore

2011-05-24 Thread Robert Kluin
Hi Chimbu, I've not actually tried uploading to the blobstore using C#, but I've uploaded files to my own handlers. I'd suggest you use some type of proxy and watch the requests. Personally I might upload some small text file via a browser, then try uploading the same file from the C# code.

Re: [google-appengine] Any Good Mechanism for detecting Approaching and Over Quota?

2011-05-24 Thread Robert Kluin
Hey Brandon, You might ping who ever your favorite Google dev-rel person is an ask about getting into the Monitoring API TT group. See the IO app engine production talk (~45 minute mark) for some info about it.

Re: [google-appengine] All error in Datastore Indexes and can't fix

2011-05-24 Thread Robert Kluin
Submit a production issue: http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue On Wed, May 18, 2011 at 00:28, purpose life lifepurpos...@gmail.com wrote: Hi: thank u so much for assistance. my account is lifepurpos...@gmail.com. the error app account is

Re: [google-appengine] Reporting Engine and UML Modelling Tools for GAE?

2011-05-24 Thread Robert Kluin
If you think of and model your datastore like you would model 'in-code' classes and objects you'll probably be better off. I'd suggest avoiding any relational db modeling tools, since they'll probably encourage you to think in terms of concepts like joins. Robert On Wed, May 18, 2011 at

RE: [google-appengine] Still confused about Storage reported for billing and Datastore

2011-05-24 Thread Brandon Wirtz
I did that. I thought since there was still a discrepancy I'd switch to non-indexed types, in case it was a bug. My use case is Put something Get By Key Update something So I want it to not have any indexes. -Brandon -Original Message- From: google-appengine@googlegroups.com

RE: [google-appengine] Any Good Mechanism for detecting Approaching and Over Quota?

2011-05-24 Thread Brandon Wirtz
The introduction was made. I believe I'm on the waiting list. -Brandon -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Robert Kluin Sent: Tuesday, May 24, 2011 8:32 PM To: google-appengine@googlegroups.com Cc: Brandon

Re: [google-appengine] Application Error: 5 when calling WordPress via xmlrpclib

2011-05-24 Thread Robert Kluin
Hi Emlyn, You could move the request to a task, then increase the deadline. That would probably be the easiest solution. http://code.google.com/appengine/docs/python/urlfetch/fetchfunction.html Robert On Tue, May 17, 2011 at 09:13, Emlyn emlynore...@gmail.com wrote: Hi, I'm

Re: [google-appengine] Still confused about Storage reported for billing and Datastore

2011-05-24 Thread Robert Kluin
Yeah, I really wish there was better visibility into what's using storage space, particular indexes since that impacts performance. Do you use tasks or blobstore for anything? Stored 'tasks bytes' count against the Storage Quota too, and it doesn't reset as rapidly as the task-count does last

Re: [google-appengine] Simple query times out repeatedly for hours!

2011-05-24 Thread Robert Kluin
Hi Waleed, Are you deleting lots of entities or changing values in some way? Does this only happen when the query uses a cursor passed in from a previous task? When it is happening, if you goto the Datastore Viewer in the dashboard can you run that query? Robert On Tue, May 17, 2011

Re: [google-appengine] Application Error: 5 when calling WordPress via xmlrpclib

2011-05-24 Thread Emlyn
It's already in a task. Also, I'm not directly using urlfetch; I'm using pyblog.py which uses xmlrpclib which I guess ultimately uses urlfetch, so I can't set the deadline directly (although there do seem to be timeout mechanisms, they just don't work past 5 seconds as GAE cuts the call off). One

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

2011-05-24 Thread Robert Kluin
http://code.google.com/appengine/docs/python/tools/devserver.html On Tue, May 24, 2011 at 06:54, lacus...@hotmail.com lacus...@hotmail.com wrote: how to user dev_appserver.py? On 5月24日, 下午3時45分, Sarang sar...@mycontactid.net wrote: This is not a Google App Engine error. Expand one of

Re: [google-appengine] Application Error: 5 when calling WordPress via xmlrpclib

2011-05-24 Thread Robert Kluin
Hi Emlyn, You'll be subject to the same RPC limits. Two solutions for increasing the deadline: 1) use a pre-call hook to set a longer deadline on the URL Fetch RPC, 2) modify the lib you're using to directly use URL Fetch and bump up the deadline. Robert On Wed, May 25, 2011 at 00:29,

RE: [google-appengine] Application Error: 5 when calling WordPress via xmlrpclib

2011-05-24 Thread Brandon Wirtz
URL Fetch is good for 10 seconds. WP often is not that fast. Likely you will need to write a PHP Proxy that excepts Post requests and use it to forward to the XMLRPC receiver on Wordpress, that way you can send the data and have PHP do the waiting. (that's assuming you are adding not querying).

Re: [google-appengine] Application Error: 5 when calling WordPress via xmlrpclib

2011-05-24 Thread Emlyn
Gah, really, is that the only way? I'd really, really like to not have to have a proxy sitting somewhere else doing the heavy lifting (well, the heavy waiting really). On 25 May 2011 14:02, Brandon Wirtz drak...@digerat.com wrote: URL Fetch is good for 10 seconds. WP often is not that fast.

Re: [google-appengine] InvalidAttachmentTypeError: why ??

2011-05-24 Thread Robert Kluin
You might find the following list useful: http://code.google.com/appengine/docs/python/mail/overview.html#Attachments You might also check the issue tracker and see if there is an issue to accept more mime-types. Robert On Sat, May 21, 2011 at 10:23, Kenneth Duda

  1   2   >