Re: [google-appengine] KeyError while downloding data from datastore

2010-05-03 Thread Jawaad Mahmood

Can you post the query you are using?

Sent from my iPhone

On 2010/05/04, at 15:10, suri  wrote:


Hi,
I am new to Google App Engine. I am trying to download data from
datastore of uploaded application where --kind=User. But it raised an
error like below
KeyError:User. Please help me.
Thanks in advance.

--  
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] KeyError while downloding data from datastore

2010-05-03 Thread suri
Hi,
I am new to Google App Engine. I am trying to download data from
datastore of uploaded application where --kind=User. But it raised an
error like below
KeyError:User. Please help me.
Thanks in advance.

-- 
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: Does GAE Java eclipse plugin simulate services like Memcache, Taskqueues?

2010-05-03 Thread Tristan
yes, they are simulated

On May 3, 2: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 
> 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] Deleting entities in bulk.

2010-05-03 Thread Patrick Twohig
Thanks Jawaad!


On Mon, May 3, 2010 at 8:26 PM, Jawaad Mahmood wrote:

> I had to deal with the same issue myself.
>
> I did this:
>
> class DeleteFull():
>def execute(self):
>deleting = model_class_name.all().order('__key__').fetch(100)
>while deleting:
>a = []
>key = deleting[-1].key()
>for item in deleting:
>a.append(item)
>db.delete(a)
>deleting = model_class_name.all().filter('__key__ >',
> key).order('__key__').fetch(100)
>
> This purged everything, but it took a hell of a long time.
>
>
> On Tue, May 4, 2010 at 11:08 AM, Patrick Twohig
>  wrote:
> > Recently, I have refactored my code such that I no longer need entities
> of a
> > particular kind.  I was curious how I would go about writing a task to
> > delete these entities in bulk.  I have set up a task that performs a
> query
> > specifying only the kind, and then using a cursor to delete the entities
> on
> > the task queue.  However, when I run the task it seems to complete
> > prematurely rather than delete all entities.
> >
> > Here's the process I use:
> >
> > I perform a query for all entities of a particular kind.  For instance
> > "SELECT * FROM SomeKind" or new Query("SomeKind") in Java.
> > I delete as many entities as I can using the results of the query until I
> > hit a soft deadline.  I set that up myself to be 10 seconds, or so.
> > If there are more results left, I generate a cursor and pick up again and
> > re-queue the task to execute again.
> > If there are no results left, I just leave finish the task logging the
> > result.
> >
> > The problem is, the task seems to finish prematurely and it appears to
> > either delete only a few hundred entities, or it simply skips a few here
> and
> > there.  Running it in the debugger, it all seems to work well, but on the
> > AppEngine it doesn't seem to work quite as well.  Any thoughts or
> > suggestions?
> >
> > Thanks,
> > Patrick.
> >
> > --
> > Patrick H. Twohig.
> >
> > Namazu Studios
> > P.O. Box 34161
> > San Diego, CA 92163-4161
> >
> > --
> > 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.
> >
>
>
>
> --
> Sincerely yours,
>
> Jawaad Mahmood
> http://www.jawaadmahmood.com
> 080-4204-7198
>
> --
> 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.
>
>


-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
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-03 Thread Robert Kluin
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.



Re: [google-appengine] Deleting entities in bulk.

2010-05-03 Thread Jawaad Mahmood
I had to deal with the same issue myself.

I did this:

class DeleteFull():
def execute(self):
deleting = model_class_name.all().order('__key__').fetch(100)
while deleting:
a = []
key = deleting[-1].key()
for item in deleting:
a.append(item)
db.delete(a)
deleting = model_class_name.all().filter('__key__ >',
key).order('__key__').fetch(100)

This purged everything, but it took a hell of a long time.


On Tue, May 4, 2010 at 11:08 AM, Patrick Twohig
 wrote:
> Recently, I have refactored my code such that I no longer need entities of a
> particular kind.  I was curious how I would go about writing a task to
> delete these entities in bulk.  I have set up a task that performs a query
> specifying only the kind, and then using a cursor to delete the entities on
> the task queue.  However, when I run the task it seems to complete
> prematurely rather than delete all entities.
>
> Here's the process I use:
>
> I perform a query for all entities of a particular kind.  For instance
> "SELECT * FROM SomeKind" or new Query("SomeKind") in Java.
> I delete as many entities as I can using the results of the query until I
> hit a soft deadline.  I set that up myself to be 10 seconds, or so.
> If there are more results left, I generate a cursor and pick up again and
> re-queue the task to execute again.
> If there are no results left, I just leave finish the task logging the
> result.
>
> The problem is, the task seems to finish prematurely and it appears to
> either delete only a few hundred entities, or it simply skips a few here and
> there.  Running it in the debugger, it all seems to work well, but on the
> AppEngine it doesn't seem to work quite as well.  Any thoughts or
> suggestions?
>
> Thanks,
> Patrick.
>
> --
> Patrick H. Twohig.
>
> Namazu Studios
> P.O. Box 34161
> San Diego, CA 92163-4161
>
> --
> 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.
>



-- 
Sincerely yours,

Jawaad Mahmood
http://www.jawaadmahmood.com
080-4204-7198

-- 
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: Google Data API to talk to App Engine Service

2010-05-03 Thread mandar khadilk
I see. I dont have direct experience with that.
Sorry,
mandar

On Apr 18, 4:17 pm, formtester  wrote:
> Sorry, I guess I was referring to the wrong things.
> Instead of authentication, I actually wanted to do authorization, so
> that I can access the data the user have stored in Google
> applications. In my case, I wanted to access their App Engine data
> (such as the application IDs that they have, etc2).
>
> On Apr 18, 4:09 pm, formtester  wrote:
>
>
>
>
>
> > HiMandar,
>
> > I tried using the Google Account auth [OAuth, ClientLogin]. However,
> > it seems that you can only get access to some services (not all), and
> > it seems that App Engine Services is not part of those services that
> > you can access.
> > Is that what you mean by Google Account auth?
>
> > On Apr 18, 12:16 pm,mandarkhadilk  wrote:
>
> > > Two diff ways can be used.
>
> > > 1. Google Account auth. There is a simple example somewhere on the
> > > tutorial on this. Should be easy.
>
> > > 2. Another way (which I am using as not all my users have google
> > > account), is to create local User account and hash of a password. Only
> > > client knows the password.
>
> > > Then create a session when user auths. Send session id back and cache
> > > it. You can do a lot of fancy security stuff with that (out of the
> > > scope of this reply). Then every call needs to have session id.
>
> > > I would also include a some integrity check by HMACing the payload
> > > etc. Also, one can use a clever JSESSION cookie usage if on the
> > > browser.
>
> > > -mandar
>
> > > On Apr 17, 6:26 pm, formtester  wrote:
>
> > > > Still couldn't figure out how to authenticate myself with App Engine
> > > > service, and get data from it.
> > > > Anyone ever did this before?
>
> > > > On Apr 15, 12:48 am, formtester  wrote:
>
> > > > > Hi,
>
> > > > > I'm looking for a Google API that will let me talk to App Engine
> > > > > Service, and get user's information regarding their App Engine
> > > > > service. For example:
> > > > > Given a username and password, I will then authenticate these
> > > > > informations with Google service, and if authenticated, I will then
> > > > > talk to App Engine service, and ask for this specific username
> > > > > information (such as if this user have an application ID in Google App
> > > > > Engine).
>
> > > > > Is it possible to do so? if so, is there any example to do this?
>
> > > > > Thanks in advance!
>
> > > > --
> > > > 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-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: Server Error while logging into appengine.google.com

2010-05-03 Thread Adelec Bakkal
Solved:

I tried to log in using another browser (Firefox) than what I usually
use (Chrome for Linux).
So I simply did a "Remove All Cookies" on Chrome, now I can log into
my App Engine account again.

-- 
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-03 Thread Craig Berry
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 at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deleting entities in bulk.

2010-05-03 Thread Patrick Twohig
Recently, I have refactored my code such that I no longer need entities of a
particular kind.  I was curious how I would go about writing a task to
delete these entities in bulk.  I have set up a task that performs a query
specifying only the kind, and then using a cursor to delete the entities on
the task queue.  However, when I run the task it seems to complete
prematurely rather than delete all entities.

Here's the process I use:


   - I perform a query for all entities of a particular kind.  For instance
   "SELECT * FROM SomeKind" or new Query("SomeKind") in Java.
   - I delete as many entities as I can using the results of the query until
   I hit a soft deadline.  I set that up myself to be 10 seconds, or so.
   - If there are more results left, I generate a cursor and pick up again
   and re-queue the task to execute again.
   - If there are no results left, I just leave finish the task logging the
   result.

The problem is, the task seems to finish prematurely and it appears to
either delete only a few hundred entities, or it simply skips a few here and
there.  Running it in the debugger, it all seems to work well, but on the
AppEngine it doesn't seem to work quite as well.  Any thoughts or
suggestions?

Thanks,
Patrick.

-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
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] Dashboard current load counters being reset

2010-05-03 Thread Chris Killpack
On 3 separate occasions in the last 3 weeks, including today and 4/29, the
current load counters for my app's handlers have been reset during the 24
hour window. This is annoying, as I rely on these counters to measure server
traffic over days*. AFAICT the reset doesn't happen more than once in a 24hr
window.

Is this expected behavior, and is anyone else seeing this?

Chris

* I am trying to get Analytics working, but for various reasons it's not
achievable right now (Google Chrome extensions + GA JS incompatibility).

-- 
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: Any restriction on selling site on app engine?

2010-05-03 Thread johnterran
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-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 options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Compare tipfy and kay-framework?

2010-05-03 Thread Takashi MATSUO
Hi Matt,

Sorry for a late reply.

Thank you for having interest in Kay and tipfy.
As everyone said in another thread, they are both nice i think.

As moraes said, with Kay, you can basically define your views as
functions, but you can also use a class based view which is very
similar to webapp's one.

A big change for the next new release is CRUDViewGroup feature which
allows you to build CRUD+list functionality with a few lines of code.
The next release (0.10.0) will be released soon, someday in this May.

In case you haven't notice, let me introduce Kay's discussion group
and irc channel to you.

discussion group:
http://groups.google.com/group/kay-users/

irc channel:
irc://irc.freenode.net/#kay-users

Please join the discussion group or the irc channel if you like :-)

-- 
Takashi Matsuo
matsuo.taka...@gmail.com
Kay's daddy



On Thu, Apr 29, 2010 at 2:05 AM, Rodrigo Moraes
 wrote:
> On Apr 14, 1:09 pm, Matt C  wrote:
>> I'm curious about both of these.  From a quick overview, they are both
>> well regarded, and to my newbie eyes, seem to be fairly similar to one
>> another.
>>
>> Is there anyone who has tried both who could highlight the most
>> important difference(s)?
>>
>> Also, I see that the owners of both tipfy and kay sometimes post
>> here.  Comments from either of you about your favorite feature or what
>> makes your framework different from other frameworks would be
>> especially appreciated.
>
> Heya,
> Uh, only saw this message today.
>
> I'm responsible for tipfy. Yep they are similar as both are based on
> several same libraries - Werkzeug, Jinja2, Babel, and so on. From my
> perspective the main difference is that kay follows a django'ish
> approach for the views organization, and tipfy is more like webapp (so
> we call them handlers :P). Besides the function vs class matter and
> general project organization, I think both have several things in
> common - a light core and a middleware system to plug extra
> functionalities, and so on.
>
> -- rodrigo
>
> --
> 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: error code 203

2010-05-03 Thread Peter Warren
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.



[google-appengine] error code 203

2010-05-03 Thread Peter Warren
I'm getting the following warning message consistently in my app
engine logs for a particular request:
---
A serious problem was encountered with the process that handled this
request, causing it to exit. This is likely to cause a new process to
be used for the next request to your application. If you see this
message frequently, you should contact the App Engine team. (Error
code 203)
---

1) It seems to be related to the size of an object being stored in a
HashMap.  I wasn't aware of any limits on object sizes for objects
stored in app-instance memory.  Are there limits?  (The object I'm
storing is basically a Java representation of an xml data file that is
about 600k.)

2) This error suggests that I contact the app engine team.  How do I
do that?

Thanks,
Peter

-- 
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-03 Thread Grant Brown
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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Ulrich

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.



[google-appengine] Does GAE Java eclipse plugin simulate services like Memcache, Taskqueues?

2010-05-03 Thread Marc Hacker
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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Grant Brown
Yes it is possible. 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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Ulrich

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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Grant Brown
Sorry, disregard the bit about text, that's from a larger field.

On Mon, May 3, 2010 at 1:59 PM, Grant Brown  wrote:
> Hmm, in python code an '==' works, but for GQL only '=' works for me.
>
> Actually, I've just noticed something rather odd. In the model
> specification, the property I'm interested in is a 'string property',
> like I said. When I look at the 'data-store statistics' section,
> however, the bulk of my data is in 'text' format, which I'm aware
> isn't query-able. How could that happen?
>
>
> 2010/5/3 Jaroslav Záruba :
>> I do realize it does not fit the issue you are describing, I was just
>> wondering because when I used "=" in a query I got an error (or was it
>> warning?) saying that I want probably use "==".
>> On Mon, May 3, 2010 at 8:38 PM, Grant Brown  wrote:
>>>
>>> That's in the query.
>>>
>>> 2010/5/3 Jaroslav Záruba :
>>> > And that "=" is a typo or do you have it actually in your query?
>>> >
>>> > On Mon, May 3, 2010 at 8: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.
>>> >>
>>> >
>>> > --
>>> > 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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Grant Brown
Hmm, in python code an '==' works, but for GQL only '=' works for me.

Actually, I've just noticed something rather odd. In the model
specification, the property I'm interested in is a 'string property',
like I said. When I look at the 'data-store statistics' section,
however, the bulk of my data is in 'text' format, which I'm aware
isn't query-able. How could that happen?


2010/5/3 Jaroslav Záruba :
> I do realize it does not fit the issue you are describing, I was just
> wondering because when I used "=" in a query I got an error (or was it
> warning?) saying that I want probably use "==".
> On Mon, May 3, 2010 at 8:38 PM, Grant Brown  wrote:
>>
>> That's in the query.
>>
>> 2010/5/3 Jaroslav Záruba :
>> > And that "=" is a typo or do you have it actually in your query?
>> >
>> > On Mon, May 3, 2010 at 8: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.
>> >>
>> >
>> > --
>> > 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.



Re: [google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Jaroslav Záruba
I do realize it does not fit the issue you are describing, I was just
wondering because when I used "=" in a query I got an error (or was it
warning?) saying that I want probably use "==".

On Mon, May 3, 2010 at 8:38 PM, Grant Brown  wrote:

> That's in the query.
>
> 2010/5/3 Jaroslav Záruba :
> > And that "=" is a typo or do you have it actually in your query?
> >
> > On Mon, May 3, 2010 at 8: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.
> >>
> >
> > --
> > 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] Simple Equality Queries Fail

2010-05-03 Thread Grant Brown
That's in the query.

2010/5/3 Jaroslav Záruba :
> And that "=" is a typo or do you have it actually in your query?
>
> On Mon, May 3, 2010 at 8: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.
>>
>
> --
> 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-03 Thread Jaroslav Záruba
And that "=" is a typo or do you have it actually in your query?

On Mon, May 3, 2010 at 8: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.
>
>

-- 
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] Java test if running on eclipse or deployed

2010-05-03 Thread Jaroslav Záruba
http://code.google.com/appengine/docs/java/runtime.html#The_Environment

if(SystemProperty.environment.value()
== SystemProperty.Environment.Value.Production)
{
}
if(SystemProperty.environment.value() ==
SystemProperty.Environment.Value.Development)
{
}

On Mon, May 3, 2010 at 8:20 PM, 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 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] Java test if running on eclipse or deployed

2010-05-03 Thread Marc Hacker
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 at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Simple Equality Queries Fail

2010-05-03 Thread Grant
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.



[google-appengine] Server Error while logging into appengine.google.com

2010-05-03 Thread Adelec Bakkal
Hello,

When I try to log in into my App Engine account I get the following
error:

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.


My browser link is at "https://appengine.google.com/_ah/login?
continue=https://appengine.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 at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Forbidden country issue

2010-05-03 Thread onur
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.



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

2010-05-03 Thread Yoav Aviram
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:
> agh3Zi1kYWlseXJFCxInX19TdGF0X1Byb3BlcnR5VHlwZV9Qcm9wZXJ0eU5hbWVfS2luZF9fIhhCbG9iX2NvbnRlbnRfRW50aXR5U2hhcmQM
> is a ,
> _ProgressDatabase expected 
>
> On Apr 23, 1:36 pm, Matthew Blain  wrote:
>
>
>
> > I have just updatedhttp://bulkloadersample.appspot.com/witha new
> > 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-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-03 Thread Yoav Aviram
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:
> agh3Zi1kYWlseXJFCxInX19TdGF0X1Byb3BlcnR5VHlwZV9Qcm9wZXJ0eU5hbWVfS2luZF9fIhhCbG9iX2NvbnRlbnRfRW50aXR5U2hhcmQM
> is a ,
> _ProgressDatabase expected 
>
> On Apr 23, 1:36 pm, Matthew Blain  wrote:
>
>
>
> > I have just updatedhttp://bulkloadersample.appspot.com/witha new
> > 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-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] Indexes deleting for the last 4 months

2010-05-03 Thread Harlan Crystal
Hello!

Two datastore indexes for my application (danielmterrytest1) have been
"deleting" since January --- over four months ago.  At some point I
got assistance that put them into the error state and then they
reverted back to the deleting state again.

Can I please have some assistance fixing this?

thanks,
-harlan

-- 
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: Pagination

2010-05-03 Thread kamathln
I realized one thing..

q=Somemodel.all()
q.filter(some cursor compatible filters)  # if needed

 # anything here but dont set cursor on the query
q.keys_only=True
temp=q.fetch(1,999)
q.with_cursor(q.cursor)
item=q.fetch(1,999)


Will get you 2000th element.
Using this technique(as long as number of elements per page is a
factor of 1000), you can calculate pagination using normal offsets,
but if it crosses 1000 you split the offsets into 1000s place  and the
rest (using integer division and modulo by 1000) . You jump towards
the nth 1000 using the above technique .. then make a final finetuning
fetch .. example will clearly demo what I say:

suppose you want the 226th page with 20 elements per page

##
page=226
itemsperpage=20

q=SomeModel.all()
q.filters(some cursor compatible filters)

 # anything here but dont set cursor manually on the query
q.keys_only=True

offset=page*itemsperpage   # in this case 4520

new_offset=offset % 1000
for i in xrange(0,offset/1000):
  q.fetch(1,999) ## we dont assign it because we want to discard
item_keys=q.fetch(itemsperpage,new_offset)

items=db.get(item_keys)
##

With some smart use of memcache, not so many jumps would be needed
either.
(If someone comes  up with a good paginator function or class *with
memcaching*, please post :) )

Pros of this method:
   *   You can use numbers directly in the urls instead of cursors and
the like :) This makes generating pagination links (First Prev , 1,
2,3 ... 350 Next Last) a breeze while still being able to go beyond
1000 offset limit.
   *   You can use this method with almost any cursor friendly query
   *   Cursors come into picture only if you have more than 1000
items.

Cons of this method
   *  Items per page are limited to factors of 1000 (must be
validated!)
   *  If users often access items beyond 5000 items, it can still have
an impact on performance

-- 
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: Total Stored Data - can someone explain please ??

2010-05-03 Thread Perica Zivkovic
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-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] New member

2010-05-03 Thread Ikai L (Google)
No worries. It seems like nothing we ever do to the FAQs stops people from
double posting, asking for moderation, etc. Fortunately, I don't think it's
been a huge issue for these groups, and the benefits far outweigh the costs
(SPAM).

2010/5/3 Patrick Cornelißen 

> Hi!
>
> Am 3. Mai 2010 10:35 schrieb Patrick Cornelißen 
> :
>
> Hi!
>>
>> 2010/5/3 Ikai L (Google) 
>>
>> Users are placed in a moderation queue when they first post, so likely you
>>> were only in the queue because you haven't posted prior to this message. You
>>> should be good to post now.
>>>
>>> I know, but the messages I have written in the appengine-java group are
>> still not showing up. Can you approve me there too?
>>
>> Never mind... Now I can see all my messages in the archives. Sorry for the
> disturbance :-)
>
> --
> Mit freundlichen Grüßen,  // Bye,
>  Patrick Cornelißen
>  http://www.openprojectguide.org
>  http://www.pcornelissen.de http://code.google.com/p/gloudy/
>
> --
> 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: Why are both ascending and descending indexes required ?

2010-05-03 Thread Ikai L (Google)
The documentation doesn't explicitly state it (and I can't seem to find it
in these Bigtable docs either:
http://labs.google.com/papers/bigtable-osdi06.pdf), but the underlying
storage engine only lets you retrieve keys in ascending key order, though
you can specify a "less than key" filter to stop retrieving keys. On an
extremely large dataset, you'd have to retrieve all the indexes you wanted,
then start backwards. This is why the reverse index exists.

On Mon, May 3, 2010 at 11:57 AM, leo  wrote:

> Thanks Ikai.
>
> I´ve read the links you mentioned but I haven´t found any specific
> "direction" issue which prevents using indexes bottom up. According to
> the documentation Bigtable root tablet contains indexes to the tablets
> (a tablet is a range of consecutive entries), so all ranges are known
> and apparently you could start from the bottom up if you want to.
>
> The only thing should be that the datastore result [...lots of stuff,
> a,b] should be reversed to get  [b, a, ...lots of stuff] before
> sending back to the client (i.e. GAE app). For instance this could be
> done when building the protocol buffer sent back to the client.
>
> If only one index was needeed  for ascending and descending order,
> about half index storage space could be saved !
>
> Regards,
> Leo
>
>
>
>
> On Apr 29, 7:07 pm, "Ikai L (Google)"  wrote:
> > It's a consequence of how Bigtable works and how we can preserve ordering
> in
> > a meaningful way for developers (I don't think this topic is covered in
> this
> > paper:
> http://static.googleusercontent.com/external_content/untrusted_dlcp/l...
> > ).
> >
> > Let's say you have keys that look like this:
> >
> > [..lots of stuff ,a,b,c,d,e,f, ...lots of stuff]
> >
> > If you did the range query "Give me all keys greater than c", you'd get,
> > predictably:
> >
> > [d,e,f, ... lots of stuff]
> >
> > If you did the range query, "Give me all keys less than c", you'd get:
> >
> > [...lots of stuff, a,b]
> >
> > On an extremely large dataset, this doesn't happen in the order that you
> > care about. Most of the time, you want the list to look like this:
> >
> > [b, a, ...lots of stuff]
> >
> > By keeping both ASC and DESC indexes, it allows us to do this.
> >
> > You can read more about indexing here:
> >
> >
> http://code.google.com/appengine/articles/datastore/overview.htmlhttp://code.google.com/appengine/articles/storage_breakdown.html
> >
> > We can probably expand on how and why indexes work. If you have any
> > suggestions please let us know.
> >
> >
> >
> >
> >
> > On Thu, Apr 29, 2010 at 9:11 AM, leo  wrote:
> > > Hi,
> > > Are both the ascending and descending indexes (for example for a
> > > property) physically stored in Bigtable ? I mean, can´t the ascending
> > > order index also be used as descending (starting from the bottom up) ?
> >
> > > I´m just a bit curious. I guess there are some good reasons to have
> > > both indexes.
> >
> > > 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 e...@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 g

[google-appengine] Re: Why are both ascending and descending indexes required ?

2010-05-03 Thread leo
Thanks Ikai.

I´ve read the links you mentioned but I haven´t found any specific
"direction" issue which prevents using indexes bottom up. According to
the documentation Bigtable root tablet contains indexes to the tablets
(a tablet is a range of consecutive entries), so all ranges are known
and apparently you could start from the bottom up if you want to.

The only thing should be that the datastore result [...lots of stuff,
a,b] should be reversed to get  [b, a, ...lots of stuff] before
sending back to the client (i.e. GAE app). For instance this could be
done when building the protocol buffer sent back to the client.

If only one index was needeed  for ascending and descending order,
about half index storage space could be saved !

Regards,
Leo




On Apr 29, 7:07 pm, "Ikai L (Google)"  wrote:
> It's a consequence of how Bigtable works and how we can preserve ordering in
> a meaningful way for developers (I don't think this topic is covered in this
> paper:http://static.googleusercontent.com/external_content/untrusted_dlcp/l...
> ).
>
> Let's say you have keys that look like this:
>
> [..lots of stuff ,a,b,c,d,e,f, ...lots of stuff]
>
> If you did the range query "Give me all keys greater than c", you'd get,
> predictably:
>
> [d,e,f, ... lots of stuff]
>
> If you did the range query, "Give me all keys less than c", you'd get:
>
> [...lots of stuff, a,b]
>
> On an extremely large dataset, this doesn't happen in the order that you
> care about. Most of the time, you want the list to look like this:
>
> [b, a, ...lots of stuff]
>
> By keeping both ASC and DESC indexes, it allows us to do this.
>
> You can read more about indexing here:
>
> http://code.google.com/appengine/articles/datastore/overview.htmlhttp://code.google.com/appengine/articles/storage_breakdown.html
>
> We can probably expand on how and why indexes work. If you have any
> suggestions please let us know.
>
>
>
>
>
> On Thu, Apr 29, 2010 at 9:11 AM, leo  wrote:
> > Hi,
> > Are both the ascending and descending indexes (for example for a
> > property) physically stored in Bigtable ? I mean, can´t the ascending
> > order index also be used as descending (starting from the bottom up) ?
>
> > I´m just a bit curious. I guess there are some good reasons to have
> > both indexes.
>
> > 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 > e...@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.



Re: [google-appengine] New member

2010-05-03 Thread Patrick Cornelißen
Hi!

Am 3. Mai 2010 10:35 schrieb Patrick Cornelißen :

> Hi!
>
> 2010/5/3 Ikai L (Google) 
>
> Users are placed in a moderation queue when they first post, so likely you
>> were only in the queue because you haven't posted prior to this message. You
>> should be good to post now.
>>
>> I know, but the messages I have written in the appengine-java group are
> still not showing up. Can you approve me there too?
>
> Never mind... Now I can see all my messages in the archives. Sorry for the
disturbance :-)

-- 
Mit freundlichen Grüßen,  // Bye,
 Patrick Cornelißen
 http://www.openprojectguide.org
 http://www.pcornelissen.de http://code.google.com/p/gloudy/

-- 
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] New member

2010-05-03 Thread Patrick Cornelißen
Hi!

2010/5/3 Ikai L (Google) 

> Users are placed in a moderation queue when they first post, so likely you
> were only in the queue because you haven't posted prior to this message. You
> should be good to post now.
>
> I know, but the messages I have written in the appengine-java group are
still not showing up. Can you approve me there too?

BTW: Thanks for approving me here :-)

-- 
Mit freundlichen Grüßen,  // Bye,
 Patrick Cornelißen
 http://www.openprojectguide.org
 http://www.pcornelissen.de http://code.google.com/p/gloudy/

-- 
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] Any restriction on selling site on app engine?

2010-05-03 Thread Ikai L (Google)
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-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] Any restriction on selling site on app engine?

2010-05-03 Thread johnterran
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-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] Index in a Queued mode for almost a hour

2010-05-03 Thread Ikai L (Google)
Your indexes look fine to me. Did you build a new index from scratch? Those
are built using background MapReduces and the time to process depends on
capacity. There's some more information about this here:

http://code.google.com/appengine/articles/index_building.html

On Sat, Apr 24, 2010 at 6:30 AM, ashutosh  wrote:

> The index on my app (smstrial) has been in a queu'ed mode for almost a
> hour now. After how long should I typically check the status?  Is
> there any way to expedite the process?
>
> Thanks,
> Ashutosh
>
> --
> 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] New member

2010-05-03 Thread Ikai L (Google)
Users are placed in a moderation queue when they first post, so likely you
were only in the queue because you haven't posted prior to this message. You
should be good to post now.

2010/5/3 Patrick Cornelißen 

> Hi!
>
> I am a new group member. I'm currently playing around with the java API and
> I'm planning on writing something portal'ish on the app engine.
>
> Is someone here with admin rights on the appengine-java mailinglist or
> knows the admin?
> I'm stuck in the moderated status for new members for more than a week now
> and I really would like to participate...
>
>
> --
> Mit freundlichen Grüßen,  // Bye,
>  Patrick Cornelißen
>  http://www.openprojectguide.org
>  http://www.pcornelissen.de http://code.google.com/p/gloudy/
>
> --
> 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] Scheduled downtime is not reflected on the system status page though appspot returns 404

2010-05-03 Thread Ikai L (Google)
App Engine isn't down. We wouldn't return a 404 if we were. What's the URL
to your application?

On Sat, May 1, 2010 at 10:36 PM, michael kariv wrote:

> My app on the appspot.com returns 404 error.
>
> Downtime notification group (http://groups.google.com/group/google-
> appengine-downtime-notify)
> clearly notifies about the downtime.
> "This is a notification to our developers on App Engine that there
> will
> be an upcoming cron maintenance period"
>
> Yet the status page
> http://code.google.com/status/appengine
> says Normal in all categories.
>
> I might miss some technical details, but from the user perspective if
> appspot.com does not respond for whatever reason, status page should
> have not be all green.
>
> Michael
>
> --
> 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] New member

2010-05-03 Thread Patrick Cornelißen
Hi!

I am a new group member. I'm currently playing around with the java API and
I'm planning on writing something portal'ish on the app engine.

Is someone here with admin rights on the appengine-java mailinglist or knows
the admin?
I'm stuck in the moderated status for new members for more than a week now
and I really would like to participate...


-- 
Mit freundlichen Grüßen,  // Bye,
 Patrick Cornelißen
 http://www.openprojectguide.org
 http://www.pcornelissen.de http://code.google.com/p/gloudy/

-- 
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.