[appengine-java] (datastore) One large query vs lots of small ones

2010-09-03 Thread Thomas P.
Good morning, I have to fetch about 100 items from the datastore and I considered doing it this way: select from ... where x == 5 || x== 9 || x==30 || x==2 || x==0 || x==150 || ... The thing is ... I would have to append lots of x == ... ||. This could be 100, in the most cases less than 10 but

[appengine-java] Image Service Factory interpolated makeresize

2010-09-03 Thread Thomas P.
Hi all, I have to create something like thumbnails and figured out, Google's Image Service Factory scales down images without interpolation. The result is unacceptable, unfortunately, because it's not a simple gallery or something, it's a graphical multi-zoom-level application which needs this

[appengine-java] Re: What is entity detached yet this operation requires it to be attached?

2010-09-03 Thread Didier Durand
Hi, This means that you are trying to act on an entity via the Persistence Manager when this same entity is not yet under control of the PM. It usually happens when you do a new on a Class and do not call the persist() function of the PM for that newly created instance before doing what you try

[appengine-java] Re: Security problem with App Engine application

2010-09-03 Thread Didier Durand
Hi, JDBC is not supported on app engine, you must use Google Datastore either directly or via JDO / JPA or via packages like Objectify regards didier On Sep 2, 5:28 pm, Andy Faulkner andy.faulk...@integrity.co.uk wrote: Hi, I'm trying to develop an AppEngine application in Java, that will

Re: [appengine-java] Security problem with App Engine application

2010-09-03 Thread John Patterson
You can write a local Java application that reads data using the JDBC driver and inserts it into your datastore using the RemoteDatastore library: http://code.google.com/p/remote-datastore/ I use this code to read local data from a CSV file and push it to either my local App Engine

[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread moissinac
No true/false response possible. 1) Response time: if a GAE application calls web services, each call must be ended in the limited response time offered by Google; so if there is some delay in the response of the called web service, you need to manage this finely; it could be a bit complex 2)

[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread Francois Masurel
I've successfully used some SOAP Services using the WSC library : http://code.google.com/p/sfdc-wsc/ Francois On 3 sep, 10:27, moissinac jcmoissi...@gmail.com wrote: No true/false response possible. 1) Response time: if a GAE application calls web services, each call must be ended in the

Re: [appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread John Patterson
I needed to call a SOAP service using RPC style which is not supported by the Force.com connector. In the end it wasn't hard to roll my own system which simply uses URLFetchService and parses the XML ignoring (or adding) the SOAP envelope rubbish. On 3 Sep 2010, at 15:41, Francois

Re: [appengine-java] app in gwt+gae

2010-09-03 Thread Arthur Kalmenson
The site looks alright but a couple of things: - Using the marquee tag usually leads to being banned from the Internet. - The website width is about 3000px on Chrome, that's probably not correct. Otherwise, it's not too bad, good job! -- Arthur Kalmenson On Wed, Sep 1, 2010 at 11:37 AM, ale

[appengine-java] Re: Unable to update

2010-09-03 Thread ale
Are you behind a proxy? On 2 Set, 10:17, f...@ncky fribourge...@gmail.com wrote: Hello, I try do deploy with eclipse and i have that message: Unable to update: java.net.ConnectException: Connection timed out: connect         at java.net.PlainSocketImpl.socketConnect(Native Method)        

[appengine-java] Re: app in gwt+gae

2010-09-03 Thread ale
- Using the marquee tag usually leads to being banned from the Internet. I didn't know I like the effect of marquee, what can I use alternatively? - The website width is about 3000px on Chrome, that's probably not correct. I know... :-( I have to find and solve this problem...

[appengine-java] Re: What is entity detached yet this operation requires it to be attached?

2010-09-03 Thread Sekhar
I can see why messing with a new entity outside a transaction before persist is an issue if datanucleus.NontransactionalWrite is set to false, but I have both datanucleus.NontransactionalRead and datanucleus.NontransactionalWrite set to true and I still get the error. The puzzling thing is this

[appengine-java] Re: Using Spring and couldn't find any JSPs in subdirectories -- Solution

2010-09-03 Thread zachariahyoung
What version of Spring are you using? On Sep 2, 10:25 am, Dustin dustin.bre...@gmail.com wrote: Just thought I'd share something I figured out.  Spent a good 1/2 day hacking my you-know-what off trying to figure it out. ISSUE: On local dev server, I could easily hit any JSP: $

[appengine-java] Java dev_server often takes a long time to start

2010-09-03 Thread Kareen Davidson
When starting the Java SDK dev_server it often (almost always) takes a long time (two or three minutes) to go past the jetty-6.1.x line. A few times this was almost instantaneous, but the 2-3m delay is really cramping the edit-test cycle. I've made sure that no other process is using the 8088/8080

[appengine-java] JDO owned many to one relationship question

2010-09-03 Thread Rafael Barrera Oro
Hello there! I have the following owned many to one relationship defined, a project has many files and files belongs to one and only one project (the code is below). Nevertheless, i cant save any relationships, i've managed to save files and projects but no relationships between them and if check

[appengine-java] Re: Applets in GAE

2010-09-03 Thread GuruK
Thanks for your answer. Could you also show how you would integrate an applet into gwt? Thanks On Sep 2, 3:27 pm, Chris (Google Employee) api.ch...@google.com wrote: Applets should be fine as long as the applet jar file(s) are not too big. (10M) If they are bigger, you'll need to upload and

[appengine-java] Re: (datastore) One large query vs lots of small ones

2010-09-03 Thread Rahul Ravikumar
You could just do a IN query. Something like X IN [1,2,3,... ,]. However keep in mind that IN is restricted to using 30 values (as multiple queries are being executed - one per value specified; ) There is a restriction with the IN query for a On Sep 2, 11:11 pm, Thomas P. vi...@pcb-dev.com

[appengine-java] Re: What is entity detached yet this operation requires it to be attached?

2010-09-03 Thread nksi
hi. I came to be able to merge and persist by the addition of the following to persistence.xml. property name=datanucleus.appengine.autoCreateDatastoreTxns value=false/ but,in this case, i need to write dirty code(ex: transaction.begin - commit and rollback). When the flag is true, it is

Re: [appengine-java] Re: Uncaught exception from servlet

2010-09-03 Thread Ikai L (Google)
We want to address this and I suspect it will be fixed in one of the next few upcoming releases, but I don't have an exact ETA. On Thu, Sep 2, 2010 at 2:44 PM, zachariahyoung zpyo...@gmail.com wrote: Ikai, I have posted the same issue on the Spring Roo forums. Below is the reply I got from

Re: [appengine-java] image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread Ikai L (Google)
Can you post an example image? I've never seen this happen. On Fri, Sep 3, 2010 at 7:13 AM, jay jay...@gmail.com wrote: Dear All, When I used the blobstoreservice and imagesservice to upload a image, sometimes, some pictures background were changed to red. This happend in dev enviroment.

[appengine-java] ClientLogin Service name required if all I want is datastore access?

2010-09-03 Thread Dan Billings
I just want to have access to the User object on the server-side, but I don't need access to any of the servers. I the service name required? The documentation says it is, but this seems so basic it may be possible. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread James
I've seen this with animated or transparent GIFs. On Sep 3, 10:13 am, jay jay...@gmail.com wrote: Dear All, When I used the blobstoreservice and imagesservice to upload a image, sometimes, some pictures background were changed to red. This happend  in dev enviroment. I havn't check it in

[appengine-java] Re: Inheritance

2010-09-03 Thread lisandrodc
Thanks, David. If you say that inheritance works to persist in the BD. Will you have some example in code? Regards Lisandro On 3 sep, 16:35, David Sowerby david.sowe...@virgin.net wrote: I am sorry I cannot read Spanish, but inheritance definitely works. On Sep 3, 12:10 am, lisandrodc

Re: [appengine-java] Re: JDO @Version not working properly?

2010-09-03 Thread bryce cottam
Thanks for the reply James, No, I can't do the read and the write in the same tx because I am doing a non-id based query on a different entity group in between my read and my write. But I think I've resolved the issue. It seems that when I don't do the detatch the issue is gone and the

[appengine-java] building indexes

2010-09-03 Thread aswath satrasala
Hi, * What is the normal time taken to build indexes? * Is it dependent on the volume of data in the app-id? * When I upload a new version and give some time for building the indexes, then this means, the app-id will not be in usable state for some time. * What is the recommended approach to

[google-appengine] Re: Static Images not fully loading.

2010-09-03 Thread Albert
I use chrome. It's difficult to reproduce, since it happens probably once every 100 or 200 requests. But I have never noticed it happen to non-GAE sites. On Sep 3, 11:26 am, Robert Kluin robert.kl...@gmail.com wrote: What browser?  Do you ever see that on no GAE sites? On Thu, Sep 2, 2010 at

[google-appengine] Web Service

2010-09-03 Thread Tsolmon Narantsogt
Hi Everyone How to create web service in GAE using python. Thank you Tsolmon -- 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: app in gwt+gae

2010-09-03 Thread Aurelian
Very nice website Alessandro. One year ago I released a similar application done with GWT and GAE. It's a sport social network that uses geolocation. Check it out: http://www.we-sport.com Happy coding. On 2 Set, 16:10, ale aleee...@gmail.com wrote: Hi everybody, in my free time (from

[google-appengine] Re: app in gwt+gae

2010-09-03 Thread Tim Hoffman
Hi Have you had a look at your site in google chrome. Under windows and linux its seems to have some problems, - it is rendering as if the browser window is REALLY wide. T On Sep 2, 10:10 pm, ale aleee...@gmail.com wrote: Hi everybody, in my free time (from work/family/friends) I create a

[google-appengine] Odd behaviour with referenceproperty and collections :\

2010-09-03 Thread peterk
Hello, I hadn't used referenceproperty much before in my applications, but have cause to use it now, and the behaviour of it is really confusing me. I have an entity with a reference to a second entity. From the documentation I believe I should be able to say something like: x.entityb_set to

Re: [google-appengine] Re: Datastore viewer query by key.

2010-09-03 Thread Nick Johnson (Google)
2010/9/2 Paweł Gronkiewicz pgronkiew...@gmail.com While we are at it, how do you query a key by it's name? I pretty much need to check if entity exists for a given key name. Assuming the entity is a root entity: SELECT * FROM entity WHERE __key__ = KEY('entity', 'key name') GQL

[google-appengine] Development server hangs when blobstore streams video

2010-09-03 Thread Harry
Hi, I'm using an open source video player for playing uploaded video files (via Blobstore). If video file is small (less than a megabyte), it serves properly. But when the file is larger, it crashes the development server. Do I need to use the BlobStore reader to break up the file and serve it in

[google-appengine] Re: Web Service

2010-09-03 Thread Geoffrey Spear
On Sep 3, 3:14 am, Tsolmon Narantsogt mnt...@gmail.com wrote: Hi Everyone How to create web service in GAE using python. This is a bit too vague to get a good response. What kind of web service? What kind of interface? REST? SOAP? XML-RPC? -- You received this message because you are

Re: [google-appengine] Re: Static Images not fully loading.

2010-09-03 Thread Robert Kluin
I have seen this issue happen in a variety of browsers in the past, but not in the last few years. Do you ever get the issue if you use Firefox or other browsers? I have not observed this issue with GAE. But I do not use Chrome much. Robert On Fri, Sep 3, 2010 at 02:47, Albert

[google-appengine] Re: Datastore viewer query by key.

2010-09-03 Thread Paweł Gronkiewicz
Thanks! It works, they should have that simple example in documentation :) Tim Hoffman: Well, I am using Java, so that won't work. I should have learned Python probably :P On Sep 3, 1:57 pm, Nick Johnson (Google) nick.john...@google.com wrote: 2010/9/2 Paweł Gronkiewicz pgronkiew...@gmail.com

[google-appengine] how to use Fedrated Login for my google apps Engine

2010-09-03 Thread Ehsan-ul-haq
hi i have create my Google Apps on Google Apps Engine (http:// mytasksmanager.appspot.com). now i want to create a login interface where user can login in with google and google apps account i done my Google Account login but i need help how to login with other Google Apps Accounts like

[google-appengine] Application Error:5

2010-09-03 Thread prathap shanmuga bala
Hi,this is shan i have tried to use a API by using urlfetch...but it always rise following error Traceback: File django.zip/django/core/handlers/base.py in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File

[google-appengine] image retrieval from datastore in form of thumbnail

2010-09-03 Thread mugdha
How to retrieve image from datastore so we can create thumbnail of that image? -- 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] Python Google app engine error

2010-09-03 Thread smita
Typeerror propertied class Object is not alterable -- 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

[google-appengine] App Engine for Busisness

2010-09-03 Thread Ben Chung
Hi, App Engine Team: Our RD developers, We are very interested in App Engine for Business. Because we are assessing to migrate our platform to GAE platform, so there are some questions for you, hope you can help us to answer them. 1) We know there are many 1MB limitation, like datastore for

Re: [google-appengine] image retrieval from datastore in form of thumbnail

2010-09-03 Thread Barry Hunter
Try http://code.google.com/appengine/articles/python/serving_dynamic_images.html On 3 September 2010 08:02, mugdha mnimka...@gmail.com wrote: How to retrieve image from datastore so we can create thumbnail  of that image? -- You received this message because you are subscribed to the Google

[google-appengine] Re: App Engine for Busisness

2010-09-03 Thread Geoffrey Spear
On Sep 3, 5:12 am, Ben Chung oom...@gmail.com wrote: 1) We know there are many 1MB limitation, like datastore for each entity, image resize, mail attachment, URL fetch, memcache value. Does App Engine for Business support to revoke these limitations by paying more costs? 2) Does App

[google-appengine] Re: Odd behaviour with referenceproperty and collections :\

2010-09-03 Thread Joseph Letness
Are you saying that it works on your development server but fails on your production app, or that your local app begins to fail after you update? If the former, it might be an indexing problem that is not is not being explicitly identified by the error message. I've encountered a similar problem

[google-appengine] Re: image retrieval from datastore in form of thumbnail

2010-09-03 Thread timwhunt
You should check out the newly released service base on the blob store. See http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html On Sep 3, 3:02 am, mugdha mnimka...@gmail.com wrote: How to retrieve image from datastore so we can create thumbnail  of that

Re: [google-appengine] how to use Fedrated Login for my google apps Engine

2010-09-03 Thread Ikai L (Google)
This doesn't actually require using federated login: your users just have to go to: http://mytaskmanager.appspot.com/a/ubob.org Federated login usually refers to OpenID: http://code.google.com/appengine/articles/openid.html On Thu, Sep 2, 2010 at 9:08 PM, Ehsan-ul-haq iehsa...@gmail.com wrote:

[google-appengine] Serving Url - invalid crop size valid in production?

2010-09-03 Thread Peter Liu
Using the latest high performance image serving feature, for the dev server (java), if the serving image has invalid width or crop width, it will give error. However when it's in production, the width are not restricted to the valid sizes. Valid sizes as documented:

[google-appengine] Re: Odd behaviour with referenceproperty and collections :\

2010-09-03 Thread peterk
Hi Joseph, This is all on the production environment. I make some entities with references, the call to model_set works. I call appcfg.py (with no changes) and suddenly it doesn't. I get the error that the entity no longer has that model_set attribute. I will see if changing

[google-appengine] Serious problem error code 204

2010-09-03 Thread Hugo Visser
I'm getting consistent error 204 in my logs and the request is aborted. What causes these errors and how can I debug this? Hugo -- 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: Serious problem error code 204

2010-09-03 Thread Hugo Visser
I think I figured it out, I was doing a batch fetch of some entities with blob fields. I think that this error is produced if you hit the 1 mb limit while fetching the entities. I changed my code to fetch less entities in batch and now it works in production. On Sep 3, 10:03 pm, Hugo Visser

[google-appengine] Re: Sending SMS

2010-09-03 Thread nickmilon
1) Yes Google calendar does sent event reminders via SMS - and by the way it is very trustworthy service- all my birthdays reminders come from google's calendar since more than a year. 2) An other SMS gateway that works with App Engine via a WEB API is tropo, I have tried it last week with very

[google-appengine] scheduled maintenance

2010-09-03 Thread Henrik Schack
Hi Is there a way to make the SDK behave as Google Appengine does when in scheduled maintenance mode (read only etc.) Best regards Henrik Schack -- 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] scheduled maintenance

2010-09-03 Thread Robert Kluin
I think this is right issue: http://code.google.com/p/googleappengine/issues/detail?id=1811 Robert On Fri, Sep 3, 2010 at 16:44, Henrik Schack hen...@schack.dk wrote: Hi Is there a way to make the SDK behave as Google Appengine does when in scheduled maintenance mode (read only etc.)

Re: [google-appengine] Re: Sending SMS

2010-09-03 Thread Robert Kluin
Hey Nick, Thanks for the info on Tropo, looks very interesting. Perfect timing for me too. Robert On Fri, Sep 3, 2010 at 16:31, nickmilon nickmi...@gmail.com wrote:  1) Yes Google calendar does sent  event reminders via SMS - and by the way it is very trustworthy service- all my

Re: [google-appengine] Serving Url - invalid crop size valid in production?

2010-09-03 Thread Ikai L (Google)
Hi Peter, We're trying to figure this out right now. For the time being, it is best to assume the documentation is correct, as we may restrict the sizes at a future date. On Fri, Sep 3, 2010 at 12:30 PM, Peter Liu tinyee...@gmail.com wrote: Using the latest high performance image serving

[google-appengine] Re: Odd behaviour with referenceproperty and collections :\

2010-09-03 Thread Tim Hoffman
Hi You need to make sure the class at the other end of the reference is imported other wise you will get exactly this. I would suggest you have a couple of paths through your code and one end of the reference set is not being imported. class A b = refpropery(B) class B blah If you do

[google-appengine] Re: Web Service

2010-09-03 Thread Steve Engle
I have been experimenting with piston running in conjunction with django. So far just on my Mac, plan moving to GAE within a week. It speaks JSON, YAML, Python Pickle, XML. I have been quite pleased with it so far. Apparently need a modified version of piston to work on GAE. Have not tried it

[google-appengine] Re: Python Google app engine error

2010-09-03 Thread Ben
Please provide additional context. What are you trying to do when you get this error? On Sep 3, 2:02 am, smita smitak...@gmail.com wrote: Typeerror propertied class Object is not alterable -- You received this message because you are subscribed to the Google Groups Google App Engine group.

[google-appengine] Re: Web Service

2010-09-03 Thread Tim Hoffman
If you want a simple (non regex based ) routing scheme that deals with json / REST etc.. Have a look at bobo it works very well on appengine. Thats about all it does (and provide simple security checking if you want it) No forms, no sessions just a wsgi based. T On Sep 4, 8:42 am, Steve

[google-appengine] How to build a keyword search application

2010-09-03 Thread nischalshetty
Hi, I'll list what I'm planning to do and need your help in determining if Google Appengine is a good option for this. If yes, a pointer on how to go about building it would help. I have millions of business records. New businesses are added everyday. Every time a new Business is added, we need