Re: [google-appengine] Comparing ReferenceProperty value with model instance/Key

2010-05-04 Thread Jaroslav Záruba
I've noticed this *get_value_for_datastore* method being used in one of
Nick's blog posts, where it has been used for more effective fetching, and I
wonder whether there is a Java counterpart...? (I googled it a bit,
fruitlessly.)

Regrds
  J. Záruba

On Wed, May 5, 2010 at 6:48 AM, Robert Kluin  wrote:

> I use the get_value_for_datastore method.  I usually add a method like
> 'userKey' to the model so that I can say: if article.userKey() !=
> user.key()
>
> See:
> http://code.google.com/appengine/docs/python/datastore/propertyclass.html
>
> and/or
>
>
> http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity
>
>
> Robert
>
>
> On Tue, May 4, 2010 at 7:03 PM, Blixt  wrote:
> > Hey! Isn't there a more convenient way to do the following?
> >
> > if article._entity['user'] != user.key():
> >
> > "article" in the above is an instance of the model Article, which has
> > the property "user" which is a ReferenceProperty to the model User
> > (which "user" is an instance of). If I try to do "if article.user !=
> > user" it tries to fetch the User instance for the article, despite
> > there being no need to do so.
> >
> > /Blixt
> >
> > --
> > 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+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-appeng...@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-appeng...@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] Comparing ReferenceProperty value with model instance/Key

2010-05-04 Thread Robert Kluin
I use the get_value_for_datastore method.  I usually add a method like
'userKey' to the model so that I can say: if article.userKey() !=
user.key()

See:
http://code.google.com/appengine/docs/python/datastore/propertyclass.html

and/or

http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity


Robert


On Tue, May 4, 2010 at 7:03 PM, Blixt  wrote:
> Hey! Isn't there a more convenient way to do the following?
>
> if article._entity['user'] != user.key():
>
> "article" in the above is an instance of the model Article, which has
> the property "user" which is a ReferenceProperty to the model User
> (which "user" is an instance of). If I try to do "if article.user !=
> user" it tries to fetch the User instance for the article, despite
> there being no need to do so.
>
> /Blixt
>
> --
> 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+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-appeng...@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: using GAE datastore as triple store

2010-05-04 Thread Tim Hoffman
Hi

If you are interested in triplestores (quadstore), you might also want
to have a look at python implementation rdflib (http://
www.rdflib.net/)
it is pretty simple to create backend store's for it (it already has
backends for zodb, mysql, sqlite, in memory, etc).
You will find you won't be able to use their sparql processor as its
is built on 'c'.

The main problems I see with triple stores will be querying.
Appengine query/fetch restrictions will mean that a
big graphs that are expensive may not be possible to retrieve. So what
you can do with it will be very application dependant.

T

On May 4, 4:35 pm, Remo  wrote:
> Hi,
> for my new project, i am thinking of using the datastore as kind of a
> triple store (or tuple store). the idea is based on graphd, the tuple
> store behind freebase (please 
> seehttp://blog.freebase.com/2008/04/09/a-brief-tour-of-graphd/
> for more info).
>
> my simplified model would be something like this:
>
> class Item(db.Model):
>     name = db.StringProperty()
>
> class Triple(db.Model):
>     from_item = db.ReferenceProperty(Item,
> collection_name='from_triples')
>     type = db.ReferenceProperty(TripleType)
>     to_item = db.ReferenceProperty(Item, collection_name='to_triples')
>     value = db.StringProperty()
>     prev_triple =
> db.SelfReferenceProperty(collection_name='next_triple')
>
> - a triple can either have a to_item or a value
> - once written, triples are read-only (log-structured, append-only)
> - to modify or delete a triple, a new triple is written with
> prev_triple pointing to the previous triple
> - the number of items at the beginning is small, but could grow up to
> multiple millions
> - most items have between 10 and 50 related (active) triples, but an
> item should be able to scale up to 100'000 triples
>
> i am thinking of putting an item with all related triples into the
> same entity group, but are there any side effects or limitations when
> using a large number of different entity groups?
>
> the most frequent queries would be:
> - show a single item with all related (active) triples
> - show all items that have a active triple to another specific item or
> with a specific value
>
> do you have any experience or ideas/suggestions for implementing this
> kind of triple store in GAE? how would you improve my model by
> applying common optimization techniques like relation index entities?
>
> thank you in advance for your feedback and please keep up the good
> work!
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@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] Comparing ReferenceProperty value with model instance/Key

2010-05-04 Thread Blixt
Hey! Isn't there a more convenient way to do the following?

if article._entity['user'] != user.key():

"article" in the above is an instance of the model Article, which has
the property "user" which is a ReferenceProperty to the model User
(which "user" is an instance of). If I try to do "if article.user !=
user" it tries to fetch the User instance for the article, despite
there being no need to do so.

/Blixt

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease: New Appengine Bulkloader

2010-05-04 Thread Craig Berry
I did that check, and got prompted to log in. But the script dies
without ever having prompted me.

On Tue, May 4, 2010 at 14:34, Matthew Blain  wrote:
> You should get prompted for authentication. Make sure remote_api is
> installed correctly on your server by visiting whatever you used for
> the --url argument in your browser. It should require you to log in
> then say "This request did not contain a necessary header"
>
> --Matthew
>
> On May 4, 10:51 am, Craig Berry  wrote:
>> Anybody there? I could really use a pointer on this. To clarify my
>> situation:
>>
>> 1. I'm using the Eclipse java plugin to build and deploy my app.
>> 2. I'm trying to use the preview bulkloader tool to transform and
>> upload data from an existing db.
>> 3. I set up the app-side java remote_api servlet as described.
>> 4. I obtained the zip file, extracted it to a new dir on disk, and ran
>> the script as described in the doc.
>> 5. When I do that, I get an authentication failure.
>>
>> This is perhaps not surprising, as I never provided my credentials
>> anywhere. How and where is that supposed to happen?
>>
>> On May 3, 7:53 pm, Craig Berry  wrote:
>>
>>
>>
>>
>>
>> > Perhaps this is documented somewhere, but I can't find it. I'm trying
>> > to upload to a Java app, configured as recommended, if that matters.
>> > How do I provide authentication information (username and password) to
>> > bulkloader.py so that it can connect to my remote_api?
>>
>> > On Apr 9, 3:26 pm, Matthew Blain  wrote:
>>
>> > > I’d like to announce a wider prerelease of the new App Engine
>> > > Bulkloader configuration format. This new format extends the existing
>> > > bulkloader with a new format with several advantages:
>>
>> > >   * Semi-Automatic configuration generation: The SDK can generate a
>> > > bulkloader configuration based on your existing data.
>> > >   * Supports more data formats. CSV support has been extended to files
>> > > with headers, basic XML support has been added, and it is simpler to
>> > > use alternate text encodings in the files. Additional and custom data
>> > > connectors are now easier to create.
>> > >   * Easier to use -- the new syntax is more declarative and
>> > > descriptive than the old one. Developers who use languages other than
>> > > Python no longer need to write code in the Python language, although
>> > > the Python SDK is still required to run the tool.
>>
>> > > To try out the new bulkloader, please 
>> > > visithttp://bulkloadersample.appspot.com/
>> > > . Preliminary documentation is available on the README on that site
>> > > along with a version of the 1.3.2 Python SDK containing the new
>> > > bulkloader.
>>
>> > > You can send feedback to the group or directly to me.
>>
>> > > --Matthew Blain
>> > > Google App Engine Team
>> > > matthew.blain+bulkloa...@google.com
>>
>> > --
>> > 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+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://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-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group 
>> athttp://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-appeng...@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.
>
>



-- 
Craig Berry - http://lapidum.org/home.html
"Magicians lie to the universe, and the
universe believes them."  -- Lenore Berry

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Prerelease: New Appengine Bulkloader

2010-05-04 Thread Matthew Blain
If you don't mind sending me your appid privately and giving you
permission to download the data from your app, I can try to
investigate.

--Matthew

On May 3, 5:21 am, Yoav Aviram  wrote:
> I am getting the same AssertionError exception.
>
> On Apr 28, 10:44 pm, Josh  wrote:
>
>
>
>
>
> > I get the following error and then the process has to be killed to
> > exit.  Any ideas?
>
> > [ERROR   ] [Thread-11] ExportProgressThread:
> > Traceback (most recent call last):
> >   File "/Users/s/Downloads/google_appengine/google/appengine/tools/
> > bulkloader.py", line 1442, in run
> >     self.PerformWork()
> >   File "/Users/s/Downloads/google_appengine/google/appengine/tools/
> > bulkloader.py", line 2210, in PerformWork
> >     item.key_end)
> >   File "/Users/s/Downloads/google_appengine/google/appengine/tools/
> > bulkloader.py", line 1993, in StoreKeys
> >     self.py_type))
> > AssertionError:
> > agh3Zi1kYWlseXJFCxInX19TdGF0X1Byb3BlcnR5VHlwZV9Qcm9wZXJ0eU5hbWVfS2luZF9fIhh 
> > CbG9iX2NvbnRlbnRfRW50aXR5U2hhcmQM
> > is a ,
> > _ProgressDatabase expected 
>
> > On Apr 23, 1:36 pm, Matthew Blain  wrote:
>
> > > I have just updatedhttp://bulkloadersample.appspot.com/withanew
> > > release.
> > >  * Updated to the 1.3.3 Python SDK
> > >  * The wizard is easier to run and generates TODO comments on all
> > > lines which require editing. (You may want to do additional edits
> > > too.)
> > >  * 'xml' format has been renamed to 'simplexml'--leaving room a more
> > > effective xml connector in the future may have a different interface.
> > > (No, there's no current plans for one.)
>
> > > I plan to talk about this at Google 
> > > I/O:http://code.google.com/events/io/2010/sessions/data-migration-appengi...
> > > Now is a great time to send feedback about the tool, or questions
> > > about the tool, to maximize the chance that your questions can be
> > > addressed in the session.
>
> > > --Matthew
>
> > > On Apr 22, 10:13 am, Sam Briesemeister 
> > > wrote:
>
> > > > A couple of questions:
>
> > > >  - Is this feature easily ported into the 1.3.3 release of 4/21?
> > > >  - Is there a release timeline for this feature?
>
> > > > Thanks!
>
> > > > On Apr 9, 3:26 pm, Matthew Blain  wrote:
>
> > > > > I’d like to announce a wider prerelease of the new App Engine
> > > > >Bulkloaderconfiguration format. This new format extends the existing
> > > > >bulkloaderwith a new format with several advantages:
>
> > > > >   * Semi-Automatic configuration generation: The SDK can generate a
> > > > >bulkloaderconfiguration based on your existing data.
> > > > >   * Supports more data formats. CSV support has been extended to files
> > > > > with headers, basic XML support has been added, and it is simpler to
> > > > > use alternate text encodings in the files. Additional and custom data
> > > > > connectors are now easier to create.
> > > > >   * Easier to use -- the new syntax is more declarative and
> > > > > descriptive than the old one. Developers who use languages other than
> > > > > Python no longer need to write code in the Python language, although
> > > > > the Python SDK is still required to run the tool.
>
> > > > > To try out the newbulkloader, please 
> > > > > visithttp://bulkloadersample.appspot.com/
> > > > > . Preliminary documentation is available on the README on that site
> > > > > along with a version of the 1.3.2 Python SDK containing the new
> > > > >bulkloader.
>
> > > > > You can send feedback to the group or directly to me.
>
> > > > > --Matthew Blain
> > > > > Google App Engine Team
> > > > > matthew.blain+bulkloa...@google.com
>
> > > > --
> > > > 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+unsubscr...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-appe

[google-appengine] Re: Prerelease: New Appengine Bulkloader

2010-05-04 Thread Matthew Blain
You should get prompted for authentication. Make sure remote_api is
installed correctly on your server by visiting whatever you used for
the --url argument in your browser. It should require you to log in
then say "This request did not contain a necessary header"

--Matthew

On May 4, 10:51 am, Craig Berry  wrote:
> Anybody there? I could really use a pointer on this. To clarify my
> situation:
>
> 1. I'm using the Eclipse java plugin to build and deploy my app.
> 2. I'm trying to use the preview bulkloader tool to transform and
> upload data from an existing db.
> 3. I set up the app-side java remote_api servlet as described.
> 4. I obtained the zip file, extracted it to a new dir on disk, and ran
> the script as described in the doc.
> 5. When I do that, I get an authentication failure.
>
> This is perhaps not surprising, as I never provided my credentials
> anywhere. How and where is that supposed to happen?
>
> On May 3, 7:53 pm, Craig Berry  wrote:
>
>
>
>
>
> > Perhaps this is documented somewhere, but I can't find it. I'm trying
> > to upload to a Java app, configured as recommended, if that matters.
> > How do I provide authentication information (username and password) to
> > bulkloader.py so that it can connect to my remote_api?
>
> > On Apr 9, 3:26 pm, Matthew Blain  wrote:
>
> > > I’d like to announce a wider prerelease of the new App Engine
> > > Bulkloader configuration format. This new format extends the existing
> > > bulkloader with a new format with several advantages:
>
> > >   * Semi-Automatic configuration generation: The SDK can generate a
> > > bulkloader configuration based on your existing data.
> > >   * Supports more data formats. CSV support has been extended to files
> > > with headers, basic XML support has been added, and it is simpler to
> > > use alternate text encodings in the files. Additional and custom data
> > > connectors are now easier to create.
> > >   * Easier to use -- the new syntax is more declarative and
> > > descriptive than the old one. Developers who use languages other than
> > > Python no longer need to write code in the Python language, although
> > > the Python SDK is still required to run the tool.
>
> > > To try out the new bulkloader, please 
> > > visithttp://bulkloadersample.appspot.com/
> > > . Preliminary documentation is available on the README on that site
> > > along with a version of the 1.3.2 Python SDK containing the new
> > > bulkloader.
>
> > > You can send feedback to the group or directly to me.
>
> > > --Matthew Blain
> > > Google App Engine Team
> > > matthew.blain+bulkloa...@google.com
>
> > --
> > 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+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@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] Unkown error on appengine

2010-05-04 Thread Sandeep Koduri
Thank you,

back on track.
Thanks for the help.

and am willing to know what was the issue?
is it at my end or at app engine?

On Wed, May 5, 2010 at 2:25 AM, Sandeep Koduri wrote:

> *Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, "please contact the App Engine team."*
>
>
> is this the way to contact app engine team or is there any other procedure
>
> On Wed, May 5, 2010 at 2:17 AM, $ÂÑЀ€P  wrote:
>
>> the below are the url and the response generated for the urls
>> no errors on code its working fine on local app
>>
>> can any one resolve the issue please
>> the site is live mode will loose traffic in this kind of
>> scenarios
>> http://cricket.allaboutindia.org/
>>
>> http://1-3-54.latest.allaboutindiacricket.appspot.com/
>>
>> This is shown aon the html page :
>>
>> Error: Server Error
>>
>> The server encountered an error and could not complete your request.
>> If the problem persists, please report your problem and mention this
>> error message and the query that caused it.
>>
>> This from logs :
>> Request was aborted after waiting too long to attempt to service your
>> request. This may happen sporadically when the App Engine serving
>> cluster is under unexpectedly high or uneven load. If you see this
>> message frequently, please contact the App Engine team.
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
>
> --
> Regards
> Sandeep Koduri
>



-- 
Regards
Sandeep Koduri

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Unkown error on appengine

2010-05-04 Thread Sandeep Koduri
*Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, "please contact the App Engine team."*


is this the way to contact app engine team or is there any other procedure

On Wed, May 5, 2010 at 2:17 AM, $ÂÑЀ€P  wrote:

> the below are the url and the response generated for the urls
> no errors on code its working fine on local app
>
> can any one resolve the issue please
> the site is live mode will loose traffic in this kind of
> scenarios
> http://cricket.allaboutindia.org/
>
> http://1-3-54.latest.allaboutindiacricket.appspot.com/
>
> This is shown aon the html page :
>
> Error: Server Error
>
> The server encountered an error and could not complete your request.
> If the problem persists, please report your problem and mention this
> error message and the query that caused it.
>
> This from logs :
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team.
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Regards
Sandeep Koduri

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Unkown error on appengine

2010-05-04 Thread $ÂÑЀ€P
the below are the url and the response generated for the urls
no errors on code its working fine on local app

can any one resolve the issue please
the site is live mode will loose traffic in this kind of
scenarios
http://cricket.allaboutindia.org/

http://1-3-54.latest.allaboutindiacricket.appspot.com/

This is shown aon the html page :

Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.

This from logs :
Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] how-to add custom appengine into google apps

2010-05-04 Thread Pablo Francavilla
Hi guys, I would like to know if it's possible to add appengine application
to a google apps account in the same way you can add marketplace
applications ? I know it's possible to add an appengine to the domain, and
then setup a custom subdomain, but I want the application visible on top,
like gmail, calendar and the "more" tab like google marketplace
applications.

It's possible ?, how ?

Really 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-appeng...@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: error code 203

2010-05-04 Thread Peter Warren
The object is definitely serializable.  I have several other objects
of the same type in the hash map that work fine.  Also, it seems tied
to object size.  I can delete some of the xml data that is used in
constructing the problematic object, and it then works fine.

Is there other info I can provide that would be helpful?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Effectively Parallelizing Fetches (with pictures, yay!)

2010-05-04 Thread Patrick Twohig
Ah, thanks Nick!  I actually started to implement some of those changes, but
ended up getting sidetracked with other things, but I'm starting again on
it.  Will probably have more questions later :)

On Tue, Apr 20, 2010 at 4:23 AM, Nick Johnson (Google) <
nick.john...@google.com> wrote:

> Hi Patrick,
>
> Good questions!
>
> On Tue, Apr 20, 2010 at 12:57 AM, Patrick Twohig <
> patr...@namazustudios.com> wrote:
>
>> Hi All,
>>
>> As I understand it, the process of performing a single fetch (call to
>> get())  from the dastastore using a key basically involves finding the host
>> housing the entity, opening a socket, fetching the data, and then cleaning
>> up the connection.  So to fetch something like 30 entities from the
>> datastore, you're repeating the process 30 times over in serial, each time
>> incurring whatever overhead is involved.  I also read that if you perform
>> bulk fetches, (ie passing multiple keys at once) you can eliminate a great
>> deal of that overhead.  In one of the videos I watched from Google I/0 2009,
>> the presenter (whose name I forget - d'oh) said that performing a bulk fetch
>> actually performs the fetches in parallel from the data store and you shoudl
>> see requests noticeably faster.
>>
>> Currently I have a few situations where the app performs many fetches from
>> the data store in serially, rather than in bulk, and I believe it is the
>> result of these requests being extremely slow and CPU intensive.  Where
>> possible, I put into place as much bulk fetches as I can but I'm a little
>> stuck in a few places.
>>
>> I'm basing the fetch latency on today's numbers --
>> http://code.google.com/status/appengine/detail/datastore/2010/04/19.
>> Anomalies aside,  It looks like the get latency somewhere between 80ms and
>> 160ms, let's spit difference and just say that it's 120 milliseconds.
>> Additionally, the query latency is somewhere between 250ms and 500ms.
>> Splitting the difference, that's 375ms.  I'm just going to use those numbers
>> as a ballpark estimate for fetching multiple entities from the data store,
>> feel free to correct me if any of my reasoning is flawed or incorrect.
>>
>
> The figures shown by the status site seem to be on the high side at the
> moment - they represent worst cases. In my own apps, gets are observed to be
> more on the order of 10-20ms, while queries vary widely depending on
> returned data, but average about 100-300ms.
>
>
>> Example 1: http://imagepaste.nullnetwork.net/viewimage.php?id=830
>>
>> Given the above example, I'm assuming that if I performed an ancestor
>> query with Foo("A") as the ancestor it would effectively bulk-fetch the
>> entire entity group.  I could then use the result of that query to get the
>> data I need.  That would make the fetch from the datastore one query, 375
>> milliseconds versus (7entities * 160ms) or 1120ms.  So long as you need  3
>> or more entities (3 * 160) it would stand to reason that you're just better
>> off just fetching the whole thing.  In some simple tests I did, that seemed
>> to be the case, the query approach was faster, and that's great if you know
>> everything is in the same entity group.
>>
>> Example 2:  http://imagepaste.nullnetwork.net/viewimage.php?id=831
>>
>> Given the above example, none of the entities are in the same entity
>> group, but I would want to try to perform bulk fetches wherever possible.  I
>> would first fetch Foo("A").  I would then see that it has two key properties
>> pointing to Bar("B") and Bar("C"), perform a fetch of those two entities at
>> once.  Finally, I would see that Bar("B") and Bar("C") each reference two
>> more entities -- Baz("D"), Baz("E"), Baz("F"), and Baz("G") for a total of
>> four.  In the worst case, I would fetch each entity individually taking,
>> once again, 1120ms.  In the best case and I perform 3 fetches, (fetch A
>> first, then fetch B and C, then lastly fetch D, E, F, and G), it would be
>> more in the neighborhood of 480 milliseconds.  It's still an improvement
>> over fetching each entity individually, but not much.
>>
>
> Very similar to this is the 'referenceproperty prefetching' pattern - see
> http://blog.notdot.net/2010/01/ReferenceProperty-prefetching-in-App-Engine
>
> 
>
>
>>
>> So I was thinking of ways to improve this, the second example in
>> particular, because I have a few places in my app where that exact thing is
>> happening.  Right now it's actually implemented with individual fetches, but
>> it backed by memcache in many circumstances so that definitely helps.
>>
>> So given that, here's my questions...
>>
>>- When serializing the objects, would it be worthwhile adding some
>>sort of metadata in the entity that would tell me what other entities it
>>references (either directly or indirectly) so that I could fetch the whole
>>thing with one or two API calls?  I was thinking that an entity could have
>>child entit

[google-appengine] Re: Any restriction on selling site on app engine?

2010-05-04 Thread johnterran
That makes sense.

Thanks Ikai !

On May 4, 2:18 am, "Ikai L (Google)"  wrote:
> 8.1 refers to your application.
>
> 6.1 and 7.3 refer to the App Engine hosting service itself. That is - you
> are not allowed to be a reseller for App Engine hosting. Think of it as if
> we were a VPS hosting service: it'd be like us forbidding you to resell Xen
> instances or Solaris zones.
>
> As far as I know, you can sell an App Engine application, but I cannot give
> you an official, legal answer - you'll have to get the lawyers involved for
> that one.
>
>
>
> On Tue, May 4, 2010 at 12:21 AM, johnterran  wrote:
> > Hi Ikai,
>
> > I have read the Terms of Service but still isn't clear to me.
>
> > 6.1. You acknowledge and agree that Google (or Google's licensors) own
> > all legal right, title and interest in and to the Service, including
> > any intellectual property rights which subsist in the Service (whether
> > those rights happen to be registered or not, and wherever in the world
> > those rights may exist).
>
> > 7.3. Unless Google has given you specific written permission to do so
> > (e.g., through an open source software license), you may not assign
> > (or grant a sub-license of) your rights to use the Google App Engine
> > Software, grant a security interest in or over your rights to use the
> > Google App Engine Software, or otherwise transfer any part of your
> > rights to use the Software.
>
> > 8.1. Google claims no ownership or control over any Content or
> > Application
>
> > 6.1 and 7.3 sounds like I don't own the app, or need permission, but
> > 8.1 says Google claims no ownership of the app.
> > Can we sell the app on GAE w/o Google permission?
>
> > Thanks
> > John
>
> > On May 3, 1:20 am, "Ikai L (Google)"  wrote:
> > > You'll want to read our terms of service:
>
> > >http://code.google.com/appengine/terms.html
>
> > > To transfer the site, click
> > on
> > > "Permissions" and add the other users as developers. They can then remove
> > > you.
>
> > > On Mon, May 3, 2010 at 10:14 AM, johnterran 
> > wrote:
> > > > Hi,
> > > > If I build a site on google app engine, and if it becomes successful
> > > > and I want to sell it, how can you transfer the site administration to
> > > > the new company that is tied to your username?
>
> > > > Any google restrictions that we need to worry about?
>
> > > > Thanks
> > > > John
>
> > > > --
> > > > 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.
>
> > > --
> > > Ikai Lan
> > > Developer Relations, Google App Engine
> > > Twitter:http://twitter.com/ikai
> > > Delicious:http://delicious.com/ikailan
>
> > > 
> > > Google App Engine links:
> > > Blog:http://googleappengine.blogspot.com
> > > Twitter:http://twitter.com/app_engine
> > > Reddit:http://www.reddit.com/r/appengine
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com
> > .
> > > For more options, visit this group athttp://
> > 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-appeng...@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.
>
> --
> Ikai Lan
> Developer Relations, Google App Engine
> Twitter:http://twitter.com/ikai
> Delicious:http://delicious.com/ikailan
>
> 
> Google App Engine links:
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more optio

[google-appengine] Re: Prerelease: New Appengine Bulkloader

2010-05-04 Thread Craig Berry
Anybody there? I could really use a pointer on this. To clarify my
situation:

1. I'm using the Eclipse java plugin to build and deploy my app.
2. I'm trying to use the preview bulkloader tool to transform and
upload data from an existing db.
3. I set up the app-side java remote_api servlet as described.
4. I obtained the zip file, extracted it to a new dir on disk, and ran
the script as described in the doc.
5. When I do that, I get an authentication failure.

This is perhaps not surprising, as I never provided my credentials
anywhere. How and where is that supposed to happen?

On May 3, 7:53 pm, Craig Berry  wrote:
> Perhaps this is documented somewhere, but I can't find it. I'm trying
> to upload to a Java app, configured as recommended, if that matters.
> How do I provide authentication information (username and password) to
> bulkloader.py so that it can connect to my remote_api?
>
> On Apr 9, 3:26 pm, Matthew Blain  wrote:
>
>
>
>
>
> > I’d like to announce a wider prerelease of the new App Engine
> > Bulkloader configuration format. This new format extends the existing
> > bulkloader with a new format with several advantages:
>
> >   * Semi-Automatic configuration generation: The SDK can generate a
> > bulkloader configuration based on your existing data.
> >   * Supports more data formats. CSV support has been extended to files
> > with headers, basic XML support has been added, and it is simpler to
> > use alternate text encodings in the files. Additional and custom data
> > connectors are now easier to create.
> >   * Easier to use -- the new syntax is more declarative and
> > descriptive than the old one. Developers who use languages other than
> > Python no longer need to write code in the Python language, although
> > the Python SDK is still required to run the tool.
>
> > To try out the new bulkloader, please 
> > visithttp://bulkloadersample.appspot.com/
> > . Preliminary documentation is available on the README on that site
> > along with a version of the 1.3.2 Python SDK containing the new
> > bulkloader.
>
> > You can send feedback to the group or directly to me.
>
> > --Matthew Blain
> > Google App Engine Team
> > matthew.blain+bulkloa...@google.com
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@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] Datastore abnormal

2010-05-04 Thread yobin
I cannot access my website http://yiqichao.appspot.com for an hour.

I think the datastore is abnormal(see
http://code.google.com/status/appengine).

the log is as belows, could anyone help me fix this problem? thanks

   1.
  1.  05-04 10:17AM 29.971 / 500 10010ms 0cpu_ms 0kb Mozilla/5.0
  (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.3) Gecko/20100401
  Firefox/3.6.3,gzip(gfe) See
details

  220.234.229.14 - - [04/May/2010:10:17:39 -0700] "GET / HTTP/1.1"
500 0 - "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3,gzip(gfe)" "yiqichao.appspot.com"

  2.  W 05-04 10:17AM 39.982

  Request was aborted after waiting too long to attempt to service
your request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: bulkuploading to a version

2010-05-04 Thread Nuno Maltez
Well, it directs me to the google accounts login page (the remote_api
url is protected by
login: admin ).

The bulkloader command prompts me for the password, but it still fails with an

[INFO] Authentication Failed

message...

On Thu, Apr 29, 2010 at 9:01 PM, Matthew Blain  wrote:
> Try visiting what you passed in to --url in the browser. It should say
> "This request did not contain a necessary header" if everything is
> working correctly.
>
> On Apr 29, 4:37 am, Nuno Maltez  wrote:
>> Hi,
>>
>> I wonder if this is possible. I have a GAE site that's static, i.e.,
>> does not use the datatstore at all. I'm in the process of converting
>> it to a dynamic version (using django nonrel), and I was trying to
>> deploy the new site to a different version under the same app_id, for
>> testing. I have some data in my development datastore that I wanted to
>> push to appspot using bulkuploader.
>>
>> My app is on a Google Apps domain, but of course my active version
>> doesn't have /remote_api enabled, so I wanted to connect to the
>> specific version:
>>
>> bulkloader.py  --restore --debug --email=nuno@.com
>> --auth_domain=.com --kind=Section
>> --url=http://nonrel.latest..appspot.com/remote_api/remote_api
>> --filename=../db/Section .
>>
>> but this always fails with a
>>
>> [INFO    ] Authentication Failed
>>
>> message. Is this because I'm using a appspot.com url with a google
>> apps auth_domain ? Would it be possible to bulkupload to the active
>> version - enabling remote_api - even though the code for my models
>> isn't there - and would this problem also emerge if I tried to
>> appcfg.py upload/download_data instead of the bulkuploader?
>>
>> Thanks in advance,
>> Nuno
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> For more options, visit this group 
>> athttp://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-appeng...@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-appeng...@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] Simple Equality Queries Fail

2010-05-04 Thread Grant Brown
It was a non-multiline string property, and was indexed. I think I've
found a workaround (completely re-creating the table).

On Mon, May 3, 2010 at 3:30 PM, Jeff Schwartz  wrote:
> Sorry for the typo ... I meant to type that you cannot use a property that
> is not indexed in a query.
>
> On Mon, May 3, 2010 at 4:26 PM, Jeff Schwartz 
> wrote:
>>
>> What data type is the entity property? Not all entity property types are
>> indexed which means you can use the property name in a query. You can
>> determine the property's data type by viewing the entity in the datastore
>> viewer associated with your application.
>>
>>
>> On Mon, May 3, 2010 at 2:17 PM, Grant  wrote:
>>>
>>> I've got a large number of records with just a few fields. The field
>>> I'm interested in is called wordStr, and is a non multi-line string
>>> property. When I do a simple query like:
>>>
>>> SELECT * from wordEntry WHERE wordStr = 'SomeString'
>>>
>>> I get 'no results'.
>>>
>>> The index in question is 'Serving', and I even went so far as to
>>> delete it and then rebuild it.
>>>
>>> If I manually view one of the records, and click 'save' without
>>> changing anything, it becomes query-able.
>>>
>>> Other fields in these records work as expected.
>>>
>>> Anyone had similar problems/know what could be happening?
>>>
>>> -Grant
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>
>>
>>
>> --
>> --
>> Jeff
>
>
>
> --
> --
> Jeff
>
> --
> 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+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-appeng...@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] Simple Equality Queries Fail

2010-05-04 Thread Grant Brown
I ended up creating a new table, making sure it is indexed, and then
beginning to upload the data again. It appears to be working.

On Tue, May 4, 2010 at 12:32 AM, Robert Kluin  wrote:
> Grant,
>  Not including the field in your index.yaml does not prevent the
> default single-property, it is only used to define custom
> (multi-property) indexes.
>
>  It sounds like you might be experiencing something like:
> http://code.google.com/p/googleappengine/issues/detail?id=2481
>
>  Is it possible for you to simply loop over all your entities and re-put them?
>
> Robert
>
>
>
>
>
>
>
> On Mon, May 3, 2010 at 2:41 PM, Grant Brown  wrote:
>> I never manually specified this, could it have happened implicitly by
>> simply not being included in the index.yaml file?
>>
>> -Grant
>>
>> On Mon, May 3, 2010 at 2:42 PM, Ulrich  wrote:
>>> On 05/03/2010 09:14 PM, Grant Brown wrote:
>>>
>>> Yes it is possible.
>>>
>>> http://code.google.com/appengine/docs/python/datastore/propertyclass.html#Property
>>> says:
>>> "If you'll never need to filter or sort on a property, consider using
>>> indexed=False to avoid that overhead. Be careful, though! If you decide
>>> later that you want the property indexed after all, changing it back to
>>> indexed=True will only affect writes from that point onward. Entities that
>>> were originally written with indexed=False will not be re-indexed."
>>>
>>> You will have to re-put every entity that is not indexed.
>>>
>>> -Ulrich
>>>
>>> At first, a deprecated (but similarly named) field
>>> was indexed. I have since deleted the index for this table, however,
>>> and regenerated it with the proper fields.
>>>
>>> On Mon, May 3, 2010 at 2:10 PM, Ulrich  wrote:
>>>
>>>
>>> On 05/03/2010 08:17 PM, Grant wrote:
>>>
>>>
>>> I've got a large number of records with just a few fields. The field
>>> I'm interested in is called wordStr, and is a non multi-line string
>>> property. When I do a simple query like:
>>>
>>> SELECT * from wordEntry WHERE wordStr = 'SomeString'
>>>
>>> I get 'no results'.
>>>
>>> The index in question is 'Serving', and I even went so far as to
>>> delete it and then rebuild it.
>>>
>>> If I manually view one of the records, and click 'save' without
>>> changing anything, it becomes query-able.
>>>
>>>
>>>
>>> Is it possible that the wordStr property was not indexed (indexed=False) at
>>> the time you were adding these entities?
>>>
>>> -Ulrich
>>>
>>>
>>> Other fields in these records work as expected.
>>>
>>> Anyone had similar problems/know what could be happening?
>>>
>>> -Grant
>>>
>>>
>>>
>>>
>>> --
>>> 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+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-appeng...@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-appeng...@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-appeng...@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-appeng...@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: Datastore error:Authentication Failed while downloading data

2010-05-04 Thread Wooble


On May 4, 5:08 am, suri  wrote:
> Hi,
> I am new to Google App Engine.I am trying to download data from
> deployed application. but while executing download command it raised
> exception that
> 1.Exception during authentication
> 2.http error 404:Not Found
> 3.Authentication failed

Do you have the:

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

stanza near the top of your app.yaml, before any catch-all handlers?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-04 Thread Nick Johnson (Google)
Hi Perica,

You need to tell us more about the data you're storing - what are your
kinds, what properties do they have, how many of them are there, and what
custom indexes are you using?

-Nick Johnson

On Mon, May 3, 2010 at 12:39 PM, Perica Zivkovic
wrote:

> Is there anyone from Google who can shed some light on this ?
>
> kind regards,
>
> Perica
>
> On May 3, 4:33 am, WeatherPhilip 
> wrote:
> > Just go and star the issuehttp://
> code.google.com/p/googleappengine/issues/detail?id=2740
> >
> > Go do it right now. Maybe we can persuade Google to fix this issue.
> >
> > Philip
> >
> > On May 2, 5:08 pm, Wooble  wrote:
> >
> >
> >
> >
> >
> > > On May 2, 3:21 pm, Jaroslav Záruba  wrote:
> >
> > > > I believe that it was in this video...
> http://www.youtube.com/watch?v=tx5gdoNpcZM
> > > > ...where a question was
> asked
> > > > whether we are charged for space taken by indexes. The question is
> "No".
> > > > (Explanation has been that it would probably discourage users from
> using
> > > > advantages of datastore.)
> > > > So I think that might address your concerns.
> >
> > > That video is 2 years old, and that information is no longer correct.
> > > You are charged for space used by indexes, although 530 MB of indexes
> > > for 20MB of data would, to me, indicate that something is probably
> > > going wrong.  I'd look out for exploding indexes or indexing lots of
> > > properties that you don't need to query on.
> >
> > > --
> > > 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 athttp://
> 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> 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-appeng...@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.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::
Registered in Dublin, Ireland, Registration Number: 368047
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] using GAE datastore as triple store

2010-05-04 Thread Remo
Hi,
for my new project, i am thinking of using the datastore as kind of a
triple store (or tuple store). the idea is based on graphd, the tuple
store behind freebase (please see 
http://blog.freebase.com/2008/04/09/a-brief-tour-of-graphd/
for more info).

my simplified model would be something like this:

class Item(db.Model):
name = db.StringProperty()

class Triple(db.Model):
from_item = db.ReferenceProperty(Item,
collection_name='from_triples')
type = db.ReferenceProperty(TripleType)
to_item = db.ReferenceProperty(Item, collection_name='to_triples')
value = db.StringProperty()
prev_triple =
db.SelfReferenceProperty(collection_name='next_triple')

- a triple can either have a to_item or a value
- once written, triples are read-only (log-structured, append-only)
- to modify or delete a triple, a new triple is written with
prev_triple pointing to the previous triple
- the number of items at the beginning is small, but could grow up to
multiple millions
- most items have between 10 and 50 related (active) triples, but an
item should be able to scale up to 100'000 triples

i am thinking of putting an item with all related triples into the
same entity group, but are there any side effects or limitations when
using a large number of different entity groups?

the most frequent queries would be:
- show a single item with all related (active) triples
- show all items that have a active triple to another specific item or
with a specific value

do you have any experience or ideas/suggestions for implementing this
kind of triple store in GAE? how would you improve my model by
applying common optimization techniques like relation index entities?

thank you in advance for your feedback and please keep up the good
work!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] とりあえず

2010-05-04 Thread Nariya Takemura
戻ってきました
佐藤さんのグラフィックっていつ上がる予定かわかるでしょうか?
というかいつ締め切りで振ったか教えて欲しいです


Platinum Egg Inc.
   Nariya Takemura
President
takem...@platinum-egg.com
twitter:@nariya
skype:myr_myr


-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Where to start? Who to talk to?

2010-05-04 Thread Ikai L (Google)
One place you can start is by asking for help from our Gurus:

https://groups.google.com/group/google-appengine

API Gurus:

   - Alexander Kojevnikov
   - Bill Katz
   - Geoffrey Spear (Wooble)

We'll need to qualify a few more.

Anyone in the community looking to do some consulting work?

On Tue, May 4, 2010 at 2:35 AM, Rob  wrote:

> Hi All,
>
> I am a some-time developer of conventional PC applications which are
> used by commercial and academic users. I reluctantly got into writing
> software because I needed applications to support the hardware I sell.
> I could find nothing suitable and could not afford to hire a developer
> so I learned to write in VB. My PC apps are getting outdated and I am
> not sure that rewriting them for newer platforms is the best way to
> go. I identified the need for a Web based application several years
> ago but I have not had the time to develop one. I have no prospect of
> finding the time in the next year. I am too busy and too far behind
> the learning curve. Perhaps I am just getting too old.
>
> One problem I have with my PC apps is that my customers range from
> individuals, small business people and hobbyists, to multinational
> corporations with numerous sites. This requires a range of
> applications and price points. The applications have diverged and I
> can see the day when support will become impossible. I like to think
> it would be possible to serve all of my customers with one scaleable
> set of tools.
>
> My Web application would involve some pretty straightforward data
> uploading and reporting. That side of it does not scare me too much.
> However, it also needs user management, things like users permitting
> others to view their data, and the handling of subscriptions and
> payments. That area is an entirely closed book for me. I need to
> decide whether to build and host the thing myself or use a cloud based
> application. I like the idea of using Google App Engine but I am not
> sure if it is appropriate.
>
> I could really use some help from those knowledgeable about App Engine
> to determine if it will fit my needs. If so, I need to find a
> developer to work with. My company has a modest budget for initial
> development. We would be really happy if we could have a "proof of
> concept" application running by the end of 2010. Does anyone know who
> I could talk to or where I might start to achieve this?
>
> Thanks in advance,
>
> Rob
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan


Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@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: Any restriction on selling site on app engine?

2010-05-04 Thread Ikai L (Google)
8.1 refers to your application.

6.1 and 7.3 refer to the App Engine hosting service itself. That is - you
are not allowed to be a reseller for App Engine hosting. Think of it as if
we were a VPS hosting service: it'd be like us forbidding you to resell Xen
instances or Solaris zones.

As far as I know, you can sell an App Engine application, but I cannot give
you an official, legal answer - you'll have to get the lawyers involved for
that one.

On Tue, May 4, 2010 at 12:21 AM, johnterran  wrote:

> Hi Ikai,
>
> I have read the Terms of Service but still isn't clear to me.
>
> 6.1. You acknowledge and agree that Google (or Google's licensors) own
> all legal right, title and interest in and to the Service, including
> any intellectual property rights which subsist in the Service (whether
> those rights happen to be registered or not, and wherever in the world
> those rights may exist).
>
> 7.3. Unless Google has given you specific written permission to do so
> (e.g., through an open source software license), you may not assign
> (or grant a sub-license of) your rights to use the Google App Engine
> Software, grant a security interest in or over your rights to use the
> Google App Engine Software, or otherwise transfer any part of your
> rights to use the Software.
>
> 8.1. Google claims no ownership or control over any Content or
> Application
>
> 6.1 and 7.3 sounds like I don't own the app, or need permission, but
> 8.1 says Google claims no ownership of the app.
> Can we sell the app on GAE w/o Google permission?
>
> Thanks
> John
>
> On May 3, 1:20 am, "Ikai L (Google)"  wrote:
> > You'll want to read our terms of service:
> >
> > http://code.google.com/appengine/terms.html
> >
> > To transfer the site, click
> on
> > "Permissions" and add the other users as developers. They can then remove
> > you.
> >
> >
> >
> > On Mon, May 3, 2010 at 10:14 AM, johnterran 
> wrote:
> > > Hi,
> > > If I build a site on google app engine, and if it becomes successful
> > > and I want to sell it, how can you transfer the site administration to
> > > the new company that is tied to your username?
> >
> > > Any google restrictions that we need to worry about?
> >
> > > Thanks
> > > John
> >
> > > --
> > > 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.
> >
> > --
> > Ikai Lan
> > Developer Relations, Google App Engine
> > Twitter:http://twitter.com/ikai
> > Delicious:http://delicious.com/ikailan
> >
> > 
> > Google App Engine links:
> > Blog:http://googleappengine.blogspot.com
> > Twitter:http://twitter.com/app_engine
> > Reddit:http://www.reddit.com/r/appengine
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> 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-appeng...@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.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan


Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@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] Datastore error:Authentication Failed while downloading data

2010-05-04 Thread suri
Hi,
I am new to Google App Engine.I am trying to download data from
deployed application. but while executing download command it raised
exception that
1.Exception during authentication
2.http error 404:Not Found
3.Authentication failed

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Forbidden country issue

2010-05-04 Thread Ikai L (Google)
What country is he in?

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=You+are+accessing+this+page+from+aforbidden+country.&qscrl=1

The
US recently lifted bans on Sudan, Iran and Cuba:

http://www.pcworld.com/article/191018/us_lifts_iran_sudan_cuba_internet_services_export_ban.html

However, there are still export bans in Syria and North Korea (among others,
I am not a lawyer so I do not know them. Also ... it's my understanding
North Korea doesn't have internet access anyway, correct me if I am wrong).

On Mon, May 3, 2010 at 6:21 PM, onur  wrote:

> A client of mine started getting this error message:
>
> (Client IP address: x.x.x.x) You are accessing this page from a
> forbidden country.
>
> Are certain countries blocked on App engine?
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan


Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@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: error code 203

2010-05-04 Thread Jeff Schwartz
Make sure the object is serializable. The local dev server wont complain but
production server will. And yes, it will raise the error on retrieval and
not when you store it.

On Mon, May 3, 2010 at 4:55 PM, Peter Warren  wrote:

> Also, two sidenotes: 1) app engine doesn't complain when I put the
> object into the HashMap, only when I try to retrieve it. 2) My
> application works perfectly when I run it locally in the Eclipse
> Plugin environment.
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
--
Jeff

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Where to start? Who to talk to?

2010-05-04 Thread Rob
Hi All,

I am a some-time developer of conventional PC applications which are
used by commercial and academic users. I reluctantly got into writing
software because I needed applications to support the hardware I sell.
I could find nothing suitable and could not afford to hire a developer
so I learned to write in VB. My PC apps are getting outdated and I am
not sure that rewriting them for newer platforms is the best way to
go. I identified the need for a Web based application several years
ago but I have not had the time to develop one. I have no prospect of
finding the time in the next year. I am too busy and too far behind
the learning curve. Perhaps I am just getting too old.

One problem I have with my PC apps is that my customers range from
individuals, small business people and hobbyists, to multinational
corporations with numerous sites. This requires a range of
applications and price points. The applications have diverged and I
can see the day when support will become impossible. I like to think
it would be possible to serve all of my customers with one scaleable
set of tools.

My Web application would involve some pretty straightforward data
uploading and reporting. That side of it does not scare me too much.
However, it also needs user management, things like users permitting
others to view their data, and the handling of subscriptions and
payments. That area is an entirely closed book for me. I need to
decide whether to build and host the thing myself or use a cloud based
application. I like the idea of using Google App Engine but I am not
sure if it is appropriate.

I could really use some help from those knowledgeable about App Engine
to determine if it will fit my needs. If so, I need to find a
developer to work with. My company has a modest budget for initial
development. We would be really happy if we could have a "proof of
concept" application running by the end of 2010. Does anyone know who
I could talk to or where I might start to achieve this?

Thanks in advance,

Rob

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-04 Thread Jeff Schwartz
What data type is the entity property? Not all entity property types are
indexed which means you can use the property name in a query. You can
determine the property's data type by viewing the entity in the datastore
viewer associated with your application.


On Mon, May 3, 2010 at 2:17 PM, Grant  wrote:

> I've got a large number of records with just a few fields. The field
> I'm interested in is called wordStr, and is a non multi-line string
> property. When I do a simple query like:
>
> SELECT * from wordEntry WHERE wordStr = 'SomeString'
>
> I get 'no results'.
>
> The index in question is 'Serving', and I even went so far as to
> delete it and then rebuild it.
>
> If I manually view one of the records, and click 'save' without
> changing anything, it becomes query-able.
>
> Other fields in these records work as expected.
>
> Anyone had similar problems/know what could be happening?
>
> -Grant
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
--
Jeff

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-04 Thread Jeff Schwartz
Sorry for the typo ... I meant to type that you cannot use a property that
is not indexed in a query.

On Mon, May 3, 2010 at 4:26 PM, Jeff Schwartz wrote:

> What data type is the entity property? Not all entity property types are
> indexed which means you can use the property name in a query. You can
> determine the property's data type by viewing the entity in the datastore
> viewer associated with your application.
>
>
> On Mon, May 3, 2010 at 2:17 PM, Grant  wrote:
>
>> I've got a large number of records with just a few fields. The field
>> I'm interested in is called wordStr, and is a non multi-line string
>> property. When I do a simple query like:
>>
>> SELECT * from wordEntry WHERE wordStr = 'SomeString'
>>
>> I get 'no results'.
>>
>> The index in question is 'Serving', and I even went so far as to
>> delete it and then rebuild it.
>>
>> If I manually view one of the records, and click 'save' without
>> changing anything, it becomes query-able.
>>
>> Other fields in these records work as expected.
>>
>> Anyone had similar problems/know what could be happening?
>>
>> -Grant
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
>
> --
> --
> Jeff
>



-- 
--
Jeff

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Java test if running on eclipse or deployed

2010-05-04 Thread bufferings
hi Marc

(The mail that I sent has not reached, so I send it again.)

You can use KotoriWebJUnitRunner(ktrwjr), with which you can run your
JUnit tests
on both the development server and the production server.

http://code.google.com/p/kotori/wiki/KotoriWebJUnitRunner

hth
--
bufferings

On May 4, 3:20 am, Marc Hacker  wrote:
> Can anyone suggest an easy way to test within Java whether running on
> the eclipse dev environment or deployed?
>
> Something the code has to do certain things differently in development
> than when deployed to Google
>
> Thoughts?
>
> Thanks
>
> Marc
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@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: Java test if running on eclipse or deployed

2010-05-04 Thread bufferings
hi Marc

You can use KotoriWebJUnitRunner(ktrwjr), which brings you to run your
JUnit tests
on both the dev server and the prod server.

http://code.google.com/p/kotori/wiki/KotoriWebJUnitRunner?wl=en

hth
--
bufferings


On 5月4日, 午前3:20, Marc Hacker  wrote:
> Can anyone suggest an easy way to test within Java whether running on
> the eclipse dev environment or deployed?
>
> Something the code has to do certain things differently in development
> than when deployed to Google
>
> Thoughts?
>
> Thanks
>
> Marc
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-appeng...@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] Does GAE Java eclipse plugin simulate services like Memcache, Taskqueues?

2010-05-04 Thread Jeff Schwartz
The gae plugin for eclipse does support a local dev server as well as all
services except email.

On Mon, May 3, 2010 at 3:28 PM, Marc Hacker  wrote:

> If not has anyone developed good simulators so that I can run the same
> code in development and in production?
>
> Thanks
>
> Marc
>
> --
> 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+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
--
Jeff

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] this URI uses a high amount of cpu and may soon exceed its quota?? unavailable of service??

2010-05-04 Thread jlc488
I've checked other posts and answers.

The common answers for this problem is just ignore it.

However, I have  running commercial services which should be available
24/7 and recently I've noticed that the services were on and off
frequently. and still it is happening.

All I can find from log message is that "this uri."

Can anybody or google team help me out on this??

oh, and Nagios, I'm running this monitoring tool to watch appengine
sites and it is alerting me as the sites are not available.

Thanks in advance.

best regards

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.