Re: [google-appengine] import errors with sdk 1.5.3

2011-08-23 Thread andreas schmid
hi,

yes it still works on production, the file is fine and i can import other 
functions classes in that file but some of them not.
its really weird. 
where can i see if something got blacklisted?


On Aug 23, 2011, at 8:33 AM, Robert Kluin wrote:

> Hi Andreas,
>  Does it still work on production?  Have you checked that file to
> make sure there is nothing funky going on with it?  Have you tried
> importing that file  yourself?  You might also want to see if you
> can't figure out if it is trying to load something that has been
> blacklisted now (I don't remember the exact error that is raised in
> that case).
> 
> 
> Robert
> 
> 
> 
> 
> 
> 
> On Mon, Aug 22, 2011 at 12:17, andreas schmid  wrote:
>> hey,
>> 
>> since i upgraded to the new sdk i have issues importing modules
>> i have some older apps where i use whoosh appengine to index some stuff.
>> 
>> since sdk 1.5.3 i cant run those apps any more.
>> whoosh-appengine is in the root of the project and the function i want to 
>> import is there.
>> 
>> the import:
>> 
>> from whoosh.index import getdatastoreindex
>> 
>> ends in a:
>> 
>> File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 4143, in _HandleRequest
>>self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 4049, in _Dispatch
>>base_env_dict=env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 616, in Dispatch
>>base_env_dict=base_env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 3120, in Dispatch
>>self._module_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 3024, in ExecuteCGI
>>reset_modules = exec_script(handler_path, cgi_path, hook)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2887, in ExecuteOrImportScript
>>exec module_code in script_module.__dict__
>>  File "/Users/pepe/DEV/edelweissdentistry.project/app-runner.py", line 6, in 
>> 
>>from app.app import main
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2503, in load_module
>>return self.FindAndLoadModule(submodule, fullname, search_path)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2375, in FindAndLoadModule
>>description)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2318, in LoadModuleRestricted
>>description)
>>  File "/Users/pepe/DEV/edelweissdentistry.project/app/app.py", line 19, in 
>> 
>>from imageapp.handlers.tags import get_gallery, get_assets, get_collection
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2503, in load_module
>>return self.FindAndLoadModule(submodule, fullname, search_path)
>

[google-appengine] Re: Task Queue on backend runs much slower than it's configured to

2011-08-23 Thread pdknsk
It can't be a coincidence that it sends one mail every 20 seconds,
which happens to match min_backoff_seconds? It's not the first time I
noticed this either.

2011-08-23 01:03:14.844 /mail/ 200 28ms 0cpu_ms 0kb instance=0
2011-08-23 01:02:54.841 /mail/ 200 31ms 23cpu_ms 0kb instance=0
2011-08-23 01:02:34.832 /mail/ 200 28ms 23cpu_ms 0kb instance=0
2011-08-23 01:02:14.826 /mail/ 200 28ms 0cpu_ms 0kb instance=0
2011-08-23 01:02:03.220 /mail/ 200 377ms 0cpu_ms 0kb instance=0
2011-08-23 01:02:03.188 /_ah/start 404 97ms 46cpu_ms 0kb instance=0

I checked enforced rate and it's at 1.5/s in the dashboard so it
should send much faster.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] import errors with sdk 1.5.3

2011-08-23 Thread Sahid Orentino Ferdjaoui
I think you need to install the lib whoosh, i had a same problem.

http://pypi.python.org/pypi/Whoosh/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/vfNi8wWkkRYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: zipped modules and template folders

2011-08-23 Thread andreas schmid
hi,

im trying to use zipped modules for my app (python) because i have an app that 
is the same in the admin interface for all tenants but the frontend behaviour 
and templates are different.

what im trying to do is have a common logic (my app(s) like a blogapp and one 
to handle images) and then have different tennants using that logic.
then i have a 'frontends' module with different apps in it with a main.py and a 
templates directory all in zipped folders

i have a dispatcher.py that should dispatch the requests to the right frontend 
app. it works kind of right if the packages are simple folders. 
as soon as i zip those packages i have issues with the template rendering 
because in my case tornado does not see the zipped app as a folder and cant 
open the template file. 
is there a way to get this working?

the structure is something like:

/app.yaml
/frontends/app1.zip
/frontends/app2.zip
/frontends-dispatcher.py -- the dispatcher which routes to the right app in 
/frontends
/blogapp
/imageapp
/tornado

any suggestions are highly appreciated! ...even if i have to restructure the 
whole thing.

thx

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] zipped modules and template folders

2011-08-23 Thread andreas schmid
hi,

im trying to use zipped modules for my app (python) because i have an app that 
is the same in the admin interface for all tenants but the frontend behaviour 
and templates are different.

what im trying to do is have a common logic (my app(s) like a blogapp and one 
to handle images) and then have different tennants using that logic.
then i have a 'frontends' module with different apps in it with a main.py and a 
templates directory all in zipped folders

i have a dispatcher.py that should dispatch the requests to the right frontend 
app. it works kind of right if the packages are simple folders. 
as soon as i zip those packages i have issues with the template rendering 
because in my case tornado does not see the zipped app as a folder and cant 
open the template file. 
is there a way to get this working?

the structure is something like:

/app.yaml
/frontends/app1.zip
/frontends/app2.zip
/frontends-dispatcher.py -- the dispatcher which routes to the right app in 
/frontends
/blogapp
/imageapp
/tornado

any suggestions are highly appreciated! ...even if i have to restructure the 
whole thing.

thx


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to use any Web services, in particular RESTFull.

2011-08-23 Thread Chris Copeland
This is the group for Google App Engine.  I think the group you want is
http://groups.google.com/group/Google-Web-Toolkit.

On Mon, Aug 22, 2011 at 6:26 PM, Paul Grojean  wrote:

> Hi,
> - I am new to GWT and I wonder how to run some Web services.
>
> - I would like to exchange XML files using RESTFull.
>   So far I used Glassfish, and I wonder if GWT provides a similar
> function?
>   If so, is there a location where I can find some example?
>
> - If not possible or supported, is there any other Web service that I
> should use?
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] why does datastore copy take so much cpu time?

2011-08-23 Thread saintthor
i am copying to models to another app. there are not many entities,
but it worked for 10 minutes till now, not finished. and, the cpu
times is spent 50%.

two weeks ago i copied some models that much larger than this, it took
only 13% cpu time and finished in 2 minutes. what is wrong?

i have to stop the copy now. i hope i can do it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Task Queue on backend runs much slower than it's configured to

2011-08-23 Thread Robert Kluin
The problem is that your backend is not executing requests fast enough, right?

Have you filed a production issue ticket?



Robert




On Tue, Aug 23, 2011 at 04:08, pdknsk  wrote:
> It can't be a coincidence that it sends one mail every 20 seconds,
> which happens to match min_backoff_seconds? It's not the first time I
> noticed this either.
>
> 2011-08-23 01:03:14.844 /mail/ 200 28ms 0cpu_ms 0kb instance=0
> 2011-08-23 01:02:54.841 /mail/ 200 31ms 23cpu_ms 0kb instance=0
> 2011-08-23 01:02:34.832 /mail/ 200 28ms 23cpu_ms 0kb instance=0
> 2011-08-23 01:02:14.826 /mail/ 200 28ms 0cpu_ms 0kb instance=0
> 2011-08-23 01:02:03.220 /mail/ 200 377ms 0cpu_ms 0kb instance=0
> 2011-08-23 01:02:03.188 /_ah/start 404 97ms 46cpu_ms 0kb instance=0
>
> I checked enforced rate and it's at 1.5/s in the dashboard so it
> should send much faster.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] why does datastore copy take so much cpu time?

2011-08-23 Thread Robert Kluin
Did you check the logs on both apps looking for errors?






On Tue, Aug 23, 2011 at 09:46, saintthor  wrote:
> i am copying to models to another app. there are not many entities,
> but it worked for 10 minutes till now, not finished. and, the cpu
> times is spent 50%.
>
> two weeks ago i copied some models that much larger than this, it took
> only 13% cpu time and finished in 2 minutes. what is wrong?
>
> i have to stop the copy now. i hope i can do it.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Understand Google App Engine

2011-08-23 Thread User4Fun
I know nothing about JAVA.
I have a website that the user enteres a request for information about a 
fixed number of categories and when it is submitted, the information is 
pulled from a database and displayed.

I just got introduced to Google App Engine. My goal is to have something 
that would work on smart phones. Are my goals possible to mix the two 
together? can I make a java code for the form that retreives information and 
it would conside with Google App Engine service?

Am I on the right track, or am I just getting confused?

Where do I start to learn move about making a simple form in JAVA. The form 
will only have about two to three fields and a submit button.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/-WLXKp1CxFAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Why the datastore cost so much Quota but I can't see that in Datastore Statistics page?

2011-08-23 Thread K.L.
My application has cost 90% datastore space of 1GB quota, but in
Datastore Statistics page, the sum size of all data types is no more
than 300MB. Where did the hidden 600+MB data space cost? It seems some
rubbish data accumulated during application running, is there some way
to clean up that?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Failed to add user to existing App Engine...

2011-08-23 Thread r.dorland
Hi all,

At our company we are experimenting with the Google App Engine.
There is already an app online and they wanted to add me to this
existing app.
We tried to do this several times but I still can't access the
existing app.

The email you receive when you are added to an existing app consists
of 2 links.
- one for coupling it to an existing Google account
- one for coupling it to the receiving email address which is a Google
Account

If i follow the link in case 1, I'm redirected to a page where I need
to create a new application:
If i follow the link in case 2, I get the following Server Error:
"Sorry, you've reached a login page for a domain that isn't using
Google Apps. Please check the web address and try again."

If one of my colleagues looks at the Permissions page of all users, my
status is pending...

Anyone an idea?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] JPA Version

2011-08-23 Thread Markus
Hello!

I would like to know, which version of JPA is currently supported by
GAE.

Thanks for reply!

Regards, Markus

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] upload multiple files at once

2011-08-23 Thread Francisco de la Cruz Olmo
Hi.

I want to upload multiple files with a HTML5 control


In localhost not work but in appengine works fine.
When I upload files to blobstoreservice I see these files with the
blob viewer of the appengine console so it would be ok.

The problem is when I want to retrieve the blobkeys of these files.

BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
Map blobs =
blobstoreService.getUploadedBlobs( request )

Map size is 1.
I don't understand why I can't retrieve all blobkeys.

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Enable google apps for my account and recover application from another account

2011-08-23 Thread Saif Bechan
Hello,

I have two google accounts, one personal and one google apps. Now I
had enabled google appengine for my google apps account, using my
phone number, and created an app to test.

That was just for testing, I want to enable google appengine for my
personal account, but I get a message that my number is already used.
Now I want to remove the association with my number from my google
apps account and add it to my personal account. And start using
appengine on my personal account.



Further, I have no access to the app I have created with my google
apps account. The app still remains in my google account admin
dashboard, but when I try to access it I get a 404 bad request. When I
browse to appengine.google.com/a/mydomain I get redirected to
appengine.google.com/a/start

Can you guys please help me sort everything out, thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] 500 entities limit for db.put() operation

2011-08-23 Thread can
Hi,
Is there a limit of 500 entities for db.put() operation ? I read that
in a blog post but couldn' t able to find anywhere else.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-23 Thread thstart
+Fred Sauer 

>EVENTUAL_CONSISTENCY 

Thank you I will explore this possibility. Yesterday I moved back the app to 
HRD and my tests
show significant speed improvement. No change in my code. I suppose Google 
improved the 
speed somehow. If this is consistent then my users will be happy.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/d6rhj8mmiyIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Problem with System time? Unable to use twitter oAuth to login to my app

2011-08-23 Thread nischalshetty
I am getting a very high level of errors while logging in to my app using 
twitter oAuth and twitter says the token is invalid. This is happening to 
thousands of users right now.

Just want to confirm if the problem is on appengine's end?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ZtbgS7PtZrMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Problem with System time? Unable to use twitter oAuth to login to my app

2011-08-23 Thread Ikai Lan (Google)
Not that I'm aware of. Have you asked Twitter yet?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Tue, Aug 23, 2011 at 11:06 AM, nischalshetty
wrote:

> I am getting a very high level of errors while logging in to my app using
> twitter oAuth and twitter says the token is invalid. This is happening to
> thousands of users right now.
>
> Just want to confirm if the problem is on appengine's end?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/ZtbgS7PtZrMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Problem with System time? Unable to use twitter oAuth to login to my app

2011-08-23 Thread nischalshetty
I'm going to do that now... Will revert back if I get any info... 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/a3dpiMbOkF8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Problem with System time? Unable to use twitter oAuth to login to my app

2011-08-23 Thread nischalshetty
Haven't yet got a reply but the errors have slowed down. It's still 
appearing for a subset of our users though since I can see them in the logs 
at regular intervals. I saw similar complaints on the twitter mailing list 
but they seem to be suggesting users to check if their system clocks are out 
of sync.

I remember reading that the system clocks on the appengine servers can be 
off by a few hours. Is there a way I can think of a possible solution? Would 
moving the "login" module of my app to a backend help? Will the backend 
clock be in sync or it can have the same problem of the time being off by a 
few hours?

Any pointers to making sure we have an updated clock would be helpful. The 
clocks being off by a few minutes won't affect us but an hour or so I guess 
would make the oAuth tokens invalid.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/wPAdw5B4MbgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Why the datastore cost so much Quota but I can't see that in Datastore Statistics page?

2011-08-23 Thread sergey

Hi!
Did you check indexes, memcache and blobstore?

On 23 авг, 14:10, "K.L."  wrote:
> My application has cost 90% datastore space of 1GB quota, but in
> Datastore Statistics page, the sum size of all data types is no more
> than 300MB. Where did the hidden 600+MB data space cost? It seems some
> rubbish data accumulated during application running, is there some way
> to clean up that?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Datastore Viewer report permanent "Server Error"

2011-08-23 Thread Ikai Lan (Google)
 Fabio, I took a look at that datastore and I'm getting this error:


UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in
position 12: ordinal not in range(128)

Do you have any properties that shouldn't be encoded in ascii? This bug is
something we need to fix in our end, but in the meantime if you need to get
things going, can you find out if there are any properties in AgenteJDO that
could display on the page and trigger this?

In the meantime, you can get to the other properties here:

*
https://appengine.google.com/datastore/explorer?submitted=1&app_id=YOURAPPID&version_id=datasource.352755489240833729&kind=BLAHBLAH
*

For anyone else that is seeing this issue, just append a junk
&kind=SOMEVALUE as a URL parameter. You should be able to get into the
datastore viewer and at least look at other Entity Kinds.
 --
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Thu, Aug 18, 2011 at 5:05 AM, Fabio Sgrò wrote:

> The problem is present since ten days and it has never fixed itself...
>
> On 18 Ago, 10:47, pdknsk  wrote:
> > I've had this as well some days ago. It fixed itself the same day.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Cannot get on Datastore Admin page

2011-08-23 Thread Will
Hi there,

I enabled Datastore Admin several months ago, and it worked. But
recently I cannot enter the page any longer. Every time I get
"Internet Explorer cannot display the webpage" on the right pane.

I'm using IE9 and the appid is "bianshengbaobao".

Thanks,

Will

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Failed to add user to existing App Engine...

2011-08-23 Thread Jose Montes de Oca
Hi r.dorland,

Could you try this to see if it works?

1/ remove the user you are adding (the one pending) from the permission page 
(on the admin console)
2/ Login the user you want to add to:
- App engine page: http://appengine.google.com
- and the cpanel for apps: http://www.google.com/a/cpanel/YOURDOMAIN
This way we make sure the user is correctly set up.
3/ try to add the user again to the application and follow the link you will 
get through the email invite.

Hope this helps!

Best,
Jose Montes de Oca
Developer Support Specialist

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/eReziliuOI4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: upload multiple files at once

2011-08-23 Thread Jose Montes de Oca
Hi Francisco,

check out this post on nicks blog:
http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the-Blobstore-API-part-3-Multiple-upload-support

Hope this helps.

Best,
Jose Montes de Oca
Developer Support Specialist

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/IOhwQhqARoYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Understand Google App Engine

2011-08-23 Thread Wen (Google)
Use JSP (A Java technology) with Google App Engine.  A good end-to-end
example at: 
http://code.google.com/appengine/docs/java/gettingstarted/usingjsps.html

- Wen


On Aug 23, 7:55 am, User4Fun  wrote:
> I know nothing about JAVA.
> I have a website that the user enteres a request for information about a
> fixed number of categories and when it is submitted, the information is
> pulled from a database and displayed.
>
> I just got introduced to Google App Engine. My goal is to have something
> that would work on smart phones. Are my goals possible to mix the two
> together? can I make a java code for the form that retreives information and
> it would conside with Google App Engine service?
>
> Am I on the right track, or am I just getting confused?
>
> Where do I start to learn move about making a simple form in JAVA. The form
> will only have about two to three fields and a submit button.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: upload multiple files at once

2011-08-23 Thread Wen (Google)
HTML5 allows you to upload multiple files at the same
time, however, on most browsers it gives all the files the same
name - in your case, it looks like "files" is the name. Therefore the
app engine api Map blobs =
blobstoreService.getUploadedBlobs(req) only returns one blob key as
all the others get overwritten due to the unique keys constraint of
java.util.Map.

This is why the map size is 1.

One workaround might be to use javascript to change all the names of
the files before they are actually uploaded.

There is already an issue filed and acknowledged, you can star this
and follow until it's resolved: 
http://code.google.com/p/googleappengine/issues/detail?id=3351

- Wen



On Aug 23, 3:16 pm, Jose Montes de Oca 
wrote:
> Hi Francisco,
>
> check out this post on nicks 
> blog:http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-th...
>
> Hope this helps.
>
> Best,
> Jose Montes de Oca
> Developer Support Specialist

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: JPA Version

2011-08-23 Thread Wen (Google)
The App Engine Java SDK includes an implementation of JPA 1.0 for the
App Engine datastore. The implementation is based on DataNucleus
Access Platform. JPA presents a standard interface for interacting
with relational databases, but the App Engine datastore is not a
relational database. As a result, there are features of JPA that the
App Engine implementation simply cannot support.

- Wen


On Aug 22, 11:04 pm, Markus  wrote:
> Hello!
>
> I would like to know, which version of JPA is currently supported by
> GAE.
>
> Thanks for reply!
>
> Regards, Markus

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] DOS attack

2011-08-23 Thread spot
Hi,

I suspect that I may be the victim of an ongoing DOS attack. How do I 
protect myself? 


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/jOa5g0sSYDgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Extended duration doing imports on M/S instance causing repeated DeadlineExceeded errors during startup.

2011-08-23 Thread Tim Hoffman
Hi

My appid is qtrack-dev and it M/S 

For the last few hours I have been able to start any instances.

Normally the instance starts <6sec
at the moment just doing the imports (largish stack, not as big as django 
though)
is taking between 24 and 30secs.

I have seen this in the past (and an issue relating to this was closed by 
Guido the other day as non-repeatable).

Anyone else experiencing problems or I am in one of the backwaters that is 
suffering performance issues.

Thanks

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/0cbJsQgstL0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Ensuring a given key does not exists prior to "put"

2011-08-23 Thread Mike Gleason jr Couturier
Hi,

Given the nature of the "put" function (low level hrd API), how can I
atomically put a new entity without overwriting an existing one if the
keys are chosen by the users (String values)?

Let's say I have 2 simultaneous users that creates at the same time an
entity of kind "User" with the custom key "johndoe" (because the user
name is the key), I don't want the second one to overwrite the
first...

I don't want to have a property for the username since I'll have the
same "unique index" problem.

Is a transaction with a:
1) get
2) catch EntityNotFoundException
3) put
4) commit

enough to ensure consistency ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Is it required to migrate applications to the High Replication datastore?

2011-08-23 Thread coltsith
Recently saw this message (http://groups.google.com/group/google-
appengine-downtime-notify/browse_thread/thread/7f4ad0fe8667882a)
mentioning a self-service migration tool being released soon.

Is it required that we use it to migrate our apps? Our application has
been working pretty cleanly for the past year and we don't want to
change things.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Ensuring a given key does not exists prior to "put"

2011-08-23 Thread Mike Gleason jr Couturier
I've done this, I just wan to have a second opinion:

Entity entity = new Entity("User", "mike" /*username*/);
Transaction tx = datastore.beginTransaction();

try {
datastore.get(entity.getKey());
return false; // error, already in hrd
} catch (EntityNotFoundException e) {
datastore.put(entity);
tx.commit();
return true;
} finally {
if (tx.isActive()) {
tx.rollback();
}
}

Seems a bit overkill but we need consistency right? :)

Thanks

On Aug 23, 10:39 pm, Mike Gleason jr Couturier
 wrote:
> Hi,
>
> Given the nature of the "put" function (low level hrd API), how can I
> atomically put a new entity without overwriting an existing one if the
> keys are chosen by the users (String values)?
>
> Let's say I have 2 simultaneous users that creates at the same time an
> entity of kind "User" with the custom key "johndoe" (because the user
> name is the key), I don't want the second one to overwrite the
> first...
>
> I don't want to have a property for the username since I'll have the
> same "unique index" problem.
>
> Is a transaction with a:
> 1) get
> 2) catch EntityNotFoundException
> 3) put
> 4) commit
>
> enough to ensure consistency ?
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Ensuring a given key does not exists prior to "put"

2011-08-23 Thread Mike Gleason jr Couturier
And let's say I do it on a property, is this would be enough?

Query q = new Query("User').setKeysOnly();
q.addFilter("Email", Query.FilterOperator.EQUAL, 
"j...@doe.com");

Transaction tx = datastore.beginTransaction();

if
(datastore.prepare(q).countEntities(FetchOptions.Builder.withDefaults())
> 0)
{
tx.rollback();
return false;
}

datastore.put(entity);
tx.commit();
return true;


On Aug 23, 11:23 pm, Mike Gleason jr Couturier
 wrote:
> I've done this, I just wan to have a second opinion:
>
>                         Entity entity = new Entity("User", "mike" 
> /*username*/);
>                         Transaction tx = datastore.beginTransaction();
>
>                         try {
>                                 datastore.get(entity.getKey());
>                                 return false; // error, already in hrd
>                         } catch (EntityNotFoundException e) {
>                                 datastore.put(entity);
>                                 tx.commit();
>                                 return true;
>                         } finally {
>                             if (tx.isActive()) {
>                                 tx.rollback();
>                             }
>                         }
>
> Seems a bit overkill but we need consistency right? :)
>
> Thanks
>
> On Aug 23, 10:39 pm, Mike Gleason jr Couturier
>
>
>
>
>
>
>
>  wrote:
> > Hi,
>
> > Given the nature of the "put" function (low level hrd API), how can I
> > atomically put a new entity without overwriting an existing one if the
> > keys are chosen by the users (String values)?
>
> > Let's say I have 2 simultaneous users that creates at the same time an
> > entity of kind "User" with the custom key "johndoe" (because the user
> > name is the key), I don't want the second one to overwrite the
> > first...
>
> > I don't want to have a property for the username since I'll have the
> > same "unique index" problem.
>
> > Is a transaction with a:
> > 1) get
> > 2) catch EntityNotFoundException
> > 3) put
> > 4) commit
>
> > enough to ensure consistency ?
>
> > Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] DOS attack

2011-08-23 Thread Brandon Wirtz
Add the address to the blocked IP Pool. 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of spot
Sent: Tuesday, August 23, 2011 4:31 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] DOS attack

 

Hi,

I suspect that I may be the victim of an ongoing DOS attack. How do I
protect myself? 



-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/jOa5g0sSYDgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] 500 entities limit for db.put() operation

2011-08-23 Thread Robert Kluin
This is something you can easily try.  But yes, I believe that limit
was lifted quite some time ago.



Robert






On Tue, Aug 23, 2011 at 05:01, can  wrote:
> Hi,
> Is there a limit of 500 entities for db.put() operation ? I read that
> in a blog post but couldn' t able to find anywhere else.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Why the datastore cost so much Quota but I can't see that in Datastore Statistics page?

2011-08-23 Thread Robert Kluin
Yeah this is super annoying.  If you'd like index stats:
  http://code.google.com/p/googleappengine/issues/detail?id=2740

In addition to the items Sergey noted, sotred task bytes also count
against this.


Robert




On Tue, Aug 23, 2011 at 15:48, sergey  wrote:
>
> Hi!
> Did you check indexes, memcache and blobstore?
>
> On 23 авг, 14:10, "K.L."  wrote:
>> My application has cost 90% datastore space of 1GB quota, but in
>> Datastore Statistics page, the sum size of all data types is no more
>> than 300MB. Where did the hidden 600+MB data space cost? It seems some
>> rubbish data accumulated during application running, is there some way
>> to clean up that?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Why the datastore cost so much Quota but I can't see that in Datastore Statistics page?

2011-08-23 Thread Robert Kluin
On Wed, Aug 24, 2011 at 01:52, Robert Kluin  wrote:
> Yeah this is super annoying.  If you'd like index stats:
>  http://code.google.com/p/googleappengine/issues/detail?id=2740
>
> In addition to the items Sergey noted, sotred task bytes also count
> against this.

Well, except memcache.


>
>
> Robert
>
>
>
>
> On Tue, Aug 23, 2011 at 15:48, sergey  wrote:
>>
>> Hi!
>> Did you check indexes, memcache and blobstore?
>>
>> On 23 авг, 14:10, "K.L."  wrote:
>>> My application has cost 90% datastore space of 1GB quota, but in
>>> Datastore Statistics page, the sum size of all data types is no more
>>> than 300MB. Where did the hidden 600+MB data space cost? It seems some
>>> rubbish data accumulated during application running, is there some way
>>> to clean up that?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Problem with System time? Unable to use twitter oAuth to login to my app

2011-08-23 Thread Robert Kluin
There have been many discussions on this topic.  I think the general
consensus is that it is pretty rare to find clocks that are out of
sync by very much (seconds), but it is possible.  Probably if you were
seeing this across your whole app it wasn't the issue.  If it was
isolated to a subset of instances, perhaps.  The instance is indicated
in the log entries, you could always download them and see if there
was a correlation between errors and the instance.


Robert






On Tue, Aug 23, 2011 at 15:26, nischalshetty  wrote:
> Haven't yet got a reply but the errors have slowed down. It's still
> appearing for a subset of our users though since I can see them in the logs
> at regular intervals. I saw similar complaints on the twitter mailing list
> but they seem to be suggesting users to check if their system clocks are out
> of sync.
> I remember reading that the system clocks on the appengine servers can be
> off by a few hours. Is there a way I can think of a possible solution? Would
> moving the "login" module of my app to a backend help? Will the backend
> clock be in sync or it can have the same problem of the time being off by a
> few hours?
> Any pointers to making sure we have an updated clock would be helpful. The
> clocks being off by a few minutes won't affect us but an hour or so I guess
> would make the oAuth tokens invalid.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/wPAdw5B4MbgJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Enable google apps for my account and recover application from another account

2011-08-23 Thread Robert Kluin
First problem:
  http://code.google.com/appengine/kb/sms.html#error

Second problem:
  You might try clearing your cookies.






On Tue, Aug 23, 2011 at 05:45, Saif Bechan  wrote:
> Hello,
>
> I have two google accounts, one personal and one google apps. Now I
> had enabled google appengine for my google apps account, using my
> phone number, and created an app to test.
>
> That was just for testing, I want to enable google appengine for my
> personal account, but I get a message that my number is already used.
> Now I want to remove the association with my number from my google
> apps account and add it to my personal account. And start using
> appengine on my personal account.
>
> 
>
> Further, I have no access to the app I have created with my google
> apps account. The app still remains in my google account admin
> dashboard, but when I try to access it I get a 404 bad request. When I
> browse to appengine.google.com/a/mydomain I get redirected to
> appengine.google.com/a/start
>
> Can you guys please help me sort everything out, thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Is it required to migrate applications to the High Replication datastore?

2011-08-23 Thread Robert Kluin
No, but you should consider it. It is more stable in general. 

Robert




On Aug 23, 2011, at 23:16, coltsith  wrote:

> Recently saw this message (http://groups.google.com/group/google-
> appengine-downtime-notify/browse_thread/thread/7f4ad0fe8667882a)
> mentioning a self-service migration tool being released soon.
> 
> Is it required that we use it to migrate our apps? Our application has
> been working pretty cleanly for the past year and we don't want to
> change things.
> 
> Thanks!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Ensuring a given key does not exists prior to "put"

2011-08-23 Thread Robert Kluin
If you want it to be unique you'll need to use the keyname, like your earlier 
idea. Fetch by key, if it doesn't exist you're ok to create it. 


Robert




On Aug 24, 2011, at 0:12, Mike Gleason jr Couturier  
wrote:

> And let's say I do it on a property, is this would be enough?
> 
>Query q = new Query("User').setKeysOnly();
>q.addFilter("Email", Query.FilterOperator.EQUAL, "j...@doe.com");
> 
>Transaction tx = datastore.beginTransaction();
> 
>if
> (datastore.prepare(q).countEntities(FetchOptions.Builder.withDefaults())
>> 0)
>{
>tx.rollback();
>return false;
>}
> 
>datastore.put(entity);
>tx.commit();
>return true;
> 
> 
> On Aug 23, 11:23 pm, Mike Gleason jr Couturier
>  wrote:
>> I've done this, I just wan to have a second opinion:
>> 
>> Entity entity = new Entity("User", "mike" 
>> /*username*/);
>> Transaction tx = datastore.beginTransaction();
>> 
>> try {
>> datastore.get(entity.getKey());
>> return false; // error, already in hrd
>> } catch (EntityNotFoundException e) {
>> datastore.put(entity);
>> tx.commit();
>> return true;
>> } finally {
>> if (tx.isActive()) {
>> tx.rollback();
>> }
>> }
>> 
>> Seems a bit overkill but we need consistency right? :)
>> 
>> Thanks
>> 
>> On Aug 23, 10:39 pm, Mike Gleason jr Couturier
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>  wrote:
>>> Hi,
>> 
>>> Given the nature of the "put" function (low level hrd API), how can I
>>> atomically put a new entity without overwriting an existing one if the
>>> keys are chosen by the users (String values)?
>> 
>>> Let's say I have 2 simultaneous users that creates at the same time an
>>> entity of kind "User" with the custom key "johndoe" (because the user
>>> name is the key), I don't want the second one to overwrite the
>>> first...
>> 
>>> I don't want to have a property for the username since I'll have the
>>> same "unique index" problem.
>> 
>>> Is a transaction with a:
>>> 1) get
>>> 2) catch EntityNotFoundException
>>> 3) put
>>> 4) commit
>> 
>>> enough to ensure consistency ?
>> 
>>> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] 500 entities limit for db.put() operation

2011-08-23 Thread Can Doralp
Yeah it was easy to try actually. My bad, sorry. (and yes there is no such a
limit)

On Wed, Aug 24, 2011 at 8:46 AM, Robert Kluin wrote:

> This is something you can easily try.  But yes, I believe that limit
> was lifted quite some time ago.
>
>
>
> Robert
>
>
>
>
>
>
> On Tue, Aug 23, 2011 at 05:01, can  wrote:
> > Hi,
> > Is there a limit of 500 entities for db.put() operation ? I read that
> > in a blog post but couldn' t able to find anywhere else.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.