[appengine-java] Adding or deleting a property of an entity...

2009-08-19 Thread mar_novice
How can I add or delete a property in a given entity. Let say i have this employee class with properties -Name -Address and i have uploaded it in google app engine and pushed data. Then after some time, i want to add a field like below -Name -Address -ContactNo 1. Should i just add a

[appengine-java] Re: geocoding for IP addresses

2009-08-19 Thread Juha Palomäki
One possibility might be to use the downloadable Maxmind database, upload it to GAE datastore and use that to convert the IP-address to a city. Then use some other service to get the latitude/longitude for the city. http://developer.yahoo.com/maps/rest/V1/geocode.html

[appengine-java] Re: Granite Data Services Blog

2009-08-19 Thread Capsicum annuum
It's source has no comment... --~--~-~--~~~---~--~~ 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

[appengine-java] HardDeadlineExceededError when try to persist object

2009-08-19 Thread PSL
Hi , I have 2000 records of an entity in my datastore. I want to make a change in a particular field of the entity for all records. When I try to persist the updated records, it gives HardDeadlineExceededError after updating near about 400 records and it takes more than 30 seconds. Is there any

[appengine-java] Re: Adding or deleting a property of an entity...

2009-08-19 Thread mar_novice
Thank you very much for that info. That's a big help. On Aug 19, 4:51 pm, leszek leszek.ptokar...@gmail.com wrote: Just do it, it will work as you expect. GAE is scheme-less database, it has no any scheme or dictionary attached. It is like old WYSIWYG What You See (in the entity class

[appengine-java] Re: Kawa servlet

2009-08-19 Thread tetsujin1979
sorry, I should have added that I've checked for this on the Will it run on GAE page, and it's not listed On Aug 19, 11:54 am, tetsujin1979 tetsujin1...@gmail.com wrote: Hi, I have a Kawa -http://www.gnu.org/software/kawa/- based servlet that uses XQuery to query some xml documents to produce

[appengine-java] JPA Question - Accsing Child object of a detached Parent in JSF

2009-08-19 Thread Partha
I observed a strange situation using JPA in case of detached object. If I want to use the Tenant (see bellow) object in JSF page accept the tenantId field all fields are NULL. But before the return statement if I access any of the member variable of Tenant Object it works file. I tried with

[appengine-java] GAE- Horizontal scroll bar in logs dashboard..

2009-08-19 Thread mar_novice
I don't know where to post this so i just do it here, May I just suggest to add a horizontal scroll bar when looking into the logs.. when the url or link accessed is too long, like for example there are query strings, I can't see the whole query string ang also the cpu_ms, request latency etc.

[appengine-java] How are people persisting data for a user?

2009-08-19 Thread AJG
From the docs it sounds like the User object is based on the email for the user. This seems really bad if you want to persist data for the current user since one day they can change their email address and then you are screwed. I see the user_id() function for python and the fact that this

[appengine-java] appengine demo taskengine blank page

2009-08-19 Thread asianCoolz
i able to compile and run the demo, but when i view in the browser, it just blank . itested on appengine1.22 demo+winxp . anyone else facing this? no error in the console runserver: [java] Aug 20, 2009 1:27:46 AM com.google.appengine.tools.development.Isola tedAppClassLoader

[google-appengine] Re: Python scripts do no run in child directories?

2009-08-19 Thread Rayn
Hi Jeff, Thanks for ur help. I add __init__.py into the subdir and it works. I am python beginer :) Regards Rayn On Aug 19, 7:23 am, Jeff S (Google) j...@google.com wrote: Hi Rayn, Does the subdirectory contain a file named __init__.py? Also you'll need to change your import statements to

[google-appengine] Many Next in DataViewer logs bug ?

2009-08-19 Thread Sylvain
Hi, I've seen this issue many times : in the DataViewer (Logs), if I do many NEXT, then the DataViewer is broken (no more CSS, js,... ) etc,... I've produced this bug with many browsers (FF, IE, Chrome,...) Have you ever seen this issue ? then I will fill a bug ? Regards

[google-appengine] Re: Free Quota Clarification

2009-08-19 Thread Nick Johnson (Google)
Hi ramu, On Sun, Aug 16, 2009 at 7:45 AM, ramu rslet...@gmail.com wrote: Currently my app is in development stage and NOT made public. However I seem to miss something about quotas. The only thing running consistently on my app is 1 cron job running every minute building the database from

[google-appengine] Re: Server Error (500),when i update_indexes

2009-08-19 Thread Nick Johnson (Google)
Hi XinGuo. Feng, Are you still having trouble with your indexes? Everything looks fine now. -Nick Johnson On Sun, Aug 16, 2009 at 3:22 AM, XinGuo. Feng fengxin...@gmail.com wrote: my app-id is haowanerde,please!! -- Nick Johnson, Developer Programs Engineer, App Engine

[google-appengine] Re: All Read Please: Geographical Request Latency

2009-08-19 Thread hawkett
Ok, well I'm now seeing much *worse* (~600ms) latency in Sydney - reliably slower since the maintenance last night. ping performance.latest.pet-software.appspot.com PING appspot.l.google.com (66.102.11.141): 56 data bytes 64 bytes from 66.102.11.141: icmp_seq=0 ttl=54 time=18.807 ms 64 bytes

[google-appengine] Re: dataviewer complication

2009-08-19 Thread Nick Johnson (Google)
Hi Cyprian, On Tue, Aug 18, 2009 at 1:15 PM, Cyprian cyprian.kona...@googlemail.comwrote: Same for me, following queries work fine form dataviewer console: SELECT * FROM RSS WHERE title'' SELECT * FROM RSS WHERE ORDER BY date2 DESC and that cause an error: SELECT * FROM RSS WHERE title''

[google-appengine] Re: Datastore writes are temporarily unavailable

2009-08-19 Thread Charlie
An issue for that already exists: http://code.google.com/p/googleappengine/issues/detail?id=1811 On Aug 18, 7:14 pm, Jeff S (Google) j...@google.com wrote: Hi Pedro, That's a great suggestion. Would you mind filing that in the issue tracker?

[google-appengine] Re: Application limit

2009-08-19 Thread Nick Johnson (Google)
Hi Paul, I've increased your apps quota to 20. Happy developing! -Nick Johnson On Tue, Aug 18, 2009 at 8:52 AM, Paul Tarjan ptar...@gmail.com wrote: I've been having quite a bit of fun working with the appengine, but I have reached my limit of applications. I would hate to have to create

[google-appengine] Re: dataviewer complication

2009-08-19 Thread Cyprian
Thanks Nick Best Regards Cyprian On 19 Sie, 13:22, Nick Johnson (Google) nick.john...@google.com wrote: Hi Cyprian, On Tue, Aug 18, 2009 at 1:15 PM, Cyprian cyprian.kona...@googlemail.comwrote: Same for me, following queries work fine form dataviewer console: SELECT * FROM RSS

[google-appengine] Cron job fails without giving additional information

2009-08-19 Thread Raghuram Devarakonda
I am trying to get the following cron jobs work with my (Python) app. - cron: - description: Wednesday alert url: /email_alerts schedule: every wednesday 03:00 - description: Friday alert url: /email_alerts schedule: every friday 03:00 - I verified that '/email_alerts' works

[google-appengine] .jsp file error

2009-08-19 Thread yanfabin
i simply new a Guestbook project without GWT, then new a guestbook.jsp in the war folder. no errors at the eclipse edit area(my ide: Eclipse 3.4 (Ganymede) ), but a red X on war/guestbook.jsp in the package explorer. when visit guestbook.jsp, i got the flowing: SEVERE: Javac exception Error

[google-appengine] How to Query JPA

2009-08-19 Thread Casey
I'm just learning how to get a java google appengine project up and running and I've run into a problem while attempting to run a query using JPA. I've followed the instructions on this page http://code.google.com/appengine/docs/java/datastore/usingjpa.html for setting up JPA but I'm still

[google-appengine] Re: Apache Jackrabbit on GAE

2009-08-19 Thread francois.lef...@racinegroup.com
Hi, We investigated a little bit the very same question, in order to port Liferay (which uses Jackrabbit) under GAE. And instead of migrating all sql/hibernate stuff to JDO, it appears incredibly easier to continue to use jdbc, but to use it with something compliant with GAE. Once said that,

[google-appengine] __key__ problem.

2009-08-19 Thread Deepcover
Another newbie question I am afraid, I am trying to use the ID/Name field in my application, but having some problems. I have the following query: locations = db.GqlQuery(SELECT * FROM Location ORDER BY __key__ DESC LIMIT 10) template_values = { 'greetings': locations, }

[google-appengine] Re: GAE costs more than 10 times than expected.

2009-08-19 Thread Sylvain
I've opened an issue to add new billing options (monthly, currency,...) http://code.google.com/p/googleappengine/issues/detail?id=1999 Regards. On 14 août, 16:28, Juraj Vitko juraj.vi...@gmail.com wrote: Yeah Paypal is actually in direct competition with Google Checkout, I don't know what

[google-appengine] Chrome display issue

2009-08-19 Thread Mark Pope
I wrote a GWT app using the Eclipse IDE plugin. The app has a form dialog that includes a TextArea widget. User entered data in the TextArea widget is persisted from the form and later displayed in a Label widget. The data 'appear' to be missing newline characters showing one big concatenated

[google-appengine] Re: Cron job fails without giving additional information

2009-08-19 Thread vp
You need to look at the logs. Try looking at the request logs to see if the request really went through. In case you are processing too much data, that request log might have got purged by now. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Random HTTP 500 errors

2009-08-19 Thread vp
Since i am not able to find any real issues with my code, i want to check with all appengine developers if their apps also throw up random HTTP 500 - Internal Server Error. In my case this is happening mostly where front-end template related code is involved. To reiterate the issue, quite a few

[google-appengine] Re: Random HTTP 500 errors

2009-08-19 Thread Joshua Smith
There were loads of these yesterday during the outage. The only times I've ever had Internal Server Errrors are: - when GAE was having an outage - when I had a syntax error in my code - when I added a google apps account that matched my existing google account So unless you were seeing these

[google-appengine] Problem with status page

2009-08-19 Thread Joshua Smith
FYI: http://code.google.com/status/appengine/detail/serving/2009/08/16#ae-trust-detail-helloworld-get-latency apparently has a bug with the code that does the [A] [B] ... markers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[google-appengine] Re: How can I read a standard openssl private key with PyCrypto and decrypt with it?

2009-08-19 Thread Jeff S (Google)
Hi Tim, Would you be open to using tlslite? I've had good experience with it so far, so if you are looking to get up and running quickly this example might help http://code.google.com/p/gdata-python-client/source/browse/trunk/src/gdata/gauth.py#378 from tlslite.utils import keyfactory

[google-appengine] facebook

2009-08-19 Thread Richard Gates
i see the libs for php are already a point of interest so i wont need to add to that so i would just like to add a question about google supporting 3rd party libs like facebook and myspace or other major brands. my problem is i am on a path to using google api to managing content via google

[google-appengine] Re: Cron job fails without giving additional information

2009-08-19 Thread Raghuram Devarakonda
On Aug 19, 1:01 pm, vp vivpu...@gmail.com wrote: You need to look at the logs. Try looking at the request logs to see if the request really went through. In case you are processing too much data, that request log might have got purged by now. I checked request logs and I do see entry for

[google-appengine] Questions about the preferred way to handle multiple apps/accounts

2009-08-19 Thread Brandon N. Wirtz
We have built an app that allows a web site to move portions of their web site to Google AppEngine, with minimal configuration on their part. This is great for WordPress, and Movable type users who would like to move their images off site, but don't want to mess with their CMS. Think of it like

[google-appengine] Re: Questions about the preferred way to handle multiple apps/accounts

2009-08-19 Thread Raghuram Devarakonda
On Aug 19, 2:32 pm, Brandon N. Wirtz drak...@digerat.com wrote: We have built an app that allows a web site to move portions of their web site to Google AppEngine, with minimal configuration on their part. Please post in a separate thread as this is not related to current discussion.

[google-appengine] Re: Random HTTP 500 errors

2009-08-19 Thread vp
Joshua, Thanks for your response. I see issues even when GAE is not reporting an outage. In one instance, all i have setup is a redirect from one page to another another. And quite a few times that redirect just fails. -V --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Cron job fails without giving additional information

2009-08-19 Thread vp
Maybe it is a deadline exceeded error. Did you set your app to catch that error? --~--~-~--~~~---~--~~ 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: Cron job fails without giving additional information

2009-08-19 Thread Raghuram Devarakonda
On Aug 19, 2:58 pm, vp vivpu...@gmail.com wrote: Maybe it is a deadline exceeded error. Did you set your app to catch that error? I don't catch this error and it is very unlikely to have happened even though it can not be ruled out. If it indeed occurred, wouldn't the error show up in the

[google-appengine] Re: __key__ problem.

2009-08-19 Thread vp
Maybe you need to use a key method - http://code.google.com/appengine/docs/python/datastore/keyclass.html --~--~-~--~~~---~--~~ 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] Putting Entities With Unique Constraints

2009-08-19 Thread Scott
Ran into a gotcha with my App today. I have implemented a User Model that has a couple of properties (facebook id and email address) that need to be unique across all User instances in the datastore. I implemented my own get_or_insert method that I run in a transaction. The get_or_insert

[google-appengine] Requested Task_Queue Function: add_multi

2009-08-19 Thread James
An add_multi function for the taskqueue would likely provide the same benefits we see from batching calls to the db and memcache. Of course, more introspection and taskqueue and functionality in general would be welcome, but 'add_multi' seems like low-hanging fruit.