[google-appengine] Re: Extended db.Model providing access to ReferenceProperty key

2009-02-26 Thread Ian Lewis
I think your get_key method needs a return in there.

class DerefModel(db.Model):
def get_key(self, prop_name):
getattr(self.__class__, prop_name).get_value_for_datastore(self)



On Fri, Feb 27, 2009 at 3:51 PM, Bill  wrote:

>
> Alex,
> Do you mean something like this:
>
> http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity
> If so, let me know if it doesn't work.
> -Bill
>
> On Feb 26, 5:32 pm, Alex Popescu 
> wrote:
> > Hi,
> >
> > I've read on the group that somebody has extended the db.Model to
> > automatically provide access to the referenced entity key (i.e. if the
> > model defines a ReferenceProperty then the Model will automatically
> > provide access to the referenced entity key -- the value that is
> > actually stored).
> >
> > While I do know how to write the code to get the referenced entity
> > key, I have no idea how can I enhance db.Model to automatically
> > provide this feature.
> >
> > I'd appreciate any hints on how to get this functionality (or even
> > better the implementation). Many thanks in advance,
> >
> > ./alex
> > --
> > Cloud Now:http://The.DailyCloud.net
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
===

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



[google-appengine] Re: Extended db.Model providing access to ReferenceProperty key

2009-02-26 Thread Bill

Alex,
Do you mean something like this:
http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity
If so, let me know if it doesn't work.
-Bill

On Feb 26, 5:32 pm, Alex Popescu 
wrote:
> Hi,
>
> I've read on the group that somebody has extended the db.Model to
> automatically provide access to the referenced entity key (i.e. if the
> model defines a ReferenceProperty then the Model will automatically
> provide access to the referenced entity key -- the value that is
> actually stored).
>
> While I do know how to write the code to get the referenced entity
> key, I have no idea how can I enhance db.Model to automatically
> provide this feature.
>
> I'd appreciate any hints on how to get this functionality (or even
> better the implementation). Many thanks in advance,
>
> ./alex
> --
> Cloud Now:http://The.DailyCloud.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: sending email from localhost

2009-02-26 Thread David Symonds

On Wed, Feb 25, 2009 at 10:10 PM, river  wrote:

> my app is running in linux os  ,i just enable my sendmail and i check
> my sending sample mail
> but when i send mail through code it says error as:
>
> "/bin/sh: sendmail: command not found
> ERROR2009-02-25 06:37:05,801 mail_stub.py] Error sending mail
> using sendmail: [Errno 32] Broken pipe"
>
> plz advice me what mistake i done

Uh, did you notice the "sendmail: command not found"? You'll need
either sendmail or a sendmail-compatible MTA installed.


Dave.

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



[google-appengine] Help regarding ajax on appengine

2009-02-26 Thread app engine dude

Hello.i have some problem when iam developing an application. i have
some simple form that has to be submitted to database.i used jquery
and ajax in jquery so that form gets submitted to database. i have
some click functions that are being written in query for displaying
other pages.Those pages are displayed when i use the app on localhost
+appengine. but when i upload the app on server its not showing the
pages that i click.some1 help me with this...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Accomplishing a "Join" between Referenced Entities

2009-02-26 Thread Tim Hoffman

So in your original posting you said

kind1 where prop1 = specific_value.

So what specific value would you be looking for the whole text or
specific words or combinations of words (in a particular order )

This is I think where you approach will be determined.

T

On Feb 27, 1:41 pm, Devel63  wrote:
> It's a good idea, and it's what I've used elsewhere, but in this case
> kind1_prop is really text (I'm using the searchable data model).
> These are not tiny, and contain data from multiple fields.  It would
> be expensive to duplicate all this in a third class, and multiply the
> data storage by a factor of 1 million.  So ... is there another way?
>
> On Feb 26, 7:20 pm, Tim Hoffman  wrote:
>
> > I think you should create a new entity
> > which has
> >    kind1_key
> >    kind1_prop
> >    kind2_key
> >    kind1_ref
> >    kind2_ref
>
> > Filter on kind2 key, kind 1 key , kind1 prop
> > The use the refs to get the real objects when you need to.
>
> > Or something like that
>
> > T
>
> > On Feb 27, 4:09 am, Devel63  wrote:
>
> > > Until now, the lack of a SQL-like join capability has not been an
> > > issue.  But...
>
> > > I have 2 entity kinds:
> > >     - kind1: prop1
> > >     - kind2: username, reference_to_kind1
>
> > > I want to find all kind2's where user=me and reference_to_kind1 is a
> > > kind1 where prop1 = specific_value.
>
> > > I can't figure out a way to do this except to start with either class,
> > > do a fetch, then iterate over all references.  This is potentially A
> > > LOT of individual queries.  The intersection/join is small, but each
> > > kind can have large numbers of entities.
>
> > > How is this done?
>
> > > P.S. Please don't suggest denormalization, because the above is a
> > > simplified example.  I am really doing this with text fields in kind1,
> > > and keyword searchables.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Accomplishing a "Join" between Referenced Entities

2009-02-26 Thread Devel63

It's a good idea, and it's what I've used elsewhere, but in this case
kind1_prop is really text (I'm using the searchable data model).
These are not tiny, and contain data from multiple fields.  It would
be expensive to duplicate all this in a third class, and multiply the
data storage by a factor of 1 million.  So ... is there another way?

On Feb 26, 7:20 pm, Tim Hoffman  wrote:
> I think you should create a new entity
> which has
>    kind1_key
>    kind1_prop
>    kind2_key
>    kind1_ref
>    kind2_ref
>
> Filter on kind2 key, kind 1 key , kind1 prop
> The use the refs to get the real objects when you need to.
>
> Or something like that
>
> T
>
> On Feb 27, 4:09 am, Devel63  wrote:
>
> > Until now, the lack of a SQL-like join capability has not been an
> > issue.  But...
>
> > I have 2 entity kinds:
> >     - kind1: prop1
> >     - kind2: username, reference_to_kind1
>
> > I want to find all kind2's where user=me and reference_to_kind1 is a
> > kind1 where prop1 = specific_value.
>
> > I can't figure out a way to do this except to start with either class,
> > do a fetch, then iterate over all references.  This is potentially A
> > LOT of individual queries.  The intersection/join is small, but each
> > kind can have large numbers of entities.
>
> > How is this done?
>
> > P.S. Please don't suggest denormalization, because the above is a
> > simplified example.  I am really doing this with text fields in kind1,
> > and keyword searchables.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Neves

To make sure that it was not an account problem, I create a new
account,
and create a new application with ID "e-mail4all"
The creation was success, but again it doesn´t show on my dashboard
and it says that the ID is not available anymore.
Please, it can´t be a local problem only with me. Try to create a
fresh account to see what happens.

On 26 fev, 21:57, Neves  wrote:
> Marzia, it´s getting even more weird.
> Now I created 6 applications without error, but it didn´t showup on my
> dashboard and when I try to create it again, it says that it´s already
> exists.
> Here are the used ids:
> gdlefj3osje943j2342kdl
> sitenasnuvens
> webnasnuvens
> gigadados
> host64
> websitepronto
>
> When I try to deploy to any of them, I get an error "You do not have
> permission to modify this app (app_id=u'websitepronto')."
> I reset my ADSL modem IP but the problem still.
>
> On 26 fev, 17:29, Marzia Niccolai  wrote:
>
>
>
> > Hi,
>
> > The app id servicos is definitely not available, it would be easier if you
> > could get the complete headers when using, for instance, the string
> > gdlefj3osje943j2342kdl which we know is not available.
>
> > Are you trying both of these machines from the same location / IP addresses?
>
> > -Marzia
>
> > On Thu, Feb 26, 2009 at 12:19 PM, Neves  wrote:
>
> > > I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
> > > I can update and use the application that already exists.
> > > Here are the request and response headers from
> > >http://appengine.google.com/start/createapp
> > > tohttp://appengine.google.com/start/createapp.do(404)
> > >http://gist.github.com/71082
>
> > > Have you tried if you got the same problem?
>
> > > On 26 fev, 16:13, Marzia Niccolai  wrote:
> > > > Hi,
>
> > > > To narrow down this problem a bit, is this across computers or have you
> > > only
> > > > tried on one computer?  If it's only on one computer, what is the OS/
> > > > Browser versions you are using? Do you know your IP address?  Can you
> > > > provide screenshots of the error?
>
> > > > Do you have live http headers, or another program where we can see the
> > > > request information why you try to register an application id?  This
> > > would
> > > > probably be the most useful information.
>
> > > > Can you still see your previously created applications when you sign in
> > > tohttp://appengine.google.com?Canyou upload your app to those previously
> > > > created app ids?
>
> > > > -Marzia
>
> > > > On Thu, Feb 26, 2009 at 11:06 AM, Neves  wrote:
>
> > > > > I always get this message "This application ID or version is already
> > > > > in use" while creating a new app, even if I choose a random ID like
> > > > > "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Accomplishing a "Join" between Referenced Entities

2009-02-26 Thread Tim Hoffman

I think you should create a new entity
which has
   kind1_key
   kind1_prop
   kind2_key
   kind1_ref
   kind2_ref

Filter on kind2 key, kind 1 key , kind1 prop
The use the refs to get the real objects when you need to.

Or something like that

T


On Feb 27, 4:09 am, Devel63  wrote:
> Until now, the lack of a SQL-like join capability has not been an
> issue.  But...
>
> I have 2 entity kinds:
>     - kind1: prop1
>     - kind2: username, reference_to_kind1
>
> I want to find all kind2's where user=me and reference_to_kind1 is a
> kind1 where prop1 = specific_value.
>
> I can't figure out a way to do this except to start with either class,
> do a fetch, then iterate over all references.  This is potentially A
> LOT of individual queries.  The intersection/join is small, but each
> kind can have large numbers of entities.
>
> How is this done?
>
> P.S. Please don't suggest denormalization, because the above is a
> simplified example.  I am really doing this with text fields in kind1,
> and keyword searchables.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] What happened to minor version numbers?

2009-02-26 Thread Alex Epshteyn

Last summer, when I would upload my app with app_cfg without changing
the version number in app.yaml, the admin console showed a minor
version number.  Example:

Say I upload version "3" twice - I would get roughly the following in
the console:

version 3.1 (default)
version 3.2

The subdomain 3.latest would have pointed to 3.2, but the default url
still went to 3.1 until you change the default version.

That system was very nice because it allowed you to rollback if you
forgot to change the version number in app.yaml by accident.

Now, however, uploading the same version number seems to clobber the
previous version.

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



[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy

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



[google-appengine] Access remote MySQL database

2009-02-26 Thread Wiiboy

Hi everyone,
I've got a PHP forum running on a shared server.  I'd like to get an
App running on App Engine that integrates with that forum.  By
integrate, I mean it has to be able to access the database running on
that server.  So, is there a way to access that MySQL database?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: MemCache/datastore failing

2009-02-26 Thread DarkCoiote

The funny thing is that the code didnt change...

that's why I imagined it could be something that change with engine
itself.

Is it possible that the app engine running in the server got
corrupted
or something like it?

Thanks.

On Feb 19, 10:05 pm, Marzia Niccolai  wrote:
> Hi,
>
> It's difficult to see with only the stack traces, please post the code
> causing this as well.  Also, the datastore deadline's remain the same, the
> runtime request limit is now 30 second, not the datastore.
>
> I would say that the second stack trace seems like you may be trying to
> fetch 1000 records, which is probably the cause of the deadline error,
> depending on your data model.
>
> -Marzia
>
> On Thu, Feb 19, 2009 at 4:56 AM, DarkCoiote  wrote:
>
> > Hi,
>
> > somehow my app. can't use memcache anymore (it was working fine a week
> > ago).
>
> > For instance, I clear the cache (memcache.flush_all()), use the app
> > (almost every operation uses caching) and then call the cache stats
> > page (stats = memcache.get_stats()) but the stats variable gets
> > consistently 'none' value.
>
> > As a result, latency has increased a lot making responses exceed the
> > 10sec. timeout (maybe other bug here, as now it should be 30s right?
> > although the timeout can be from the 'gadgets.io.makeRequest' from the
> > opensocial part of the app.)
>
> > The traceback of the problem I got with the datastore:
>
> > An error occurred for the API request datastore_v3.RunQuery().
> > Traceback (most recent call last):
> >  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > __init__.py", line 503, in __call__
> >    handler.post(*groups)
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 371, in post
> >    avgRating = get_avg_rating(friend)
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 95, in get_avg_rating
> >    ratings = query.get()
> >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1346, in get
> >    results = self.fetch(1)
> >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1390, in fetch
> >    raw = self._get_query().Get(limit, offset)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > datastore.py", line 942, in Get
> >    return self._Run(limit, offset)._Next(limit)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > datastore.py", line 883, in _Run
> >    apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
> > result)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_stub_map.py", line 68, in MakeSyncCall
> >    apiproxy.MakeSyncCall(service, call, request, response)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_stub_map.py", line 240, in MakeSyncCall
> >    stub.MakeSyncCall(service, call, request, response)
> >  File "/base/python_lib/versions/1/google/appengine/runtime/
> > apiproxy.py", line 183, in MakeSyncCall
> >    rpc.CheckSuccess()
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_rpc.py", line 111, in CheckSuccess
> >    raise self.exception
> > Error: An error occurred for the API request datastore_v3.RunQuery().
>
> > Some times I get this kind of traceback, which I'm sure is the
> > deadline problem:
>
> > :
> > Traceback (most recent call last):
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 620, in main
> >    run_wsgi_app(application)
> >  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > util.py", line 76, in run_wsgi_app
> >    result = application(env, _start_response)
> >  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > __init__.py", line 503, in __call__
> >    handler.post(*groups)
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 372, in post
> >    numVisit = get_num_visits(friend)
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 487, in get_num_visits
> >    delete_old_visits(owner)
> >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > main.py", line 492, in delete_old_visits
> >    results = query.fetch(1000)
> >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1390, in fetch
> >    raw = self._get_query().Get(limit, offset)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > datastore.py", line 942, in Get
> >    return self._Run(limit, offset)._Next(limit)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > datastore.py", line 1536, in _Next
> >    apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Next', req,
> > result)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_stub_map.py", line 68, in MakeSyncCall
> >    apiproxy.MakeSyncCall(service, call, request, response)
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_stub_map.py", line 240, in MakeSyncCall
> >    stu

[google-appengine] Extended db.Model providing access to ReferenceProperty key

2009-02-26 Thread Alex Popescu

Hi,

I've read on the group that somebody has extended the db.Model to
automatically provide access to the referenced entity key (i.e. if the
model defines a ReferenceProperty then the Model will automatically
provide access to the referenced entity key -- the value that is
actually stored).

While I do know how to write the code to get the referenced entity
key, I have no idea how can I enhance db.Model to automatically
provide this feature.

I'd appreciate any hints on how to get this functionality (or even
better the implementation). Many thanks in advance,

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



[google-appengine] Re: Annoucement: you may now purchase additional computing resources

2009-02-26 Thread Jeff S

Hi RAT,

You are correct. Here's an FAQ on how to proceed if you are in one of
these unlisted countries: 
http://code.google.com/appengine/kb/billing.html#unlisted

Happy coding,

Jeff

On Feb 26, 1:22 pm, RAT  wrote:
> It's just me or Brazil is not on the list of available countries able
> to purchase additional Quota?
>
> Thanks
>
> On Feb 24, 6:30 pm, Jeff S  wrote:
>
> > Hi all,
>
> > We've just announced that it is now possible to purchase additional
> > quota for your application. To borrow from our blog post,
>
> > """
> > We're psyched to announce that developers can now purchase additional
> > computing resources on App Engine, enabling apps to scale beyond our
> > free quotas. This has been our most requested improvement to App
> > Engine and we're thrilled to deliver it, as promised.
>
> > You can now set a daily budget for your app that represents the
> > maximum amount you're willing to pay for computing resources each day.
> > You allocate this budget across CPU, bandwidth, storage, and email,
> > and you pay for only what your app consumes beyond the free
> > thresholds...
> > """
>
> > More details are available at the following locations:
>
> > Blog 
> > post:http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-...
>
> > Updated quota documentation 
> > page:http://code.google.com/appengine/docs/quotas.html
>
> > Documentation on purchasing additional 
> > quota:http://code.google.com/appengine/docs/billing.html
>
> > Billing FAQs:http://code.google.com/appengine/kb/billing.html
>
> > Questions? Comments? :-)
>
> > Happy coding,
>
> > Jeff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Neves

Marzia, it´s getting even more weird.
Now I created 6 applications without error, but it didn´t showup on my
dashboard and when I try to create it again, it says that it´s already
exists.
Here are the used ids:
gdlefj3osje943j2342kdl
sitenasnuvens
webnasnuvens
gigadados
host64
websitepronto

When I try to deploy to any of them, I get an error "You do not have
permission to modify this app (app_id=u'websitepronto')."
I reset my ADSL modem IP but the problem still.

On 26 fev, 17:29, Marzia Niccolai  wrote:
> Hi,
>
> The app id servicos is definitely not available, it would be easier if you
> could get the complete headers when using, for instance, the string
> gdlefj3osje943j2342kdl which we know is not available.
>
> Are you trying both of these machines from the same location / IP addresses?
>
> -Marzia
>
>
>
> On Thu, Feb 26, 2009 at 12:19 PM, Neves  wrote:
>
> > I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
> > I can update and use the application that already exists.
> > Here are the request and response headers from
> >http://appengine.google.com/start/createapp
> > tohttp://appengine.google.com/start/createapp.do(404)
> >http://gist.github.com/71082
>
> > Have you tried if you got the same problem?
>
> > On 26 fev, 16:13, Marzia Niccolai  wrote:
> > > Hi,
>
> > > To narrow down this problem a bit, is this across computers or have you
> > only
> > > tried on one computer?  If it's only on one computer, what is the OS/
> > > Browser versions you are using? Do you know your IP address?  Can you
> > > provide screenshots of the error?
>
> > > Do you have live http headers, or another program where we can see the
> > > request information why you try to register an application id?  This
> > would
> > > probably be the most useful information.
>
> > > Can you still see your previously created applications when you sign in
> > tohttp://appengine.google.com?Can you upload your app to those previously
> > > created app ids?
>
> > > -Marzia
>
> > > On Thu, Feb 26, 2009 at 11:06 AM, Neves  wrote:
>
> > > > I always get this message "This application ID or version is already
> > > > in use" while creating a new app, even if I choose a random ID like
> > > > "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Email Question

2009-02-26 Thread Marzia Niccolai
Hi,

The two solutions that come to mind for now is to run remote_api on your
machine or set up a client side javascript solution that could call a
handler every few seconds.

Eventually we plan to offer cron and long running processes which would be
the ideal solution.

-Marzia

On Thu, Feb 26, 2009 at 2:47 PM, MajorProgamming wrote:

>
> So is there any way to have that process die, and then call a new
> process automatically. Or, is there a way to run many processes in
> parallel. Like suppose I need to send out ~5000 emails? What would be
> the best way to do that?
>
> On Feb 26, 12:40 pm, Marzia Niccolai  wrote:
> > Hi,
> >
> > With billing, you can send as many emails as you can process during the
> 30
> > second request deadline.  So while you can pay for sending as many emails
> as
> > you would like, the request deadline will still be a factor in completing
> > any App Engine operations.
> >
> > I don't know how many emails you can send in 30 seconds (I've never tried
> to
> > test the limit), but I'd imagine it would be on the order of 30.
> >
> > -Marzia
> >
> > On Thu, Feb 26, 2009 at 7:00 AM, MajorProgamming  >wrote:
> >
> >
> >
> > > Now that Billing is available, I have some questions about Emails:
> >
> > > The price is .0001/message. Does that mean I can really send an
> > > unlimited number of messages (provided I pay)?
> >
> > > What are the limits of email per request?
> >
> > > Is it a good idea to use this for SMS [alerts], where I send out a
> > > mass email to many ppl via [user's numb...@[carrier's address].com  ?
> >
> > > Thanks for your help,
> >
>

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



[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy

Hum.  Well, I've got a PHP forum that I'm running.  On my normal
hosting, I could connect to the MySQL database for data regarding the
forum (currently logged in user's username, etc.).  Now, since App
Engine doesn't support MySQL, what do I do?  Or is this idea done for?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Email Question

2009-02-26 Thread MajorProgamming

So is there any way to have that process die, and then call a new
process automatically. Or, is there a way to run many processes in
parallel. Like suppose I need to send out ~5000 emails? What would be
the best way to do that?

On Feb 26, 12:40 pm, Marzia Niccolai  wrote:
> Hi,
>
> With billing, you can send as many emails as you can process during the 30
> second request deadline.  So while you can pay for sending as many emails as
> you would like, the request deadline will still be a factor in completing
> any App Engine operations.
>
> I don't know how many emails you can send in 30 seconds (I've never tried to
> test the limit), but I'd imagine it would be on the order of 30.
>
> -Marzia
>
> On Thu, Feb 26, 2009 at 7:00 AM, MajorProgamming wrote:
>
>
>
> > Now that Billing is available, I have some questions about Emails:
>
> > The price is .0001/message. Does that mean I can really send an
> > unlimited number of messages (provided I pay)?
>
> > What are the limits of email per request?
>
> > Is it a good idea to use this for SMS [alerts], where I send out a
> > mass email to many ppl via [user's numb...@[carrier's address].com  ?
>
> > Thanks for your help,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Help: The phone number has been sent too many messages or has already been used to confirm an account.

2009-02-26 Thread interactivecl...@gmail.com

Yea, I am getting the same thing.  Cant seem to post messages and the
registration seems to be screwy.  I know I didnt register my number..
I should just stick with Microsoft.  At least it works.

On Feb 21, 2:03 pm, Guy Davis  wrote:
> Hi Geoffrey,
>
> I tried that form, but it seems broken.  I fill in all fields, but on
> submit I get an error complaining about missing comments.  See screen
> shot athttp://www.imgshack.info/images/20ph6kmlm1m9buem99.png
>
> Is the only way to solve this problem a broken form?  Isn't anyone
> from Google looking after registrations?
>
> Thanks in advance,
> Guy
>
> P.S. Sorry about the double post, but Groups seems to be dropping my
> post content?
>
> On Feb 19, 8:50 am, Geoffrey Spear  wrote:
>
> >http://appengine.google.com/waitlist/sms_issues
>
> > On Feb 19, 10:18 am, Guy Davis  wrote:
>
> > > Bouncing this post to keep in view.  Hopefully a Googler (Marzia?)
> > > will notice and help me resolve this registration snafu.  Is my only
> > > other option to use a friend's cellphone?  That seems to go against
> > > the purpose of verifying my identity.  However, if I get no help
> > > clearing the "disallowed state" on myphonenumber, a friend'sphone
> > > would seem the only answer.
>
> > > Any help would be greatly appreciated.
>
> > > Thanks in advance,
> > > Guy
>
> > > On Feb 18, 11:55 am, Guy Davis  wrote:
>
> > > > I am not able to get past the "Verify YourAccountbySMS" page.  I
> > > > had originally tried using my plain GMailaccount
> > > > (guydavis...@gmail.com), but now would like to use my current Google
> > > > Appsaccount(da...@guydavis.ca).  I have reviewed theSMSFAQ page
> > > > and it does not provide help for my current situation.
>
> > > > Would someone from Google please contact me at either address so that
> > > > I can get past this and create an application?  Any help would be
> > > > greatly appreciated.
>
> > > > Thanks in advance,
> > > > Guy

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



[google-appengine] Error Trying To Create New Account

2009-02-26 Thread interactivecl...@gmail.com

I can not get past the initial screen.  I receive error:

"The phone number has been sent too many messages or has already been
used to confirm an account."

I do not believe that I've tried to create App Engine account with my
phone number, nor have I already confirmed an account..  Is there a
way to reset my phone number so that I may begin?

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



[google-appengine] Re: Help: The phone number has been sent too many messages or has already been used to confirm an account.

2009-02-26 Thread interactivecl...@gmail.com

I am having the same issue:
"The phone number has been sent too many messages or has already been
used to confirm an account"

This is not an issue of the phone not being able to receive an SMS as
the page you suggest states:
"Having Trouble Receiving SMS Messages?
We're sorry we're not able to send you an SMS verification message."

The phone receives SMS just fine.  Its Google App Engine and for some
reason these phone numbers are on some database of having been sent an
SMS already.  And even if they were sent an SMS, there should be some
contingency to either retrieve that original SMS or have a new one
sent.  For all we know, someone else has registered with our phone
numbers not realizing it.  Whatever the reason, the problem is that we
need our phone numbers somehow reset so we can continue.  Please.

Thanks


On Feb 19, 10:50 am, Geoffrey Spear  wrote:
> http://appengine.google.com/waitlist/sms_issues
>
> On Feb 19, 10:18 am, Guy Davis  wrote:
>
> > Bouncing this post to keep in view.  Hopefully a Googler (Marzia?)
> > will notice and help me resolve this registration snafu.  Is my only
> > other option to use a friend's cellphone?  That seems to go against
> > the purpose of verifying my identity.  However, if I get no help
> > clearing the "disallowed state" on myphonenumber, a friend'sphone
> > would seem the only answer.
>
> > Any help would be greatly appreciated.
>
> > Thanks in advance,
> > Guy
>
> > On Feb 18, 11:55 am, Guy Davis  wrote:
>
> > > I am not able to get past the "Verify YourAccountby SMS" page.  I
> > > had originally tried using my plain GMailaccount
> > > (guydavis...@gmail.com), but now would like to use my current Google
> > > Appsaccount(da...@guydavis.ca).  I have reviewed the SMS FAQ page
> > > and it does not provide help for my current situation.
>
> > > Would someone from Google please contact me at either address so that
> > > I can get past this and create an application?  Any help would be
> > > greatly appreciated.
>
> > > Thanks in advance,
> > > Guy

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



[google-appengine] Re: Annoucement: you may now purchase additional computing resources

2009-02-26 Thread RAT

It's just me or Brazil is not on the list of available countries able
to purchase additional Quota?

Thanks

On Feb 24, 6:30 pm, Jeff S  wrote:
> Hi all,
>
> We've just announced that it is now possible to purchase additional
> quota for your application. To borrow from our blog post,
>
> """
> We're psyched to announce that developers can now purchase additional
> computing resources on App Engine, enabling apps to scale beyond our
> free quotas. This has been our most requested improvement to App
> Engine and we're thrilled to deliver it, as promised.
>
> You can now set a daily budget for your app that represents the
> maximum amount you're willing to pay for computing resources each day.
> You allocate this budget across CPU, bandwidth, storage, and email,
> and you pay for only what your app consumes beyond the free
> thresholds...
> """
>
> More details are available at the following locations:
>
> Blog 
> post:http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-...
>
> Updated quota documentation 
> page:http://code.google.com/appengine/docs/quotas.html
>
> Documentation on purchasing additional 
> quota:http://code.google.com/appengine/docs/billing.html
>
> Billing FAQs:http://code.google.com/appengine/kb/billing.html
>
> Questions? Comments? :-)
>
> Happy coding,
>
> Jeff

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



[google-appengine] Will datastore_admin.GetSchema() ever be reenabled?

2009-02-26 Thread David Wilson

Hi there,

I'm currently working on a Datastore synchronization tool (
http://code.google.com/p/appengine-sqlite-sync/ ), and was wondering
if it's likely GetSchema() will ever work again. I've seen some old
messages about it breaking the SDK viewer when running in production,
but nothing conclusive. Calling GetSchema(), either via the remote API
or from e.g. shell.appspot.com, raises an exception telling me the
application does not have permission to access the API.

Is it gone for good? Would be nice if my tool could run without having
a copy of the application's source code lying around. :)

Thanks,


David.

-- 
It is better to be wrong than to be vague.
  — Freeman Dyson

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



[google-appengine] Re: Excessively variable response times, regardless of serving status

2009-02-26 Thread bFlood

thanks marzia, thats what I needed to hear.

On Feb 26, 12:33 pm, Marzia Niccolai  wrote:
> Hi,
>
> To clarify, this is based on runtime CPU, not datastore CPU.  Also, this
> shouldn't affect the serving status of your application, it just means that
> your app may see some additional latency on a per request basis if it is
> serving a large number of CPU intensive requests.
>
> -Marzia
>
>
>
> On Tue, Feb 24, 2009 at 3:41 PM, bFlood  wrote:
>
> > hi marzia
>
> > ok, can you confirm these new limits? previously, most people designed
> > their apps to run in the 100-300ms range (datastore access included).
> > when you started to go over 300ms, the warnings would start to show up
> > in the logs. suffice it to say, it was reasonable to assume when no
> > warnings showed up you were in the range that would scale very well on
> > GAE.
>
> > are you now saying that the new average request target should be below
> > 100ms (datastore access included)? if so, this seems to me like a
> > significant reduction in GAE functionality/flexibility.
>
> > am I reading this wrong? (entirely possible)
>
> > thx
> > brian
>
> > On Feb 24, 4:55 pm, bFlood  wrote:
> > > well that seems like a change from previous posts. I thought people
> > > generally quoted 200-300ms as a safe place to be for most of your
> > > requests
>
> > > On Feb 24, 4:13 pm, Marzia Niccolai  wrote:
>
> > > > Hi,
>
> > > > 20ms is not considered CPU intensive, but once you get up in to the
> > > > hundreds, it is.
>
> > > > -Marzia
>
> > > > On Tue, Feb 24, 2009 at 5:43 AM, bFlood  wrote:
>
> > > > > thanks marzia
>
> > > > > I dont want to read too much into Nick's results above but is
> > 30-200ms
> > > > > now considered to be CPU intensive?
>
> > > > > cheers
> > > > > brian
>
> > > > > On Feb 23, 4:20 pm, Marzia Niccolai  wrote:
> > > > > > Hi,
>
> > > > > > This is done on a per-request basis.
>
> > > > > > -Marzia
>
> > > > > > On Mon, Feb 23, 2009 at 12:14 PM, bFlood 
> > wrote:
>
> > > > > > > hi marzia
>
> > > > > > > when this occurs, is the temp governor set for the entire app? or
> > just
> > > > > > > the handler that caused the high CPU warning? above, Nick said
> > that
> > > > > > > the typical request was 30-200ms so it seems odd that it would be
> > > > > > > throttled
>
> > > > > > > I think this is better then the original high CPU reaction (throw
> > > > > > > exception after limit) but if it affects *all* handlers it might
> > turn
> > > > > > > out to be far worse for apps where the majority of requests are
> > well
> > > > > > > below the high CPU threadhold
>
> > > > > > > cheers
> > > > > > > brian
>
> > > > > > > On Feb 23, 2:54 pm, Marzia Niccolai  wrote:
> > > > > > > > Hi,
>
> > > > > > > > Upon some further investigation, it seems that this is the
> > result of
> > > > > the
> > > > > > > new
> > > > > > > > handling of CPU intensive requests, more information about
> > which can
> > > > > be
> > > > > > > > found here:
> > > > > > >http://code.google.com/appengine/docs/quotas.html#Request_Limits
>
> > > > > > > > Specifically "Applications that are heavily cpu-bound, on the
> > other
> > > > > hand,
> > > > > > > > may incur some additional latency in long-running requests in
> > order
> > > > > to
> > > > > > > make
> > > > > > > > room for other apps sharing the same servers. "
>
> > > > > > > > Essentially, if we observe that you have some heavily cpu-bound
> > > > > requests,
> > > > > > > > your handler may experience additional latency. This may not
> > always
> > > > > > > happen,
> > > > > > > > and for the higher cpu request handlers, there is no way to
> > know
> > > > > exactly
> > > > > > > > when it may happen.
>
> > > > > > > > -Marzia
>
> > > > > > > > On Wed, Feb 18, 2009 at 10:21 AM, Nick Winter <
> > livel...@gmail.com>
> > > > > > > wrote:
>
> > > > > > > > > We've been seeing pretty brutal response times intermittently
> > for
> > > > > our
> > > > > > > > > app (id: skrit), which I can't figure out. Some more info:
>
> > > > > > > > > * They're clustered in time: all requests will be slow for
> > several
> > > > > > > > > seconds at a time, dozens of times over a couple hours
> > > > > > > > > * The long periods of slowness often happen in the morning,
> > > > > although
> > > > > > > > > not always, and not every morning
> > > > > > > > > * Traffic doesn't appear to be related, and is low (less than
> > 5
> > > > > > > > > requests per second)
> > > > > > > > > * It's not instance startup costs. I'm logging when things
> > are
> > > > > > > > > imported, and on a small request with no datastore
> > interaction:
> > > > > > > > > -- with no startup costs, normally around 30-200ms, spikes to
> > > > > > > > > 1300-1600ms
> > > > > > > > > -- with startup costs, normally around 1300-1600ms, spikes to
> > > > > > > > > 4000-11500ms
> > > > > > > > > * It doesn't seem to be related to dynamic get latency or
> > anything
> > > > > > > > > else on the serving status page. Initially, we thought it was
> >

[google-appengine] Re: am I the only one seeing only one version of my application in the admin console?

2009-02-26 Thread Frank

I knew I was forgetting something!!! :)

Thanks again for your help guys


On Feb 26, 11:47 am, Romain Pierre  wrote:
> Hello,
>
> Me too, but try to change the version in the app.yaml configuration file.
>
> Cordialement,
> Romain Pierre
>
> --
> Nedelis SARL
> +33 (0) 607 308 909www.nedelis.com
>
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis
> a l'intention exclusive de ses destinataires et sont confidentiels. Si vous
> recevez ce message par erreur, merci de le détruire et d'en avertir
> immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
> sa destination, toute diffusion ou toute publication, totale ou partielle,
> est interdite, sauf autorisation expresse. Nedelis décline toute
> responsabilité au titre de ce message, dans l'hypothèse où il aurait été
> modifié.
>
>
>
> On Thu, Feb 26, 2009 at 8:45 PM, Frank  wrote:
>
> > Hi everyone,
>
> > I am seeing only one version of my application in the 'Versions' menu
> > of the admin console (online), even though of course I am uploading
> > new versions regulary, so I'm starting to wonder if my console has a
> > bug, or am I missing something?
> > Basically there's no way for me to revert to an old version.
>
> > Thanks for you help
>
> > Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: GAE and REST/SOAP

2009-02-26 Thread neshaug

Well, I used the appengine-rest-server wich is great for my needs. I
inherited the rest.Dispatcher class and wrote access controll in the
get, put, post delete methods. You probably have moved on, but I'm
kinda curious about how you chose to do it.

On Feb 8, 1:31 am, tempy  wrote:
> Hi,
>
> I want to build a GAE app that will have the following general
> architecture:
>
> Installed clients (mono on desktops and iphone) that will authenticate
> and then get/put/delete user-specific data to the GAE app.  (The data
> is not public, users should not be able to see each other's data.)
> Then, GAE itself will host a website that will allow users to access
> and do stuff with the data created by the clients.
>
> I am trying to figure out how exactly the clients will connect to
> GAE.  I read about the Authentication API and that sounds pretty much
> like what I need.  But as far as the clients communicating with the
> GAE app, I figure my choices areRESTor a SOAP web-service.  I would
> much prefer to go withRESTbut SOAP would also do.  So I've been
> trying to figure out whether either of these are supported and how to
> implement them, and the fragmented documentation out there is really
> making me feel like a newbie (which I am.)
>
> As forREST, I found this publicly available 
> code:http://github.com/fczuardi/gae-rest/tree/masterhttp://code.google.com/p/appengine-rest-server/
>
> For SOAP, I found this blog post which seems to lay things out more or
> less 
> clearly:http://www.ioncannon.net/web-services/180/soap-on-the-google-app-engi...
>
> I am still not quite sure if any of these approaches would do exactly
> what I need, so in hoping that I would save myself a day or two of
> research/trial-and-error I am posting here, and wondering if anyone
> has already accomplished this (RESTor SOAP to allow installed clients
> to authenticate and then get/put/delete data particular to them.)
>
> Thanks in advance,
> Mike

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



[google-appengine] Re: New App - wikiaata

2009-02-26 Thread Ben Nevile

really fun game!!  Nice work.

Ben



On Feb 25, 4:08 pm, indra  wrote:
> Hello everyone,
>
> Play the wikipedia game at
>
> http://www.wikiaata.com
>
> The app is powered by AppEngine and GWT was used for building the UI.
> Any feedback is very welcome.
>
> Cheers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Marzia Niccolai
Hi,

The app id servicos is definitely not available, it would be easier if you
could get the complete headers when using, for instance, the string
gdlefj3osje943j2342kdl which we know is not available.

Are you trying both of these machines from the same location / IP addresses?

-Marzia

On Thu, Feb 26, 2009 at 12:19 PM, Neves  wrote:

>
> I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
> I can update and use the application that already exists.
> Here are the request and response headers from
> http://appengine.google.com/start/createapp
> to http://appengine.google.com/start/createapp.do (404)
> http://gist.github.com/71082
>
> Have you tried if you got the same problem?
>
>
> On 26 fev, 16:13, Marzia Niccolai  wrote:
> > Hi,
> >
> > To narrow down this problem a bit, is this across computers or have you
> only
> > tried on one computer?  If it's only on one computer, what is the OS/
> > Browser versions you are using? Do you know your IP address?  Can you
> > provide screenshots of the error?
> >
> > Do you have live http headers, or another program where we can see the
> > request information why you try to register an application id?  This
> would
> > probably be the most useful information.
> >
> > Can you still see your previously created applications when you sign in
> tohttp://appengine.google.com? Can you upload your app to those previously
> > created app ids?
> >
> > -Marzia
> >
> >
> >
> > On Thu, Feb 26, 2009 at 11:06 AM, Neves  wrote:
> >
> > > I always get this message "This application ID or version is already
> > > in use" while creating a new app, even if I choose a random ID like
> > > "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Latency of local datastore - any way to flush, wait for all writes to complete, etc?

2009-02-26 Thread chadwackerman

While I realize that this does not apply to the production
environment, I am doing some unit testing locally where I need the
datastore in a known state.

Since 1.1.9 I'm seeing more cases where put() followed immediately by
get() doesn't return the updated object -- probably due to improved
performance/threading in the dev environment.

Is there a clean or clever solution to this?

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



[google-appengine] Re: Which is better?

2009-02-26 Thread chadwackerman

Definitely #2

#1 also creates additional data integrity issues since, worst case,
29.9 seconds may elapse between the first and second call to get()

Depending on what you're doing with the data, you may need to put #2
in a transaction in order to get the results you expect

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



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Romain Pierre
Same problem for me.
Just use another browser (Safari, IE) or empty cache/cookies...

Cordialement,
Romain Pierre

--
Nedelis SARL
+33 (0) 607 308 909
www.nedelis.com

Ce message et toutes les pièces jointes (ci-après le "message") sont établis
a l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. Nedelis décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié.


On Thu, Feb 26, 2009 at 8:06 PM, Neves  wrote:

>
> I always get this message "This application ID or version is already
> in use" while creating a new app, even if I choose a random ID like
> "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: am I the only one seeing only one version of my application in the admin console?

2009-02-26 Thread Romain Pierre
Hello,

Me too, but try to change the version in the app.yaml configuration file.

Cordialement,
Romain Pierre

--
Nedelis SARL
+33 (0) 607 308 909
www.nedelis.com

Ce message et toutes les pièces jointes (ci-après le "message") sont établis
a l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. Nedelis décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié.


On Thu, Feb 26, 2009 at 8:45 PM, Frank  wrote:

>
> Hi everyone,
>
> I am seeing only one version of my application in the 'Versions' menu
> of the admin console (online), even though of course I am uploading
> new versions regulary, so I'm starting to wonder if my console has a
> bug, or am I missing something?
> Basically there's no way for me to revert to an old version.
>
> Thanks for you help
>
> Frank
>
>
> >
>

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



[google-appengine] SMS text message for engine code trouble

2009-02-26 Thread kjsi

It's a really long alphanumeric number. It should be 7 digits. What
could be wrong?

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



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Neves

I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
I can update and use the application that already exists.
Here are the request and response headers from 
http://appengine.google.com/start/createapp
to http://appengine.google.com/start/createapp.do (404)
http://gist.github.com/71082

Have you tried if you got the same problem?


On 26 fev, 16:13, Marzia Niccolai  wrote:
> Hi,
>
> To narrow down this problem a bit, is this across computers or have you only
> tried on one computer?  If it's only on one computer, what is the OS/
> Browser versions you are using? Do you know your IP address?  Can you
> provide screenshots of the error?
>
> Do you have live http headers, or another program where we can see the
> request information why you try to register an application id?  This would
> probably be the most useful information.
>
> Can you still see your previously created applications when you sign in 
> tohttp://appengine.google.com? Can you upload your app to those previously
> created app ids?
>
> -Marzia
>
>
>
> On Thu, Feb 26, 2009 at 11:06 AM, Neves  wrote:
>
> > I always get this message "This application ID or version is already
> > in use" while creating a new app, even if I choose a random ID like
> > "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Having a strange problem viewing my app

2009-02-26 Thread SpuriousGrowth

Just to follow up, the issue I started off this thread with, unrelated
to the caching / not including a call to main in the script, I did
find a solution to. Fairly bizarre.

What the problem appears to be, is that the package that your
application lives in must contain a script of the same name when you
submit, regardless of the configuration stated in app.yaml.

For instance, for the following situation:

hello_world/
hello_world/app.yaml
hello_world/hello.py
hello_world/static/
hello_world/static/image.jpg

If this project was then submitted with appconfig, only the static
files can be successfully requested, even if app.yaml contains a
handler for all other requests to use hello.py. All other requests
return a blank page. This layout works fine from the test server, but
not from the production servers.

renaming the package as follows:

hello/
hello/app.yaml
hello/hello.py
hello/static/
hello/static/image.jpg

and then updating the project with appconfig causes everything to work
just ducky. No change to app.yaml is required, and the application
name does not have to match the directory name. It simply needs to
contain a script that matches the name of the package.

Anyone else come across this problem, or should I share what I've been
smoking?

SG

On Jan 20, 10:16 am, Rodrigo Moraes  wrote:
> On Tue, Jan 20, 2009 at 3:52 PM, Rodrigo Moraes wrote:
> > this is a really common issue and should be added to the FAQ if it is
> > not there already (sorry, i didn't check).
>
> uh, an update. it is in the FAQ [1]. see:
>
> Q: The first time I load my application, it is blank.  After that it
> works fine.  What is wrong?
> A: This is due to the way that App Engine handles app caching.  To fix
> it, simply include this at the bottom of your file:
>
> if __name__ == "__main__":
>
>   main()
>
> [1]http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: am I the only one seeing only one version of my application in the admin console?

2009-02-26 Thread dartdog1

Are you changing the version number in the yaml file before
uploading??

On Feb 26, 1:45 pm, Frank  wrote:
> Hi everyone,
>
> I am seeing only one version of my application in the 'Versions' menu
> of the admin console (online), even though of course I am uploading
> new versions regulary, so I'm starting to wonder if my console has a
> bug, or am I missing something?
> Basically there's no way for me to revert to an old version.
>
> Thanks for you help
>
> Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Jarek Zgoda

No, it is not. CGI is generic way of passing environment variables to
web applications. WSGI is standardized communication protocol between
web servers (like these that offer CGI interface) and web applications
written in Python. Basically you just write WSGI-based application and
run it in WSGI environment like mod_wsgi (for Apache) or bridging with
other environment eg. using Flup to connect to FastCGI, SCGI or AJP
gateways.

See http://en.wikipedia.org/wiki/Common_Gateway_Interface and
http://en.wikipedia.org/wiki/Wsgi.

The main advantage over traditional VPS or dedicated hosting is
maintenance - you just deploy your application and that's all. No need
to think about database setup, mail server configuration, load
balancing, etc. Considering shared hosting, you'll get scalability and
generous free limit. You will pay with vendor lock-in, at least to
some extent (writing application in a way it could be ran in other
environment than GAE is really hard and requires careful planning
beforehand).

On 26 Lut, 17:09, Wiiboy  wrote:
> So what are the advantages of moving to App Engine?
>
> By the way, my other hosting provider says that it uses CGI.  Is that
> the same thing as WSGI?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] am I the only one seeing only one version of my application in the admin console?

2009-02-26 Thread Frank

Hi everyone,

I am seeing only one version of my application in the 'Versions' menu
of the admin console (online), even though of course I am uploading
new versions regulary, so I'm starting to wonder if my console has a
bug, or am I missing something?
Basically there's no way for me to revert to an old version.

Thanks for you help

Frank


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



[google-appengine] DataStore : Unable to Delete Exploding Indexes

2009-02-26 Thread DJB

I have several indexes based on searchable_text_index that I've been
unable to delete for some time. When I vacuum, the status changes to
"Deleting", that after about 40min changes back to error.

Several people on the AppEngine team have offered advice, but the
conclusion has always been that the indexes are exceeding DataStore
thresholds.

I'm unable to create new indexes until these are removed.

Is there any way these can be removed by Google?

thanks,
David


__searchable_text_index ▲ , __searchable_text_index ▲ ,
__searchable_text_index ▲ , __searchable_text_index ▲ ,
__searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
Error
__searchable_text_index ▲ , __searchable_text_index ▲ ,
__searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
Error
__searchable_text_index ▲ , __searchable_text_index ▲ ,
__searchable_text_index ▲ , bookid ▲
Error
__searchable_text_index ▲ , __searchable_text_index ▲ ,
__searchable_text_index ▲ , translation ▲ , bookid ▲ , chapter ▲ ,
verse ▲

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



[google-appengine] Re: pass dict() to db.Model subclass?

2009-02-26 Thread eclark

The problem was that my first keyword-argument list was in Unicode.
Since StringProperty accepts Unicode, the second list was fine. I
needed to convert the first list to str before proceeding. Here is the
modified, working code:

form_values = [str(i) for i in self.request.arguments()]
form_response=[]
for key in form_values:
form_response.append(self.request.get(key))
data = dict(zip(form_values,form_response))

user = User(**data)

Thank you for the clarification.
Emery

On Feb 20, 5:52 pm, djidjadji  wrote:
> You must expand the dictionary into named-arguments
> No need to specify parent and key_name arguments, they have default values
>
> keys=['a','b','c']
> values=['1','2','3']
> data = dict(zip(keys,values))
> person = Person(**data)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can´t create new apps

2009-02-26 Thread Marzia Niccolai
Hi,

To narrow down this problem a bit, is this across computers or have you only
tried on one computer?  If it's only on one computer, what is the OS/
Browser versions you are using? Do you know your IP address?  Can you
provide screenshots of the error?

Do you have live http headers, or another program where we can see the
request information why you try to register an application id?  This would
probably be the most useful information.

Can you still see your previously created applications when you sign in to
http://appengine.google.com ? Can you upload your app to those previously
created app ids?

-Marzia

On Thu, Feb 26, 2009 at 11:06 AM, Neves  wrote:

>
> I always get this message "This application ID or version is already
> in use" while creating a new app, even if I choose a random ID like
> "gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Accomplishing a "Join" between Referenced Entities

2009-02-26 Thread Devel63

Until now, the lack of a SQL-like join capability has not been an
issue.  But...

I have 2 entity kinds:
- kind1: prop1
- kind2: username, reference_to_kind1

I want to find all kind2's where user=me and reference_to_kind1 is a
kind1 where prop1 = specific_value.

I can't figure out a way to do this except to start with either class,
do a fetch, then iterate over all references.  This is potentially A
LOT of individual queries.  The intersection/join is small, but each
kind can have large numbers of entities.

How is this done?

P.S. Please don't suggest denormalization, because the above is a
simplified example.  I am really doing this with text fields in kind1,
and keyword searchables.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Can´t create new apps

2009-02-26 Thread Neves

I always get this message "This application ID or version is already
in use" while creating a new app, even if I choose a random ID like
"gdlefj3osje943j2342kdl.appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: New App - wikiaata

2009-02-26 Thread sreeram

kool site.. how are you doing it? I mean tracking the clicks

On Feb 26, 5:08 am, indra  wrote:
> Hello everyone,
>
> Play the wikipedia game at
>
> http://www.wikiaata.com
>
> The app is powered by AppEngine and GWT was used for building the UI.
> Any feedback is very welcome.
>
> Cheers.

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



Re: 答复: [google-appengine] urlfetch pro blem

2009-02-26 Thread DJ

I wanted to take this opportunity to mention I just spent a week or so
feverishly trying to diagnose a similar problem, which also came down
to the URL encoding in my requests.

I'm working on prototyping a Facebook application where the middleware
is hosted by GAE, and the backend is a third-party web service. The
flow of information looks something like this:

   client PC  <-->  apps.facebook.com  <-->  myapp.appspot.com  <--
mydatasource.com

Because fancy authentication is needed, I'm using urllib2 to fetch the
data from mydatasource.com. In GAE, urllib and urllib2 are built on
the native urlfetch library.

I've been finding that for many requests, the call to urlfetch throws
DownloadError: ApplicationError 2. This led me to believe, after some
searching around, that the problem was a timeout in urlfetch.
Documentation states the timeout is fixed at 5 seconds. If my services
were slower than that, I'd have very few options for fixing the
problem.

But it turned out the data source was actually quite fast - subsecond
responses to most queries. Assuming it was a timeout issue, this could
only mean that Google's cloud was taking more than four seconds to
find, connect to and download from mydatasource.com, which seemed
absurd. If nothing else, the Cloud is very good at moving information
quickly.

Today I finally discovered that the DownloadError: ApplicationError 2
had *nothing* to do with timing. Not that there was anything in this
sparsely worded and sparsely documented exception, or in its call
stack, to implicate the actual problem, which was a malformed URL. It
dawned on me what was happening when I compared some of the requests
that were and weren't working. I found a pattern:

?param1=foo¶m2=bar<-- this query always succeeds.
?what=foo bar&where=bar, baz  <-- this query always fails.

What kept me from seeing it was for some reason I thought the latter
was failing probabilistically, say 90% of the time, and I concluded
that the slightly more complex query was taking too long. Turns out it
failed 100% of the time and I assumed otherwise.

In hindsight the problem is very obvious. Some of my parameters were
unchecked for invalid URI encoding, and contained spaces and commas.
There's a very simple way to tell this is the problem, and alokiN and
djidjadji touched on it: ***if a GET request fails with urlfetch, but
is valid when typed in the browser***, it is likely a URL-encoding
bug. This is because browsers will silently correct your URLs, but App
Engine does not. There are other significant possibilities to
consider, but I had ruled them all out. Once I rewrote my code to
assemble requests with urllib.urlencode(), it started working
properly.

None of this is strictly App Engine doing wrong - in my experience
Python exceptions have always been kind of hard to follow. Given that
Google controls this API, though, it would be nice if urlfetch checked
for this, or if the exception made it clear that illegal characters
may be choking the system.

On Feb 8, 9:22 am, admin go2  wrote:
> You should use POST instead of GET. Since GET request would hit the google
> cache server.
> If you must use GET request, please  try this 
> urlhttp://server/index.php?auth=authstring&random=a_random_number
>
> And make sure authstring is urlencoded.
>
> go2.appspot.com
>
> http://go2.appspot.com
>
>
>
> > Hi everyone,
>
> > I'm having trouble with using urlfetch. I'm trying to fetch a page
> > that needs authentication. The authentication is done by using an url
> > parameter (iehttp://server/index.php?auth=authstring).
>
> > When I write the url in my browser, the page I want is shown. When I
> > call the fetch function with the same url, the login page is retrieved
> > instead of the expected page, as if the authentication parameter
> > wasn't recognised. I'm calling the function only with the url as the
> > parameter ( urlfetch.fetch(http://server/index.php?auth=authstring) ),
> > so the request should be a normal GET request.
>
> > Could you please tell me what am I doing wrong?
>
> > 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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: New App - wikiaata

2009-02-26 Thread rohit

Good application. Very addictive. Create orkut app for it, m sure will
be a good success.

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



[google-appengine] Error on

2009-02-26 Thread Ivar

I have installed the SDK and trying to get the helloworld example in
the toturial to work. I'm working on a linux computer and when I run
the command:

[ivar...@eeyore google_appengine]$ python dev_appserver.py helloworld/

i get this errror:

Traceback (most recent call last):
  File "dev_appserver.py", line 60, in 
run_file(__file__, globals())
  File "dev_appserver.py", line 57, in run_file
execfile(script_path, globals_)
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
tools/dev_appserver_main.py", line 463, in 
sys.exit(main(sys.argv))
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
tools/dev_appserver_main.py", line 423, in main
if update_check.AllowedToCheckForUpdates():
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
tools/appcfg.py", line 446, in AllowedToCheckForUpdates
nag = self._ParseNagFile()
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
tools/appcfg.py", line 365, in _ParseNagFile
nag = NagFile.Load(fh)
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
tools/appcfg.py", line 169, in Load
return yaml_object.BuildSingleObject(NagFile, nag_file)
  File "/cs/student/ivarton/devel/google_appengine/google/appengine/
api/yaml_object.py", line 291, in BuildSingleObject
raise yaml_errors.EmptyConfigurationFile()
google.appengine.api.yaml_errors.EmptyConfigurationFile


I have tried to reinstall the SDK without any luck. When I first
installed the SDK two days ago, I got it to work, so it's a bit
strange.

Ivar

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



[google-appengine] Re: Can Google Apps Account be an Administrator?

2009-02-26 Thread Marzia Niccolai
Hi,

Yes, Google Apps accounts can be admins of an application.  However, it's
really only suggested that they are admins of an application where the
authentication option of an app is also set to Google Apps.

Generally, in order to sign in to an application as an admin, the type of
account must match the authentication setting for that app.  This is because
the app can only serve the authentication page that matches it's
authentication option.

We have an article on the subject which may be slightly more clear:
http://code.google.com/appengine/articles/auth.html

If it sounds confusing, that's because it is.  Especially because you can
have emails that are both Google Accounts and Google Apps accounts.  All I
can say on that is that we hope in the future we can make it less confusing
for all our users, but we aren't there yet.

-Marzia

On Thu, Feb 26, 2009 at 10:37 AM, lenza  wrote:

>
> I signed up for GAE using my Google Apps account, not a gmail.com
> account.  I can access the administrator console with this account.
> However, I cannot access pages where I have "login: admin" set.  Also
> users.is_current_user_admin() returns False when signed into my Google
> Apps account.
>
> I also have an gmail.com account that I just added as an
> administrator.  This account can access "login: admin" pages and
> users.is_current_user_admin() returns True.
>
> Is this a known issue?
> >
>

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



[google-appengine] Can Google Apps Account be an Administrator?

2009-02-26 Thread lenza

I signed up for GAE using my Google Apps account, not a gmail.com
account.  I can access the administrator console with this account.
However, I cannot access pages where I have "login: admin" set.  Also
users.is_current_user_admin() returns False when signed into my Google
Apps account.

I also have an gmail.com account that I just added as an
administrator.  This account can access "login: admin" pages and
users.is_current_user_admin() returns True.

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



[google-appengine] Which is better?

2009-02-26 Thread johnP

My app requires an often-repeating procedure where I need to take two
separate values, and choose one of them.

For example:

class Item():
 day
 player = [red, black]
 value

I need to select which value is larger, and then apply a point to
either Reds or Blacks.  Which approach is more efficient

Option one:  perform two queries to get red and black separately, then
compare them:

  red = models.Item.all().filter('day =', day).filter('player =',
red).get()
  black = models.Item.all().filter('day =', day).filter('player =',
black).get()
  if red.value>black.value:
  Reds += 1
  else
 Blacks += 1

Option two:  perform one query to get both values, sort them, then
compare them:

  items = models.Item.all().filter('day =', day).fetch(2)
  for item in items:
if item.player == 'red':
   red = item
else:
   black = item
  if red.value>black.value:
  Reds += 1
  else
 Blacks += 1

Basically, since I need to repeat this kind of an action very often,
it's worth knowing which is the better approach.  Thanks!









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



[google-appengine] Re: load test

2009-02-26 Thread Brett Slatkin

Hi there,

On Wed, Feb 25, 2009 at 5:59 PM, pedepy  wrote:
>
> hey all. Although my app is far from complete, I thought Id do a
> little early 'load testing' to see what it would look like.
>
> I had noticed awful big cpu usage times, usually anywhere between
> 1100ms to 5000ms on my / page ! ... After some memcaching (I had
> absolutely none before that), I was able to get it to reduce to the
> mid hundreds after a few loads. Anyway, here's what i did:
>
> My script sent gradual requests to my app, as I understand this is how
> to best test the load under gae. I dunno if these values are optimal,
> they were completely random: 10 requests 2 seconds appart, 20 more
> starting at 2 seconds and ending at 0.25 seconds apart, and then 15
> more 'all at once'.I fetched / and then parsed the response for all a
> & img tags, and followed href's and src images. Then fetched those. I
> went 2 'levels' deep like that. I did not follow any forms.

This sounds like a good way to do the load test.

> My first few 'simulated site hits' ran as slow as what I had
> experienced at first. But quickly enough, I saw cpu processing times
> drop dramatically. Now, this brought a few questions:
>
> first of all, I got an 'too much contention on entity' (or something
> like that) error, on my first attemps at a load test, which threw 100
> requests for everything on my site all at once. I dont know what that
> error is, nor how do avoid it.

Are you doing a lot of writes on a single entity in the Datastore?
This can cause contention, which leads to this error. This is
problematic if you're trying to scale up your application.

> second, I noticed that request times read like this /'url'
> 200'response code' and then a time mesure and then the cpu ms time.
> What is that first time mesure ? Is it the total amount of time
> spent ? Does it take into account any kind of latency on the client's
> side of things or what not or does this value indicate server
> ressources  usage only?

The logs show "[response code] [wall-clock latency] [CPU-time]
[response size]". If you mouse-over the number it should show you a
tool-tip that explains. The client-visible latency would be the
wall-clock latency plus any network delays (which we can't measure
from the server side).

-Brett

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



[google-appengine] Re: Cyclic Definition Problem

2009-02-26 Thread simpsus_science

This is a minimal example of the stuff that I want to do.

class PMethod(PElement):
body = db.StringProperty()

class PElement(PolyModel):
name = db.StringProperty()
pMethodInput = db.ReferenceProperty(MetaPMethod,
collection_name='input')
pMethodOutput = db.ReferenceProperty(MetaPMethod,
collection_name='output')


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



[google-appengine] Re: Email Question

2009-02-26 Thread Marzia Niccolai
Hi,

With billing, you can send as many emails as you can process during the 30
second request deadline.  So while you can pay for sending as many emails as
you would like, the request deadline will still be a factor in completing
any App Engine operations.

I don't know how many emails you can send in 30 seconds (I've never tried to
test the limit), but I'd imagine it would be on the order of 30.

-Marzia

On Thu, Feb 26, 2009 at 7:00 AM, MajorProgamming wrote:

>
> Now that Billing is available, I have some questions about Emails:
>
> The price is .0001/message. Does that mean I can really send an
> unlimited number of messages (provided I pay)?
>
> What are the limits of email per request?
>
> Is it a good idea to use this for SMS [alerts], where I send out a
> mass email to many ppl via [user's numb...@[carrier's address].com  ?
>
>
> Thanks for your help,
> >
>

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



[google-appengine] Re: Billing Question

2009-02-26 Thread Marzia Niccolai
Hi,

While we provide various default settings for billing based on budget
(normal, CPU intensive, bandwidth intensive, etc), you can choose a 'custom'
billing setting which will allow you to set any budgets you want for the
listed resources. For instance, you are able to only set budget for
bandwidth and email if you so choose.

-Marzia

On Thu, Feb 26, 2009 at 6:57 AM, MajorProgamming wrote:

>
> Something I didn't understand well about budgets: Can we set the
> amount we're willing to pay per resource. For example, suppose I set a
> budget of $50. Can I tell GAE to only use that money for let's say
> Bandwidth and Email [as opposed to all resources]?
> >
>

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



[google-appengine] Re: Excessively variable response times, regardless of serving status

2009-02-26 Thread Marzia Niccolai
Hi,

To clarify, this is based on runtime CPU, not datastore CPU.  Also, this
shouldn't affect the serving status of your application, it just means that
your app may see some additional latency on a per request basis if it is
serving a large number of CPU intensive requests.

-Marzia

On Tue, Feb 24, 2009 at 3:41 PM, bFlood  wrote:

>
> hi marzia
>
> ok, can you confirm these new limits? previously, most people designed
> their apps to run in the 100-300ms range (datastore access included).
> when you started to go over 300ms, the warnings would start to show up
> in the logs. suffice it to say, it was reasonable to assume when no
> warnings showed up you were in the range that would scale very well on
> GAE.
>
> are you now saying that the new average request target should be below
> 100ms (datastore access included)? if so, this seems to me like a
> significant reduction in GAE functionality/flexibility.
>
> am I reading this wrong? (entirely possible)
>
> thx
> brian
>
>
> On Feb 24, 4:55 pm, bFlood  wrote:
> > well that seems like a change from previous posts. I thought people
> > generally quoted 200-300ms as a safe place to be for most of your
> > requests
> >
> > On Feb 24, 4:13 pm, Marzia Niccolai  wrote:
> >
> >
> >
> > > Hi,
> >
> > > 20ms is not considered CPU intensive, but once you get up in to the
> > > hundreds, it is.
> >
> > > -Marzia
> >
> > > On Tue, Feb 24, 2009 at 5:43 AM, bFlood  wrote:
> >
> > > > thanks marzia
> >
> > > > I dont want to read too much into Nick's results above but is
> 30-200ms
> > > > now considered to be CPU intensive?
> >
> > > > cheers
> > > > brian
> >
> > > > On Feb 23, 4:20 pm, Marzia Niccolai  wrote:
> > > > > Hi,
> >
> > > > > This is done on a per-request basis.
> >
> > > > > -Marzia
> >
> > > > > On Mon, Feb 23, 2009 at 12:14 PM, bFlood 
> wrote:
> >
> > > > > > hi marzia
> >
> > > > > > when this occurs, is the temp governor set for the entire app? or
> just
> > > > > > the handler that caused the high CPU warning? above, Nick said
> that
> > > > > > the typical request was 30-200ms so it seems odd that it would be
> > > > > > throttled
> >
> > > > > > I think this is better then the original high CPU reaction (throw
> > > > > > exception after limit) but if it affects *all* handlers it might
> turn
> > > > > > out to be far worse for apps where the majority of requests are
> well
> > > > > > below the high CPU threadhold
> >
> > > > > > cheers
> > > > > > brian
> >
> > > > > > On Feb 23, 2:54 pm, Marzia Niccolai  wrote:
> > > > > > > Hi,
> >
> > > > > > > Upon some further investigation, it seems that this is the
> result of
> > > > the
> > > > > > new
> > > > > > > handling of CPU intensive requests, more information about
> which can
> > > > be
> > > > > > > found here:
> > > > > >http://code.google.com/appengine/docs/quotas.html#Request_Limits
> >
> > > > > > > Specifically "Applications that are heavily cpu-bound, on the
> other
> > > > hand,
> > > > > > > may incur some additional latency in long-running requests in
> order
> > > > to
> > > > > > make
> > > > > > > room for other apps sharing the same servers. "
> >
> > > > > > > Essentially, if we observe that you have some heavily cpu-bound
> > > > requests,
> > > > > > > your handler may experience additional latency. This may not
> always
> > > > > > happen,
> > > > > > > and for the higher cpu request handlers, there is no way to
> know
> > > > exactly
> > > > > > > when it may happen.
> >
> > > > > > > -Marzia
> >
> > > > > > > On Wed, Feb 18, 2009 at 10:21 AM, Nick Winter <
> livel...@gmail.com>
> > > > > > wrote:
> >
> > > > > > > > We've been seeing pretty brutal response times intermittently
> for
> > > > our
> > > > > > > > app (id: skrit), which I can't figure out. Some more info:
> >
> > > > > > > > * They're clustered in time: all requests will be slow for
> several
> > > > > > > > seconds at a time, dozens of times over a couple hours
> > > > > > > > * The long periods of slowness often happen in the morning,
> > > > although
> > > > > > > > not always, and not every morning
> > > > > > > > * Traffic doesn't appear to be related, and is low (less than
> 5
> > > > > > > > requests per second)
> > > > > > > > * It's not instance startup costs. I'm logging when things
> are
> > > > > > > > imported, and on a small request with no datastore
> interaction:
> > > > > > > > -- with no startup costs, normally around 30-200ms, spikes to
> > > > > > > > 1300-1600ms
> > > > > > > > -- with startup costs, normally around 1300-1600ms, spikes to
> > > > > > > > 4000-11500ms
> > > > > > > > * It doesn't seem to be related to dynamic get latency or
> anything
> > > > > > > > else on the serving status page. Initially, we thought it was
> > > > loosely
> > > > > > > > correlated, but I think those were just flukes. This happens
> much
> > > > more
> > > > > > > > often, and for much longer, than serving latency is ever
> high.
> > > > > > > > * It happens on all requests; I've just given numbers for

[google-appengine] Re: Server Error woes

2009-02-26 Thread Marzia Niccolai
Hi David,

If you provide the app id I can look in to it.  We usually see this with
corrupt data, or data that is too large to be returned with the default 20
entity setting.

-Marzia

On Wed, Feb 25, 2009 at 7:56 PM, iDavid  wrote:

>
> I'm getting a "Server Error" message from the dashboard, when I go
> into the "Data Viewer" and select "TiwiNotes" (one of my data
> entities).
>
> I've had the data in the data store for a couple of months.
> I just purchased the "pay for higher quotas", and was getting ready to
> run another benchmark by deleting the existing entities.  After
> deleting about 47000 items, my delete code (deleting 500 per request),
> threw an exception.  I logged the exception, but it was blank.  So, I
> attempted to look at the data via the "Data Viewer" and got the
> "Server Error".
>
> I know they are close, guess this is the fun part about being on the
> "bleeding edge".
>
> I'm cut!   Medic!
>
>
> >
>

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



[google-appengine] Re: Disappointed with free quota changes (probably not surprising)

2009-02-26 Thread ltcstyle
Why not try AppEngine Patch, you get the best of both gae and django.


-- 
www.MobiTheWeb.com
Let's share the best mobile web experience.



On Thu, Feb 26, 2009 at 4:51 PM, Bennomatic  wrote:

>
> I could make a pretty good guess as to why it happened.  Google's
> major income is from advertising, and while they're not going broke
> any time soon, the amount of money coming in from their advertising
> has dropped significantly, and so things they could have done as loss
> leaders to get more advertising dollars now are weighing more on the
> budget, so they needed to lower the payment bar on this service.
>
> I'm sure they set the initial quotas with best intentions, but
> crunching some numbers, found that it was not going to be profitable.
> However, as with Gmail service, where the disk space available just
> keeps growing and growing, I'd be willing to bet that as AppEngine
> matures, we might see some new features and/or changes in quotas to
> make it even more appealing than it was in the pre-quota-change days.
>
> That having been said, there may be other reasons for the change.
> when they set the initial quotas, they did it based on a light-
> processing app getting, IIRC, 5 million hits per month.  That number
> hasn't changed.  It could very well be that when they set the quotas,
> they were thinking of the 5 million hits per month and it turns out
> that with proper accounting in place, what they were offering was
> enough for 50 or 500 million.
>
> I understand your frustration.  I do.  And they certainly could have
> handled this better so that it wouldn't feel like a bait-and-switch.
> But at the end of the day, the amount of free service they are
> offering is pretty substantial and for every case like yours I'd bet
> there are hundreds of people who are going to be able to start a
> business and get it profitable before they have to pay a dime.
>
> If this is for a non-profit organization, it still isn't the end of
> the world.  I'm sure that the organization has grant writers who could
> get a $1,000/year grant to pay for the hosting without a problem, if
> it's going to help them do their good works.  Good luck; I hope that
> the optimizations aren't too difficult, and that you can find some way
> to stay under those quotas.  Keep the community posted!
>
> On Feb 24, 6:12 pm, "B.J."  wrote:
> > I don't know that I have ever whined at an organization like Google
> > for trying to make money.
> >
> > That's changing with this message.
> >
> > By my calculations, it could cost me $1000 over the next year to host
> > my app that I had anticipated being hosted under the quotas.  It may
> > cost me nothing right now our usage is just under the daily CPU
> > limits.  If the traffic doesn't grow, no problem  But whose goal is it
> > for an app not to get more usage?
> >
> > My only real gripe is that App Engine caused me to invest a lot of
> > effort in shoe-horning my app into the "Google Way".  I did that with
> > the understanding that the trade-off was a certain amount of free
> > hosting.  Was that a promise?  Of course not.  Is Google under any
> > obligation to meet my expectation?  No.
> >
> > However, as I attempt to further optimize the application in an effort
> > to not exceed limits, the future of the application is now in
> > question.  This is not a profit deal.  I gave away my time in an
> > effort to help an organization.  Had I known this change was coming, I
> > probably would have chosen a different solution.  Because of the
> > "vendor lock-in" of App Engine, the end result of all this may be
> > simply turning the app off and letting the organization do without.
> > (or find someone else to help them out.)  Better that than hit daily
> > free limits or find money out of someone's pocket.
> >
> > Look $1000/year is not a big deal for world-class hosting.  I get it.
> > I also understand that the free quotas are only there to get people
> > "hooked" such as it were.  I guess I wish had listened to those who
> > said, "Don't do App Engine.  They'll lock you in and change the deal.
> > It's not portable enough."
> >
> > Shame on me, I guess.
> >
> > And before people chime in with all the, "You could always move it
> > to...", or "If you had just written it this way... " or "It's a
> > business, of course they're trying to get you to go over the limits.."
> > please don't.
> >
> > This is just a note to let the people at Google know there is a very
> > real cost to changing the deal on people.
> >
>

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



[google-appengine] Re: Disappointed with free quota changes (probably not surprising)

2009-02-26 Thread Bennomatic

I could make a pretty good guess as to why it happened.  Google's
major income is from advertising, and while they're not going broke
any time soon, the amount of money coming in from their advertising
has dropped significantly, and so things they could have done as loss
leaders to get more advertising dollars now are weighing more on the
budget, so they needed to lower the payment bar on this service.

I'm sure they set the initial quotas with best intentions, but
crunching some numbers, found that it was not going to be profitable.
However, as with Gmail service, where the disk space available just
keeps growing and growing, I'd be willing to bet that as AppEngine
matures, we might see some new features and/or changes in quotas to
make it even more appealing than it was in the pre-quota-change days.

That having been said, there may be other reasons for the change.
when they set the initial quotas, they did it based on a light-
processing app getting, IIRC, 5 million hits per month.  That number
hasn't changed.  It could very well be that when they set the quotas,
they were thinking of the 5 million hits per month and it turns out
that with proper accounting in place, what they were offering was
enough for 50 or 500 million.

I understand your frustration.  I do.  And they certainly could have
handled this better so that it wouldn't feel like a bait-and-switch.
But at the end of the day, the amount of free service they are
offering is pretty substantial and for every case like yours I'd bet
there are hundreds of people who are going to be able to start a
business and get it profitable before they have to pay a dime.

If this is for a non-profit organization, it still isn't the end of
the world.  I'm sure that the organization has grant writers who could
get a $1,000/year grant to pay for the hosting without a problem, if
it's going to help them do their good works.  Good luck; I hope that
the optimizations aren't too difficult, and that you can find some way
to stay under those quotas.  Keep the community posted!

On Feb 24, 6:12 pm, "B.J."  wrote:
> I don't know that I have ever whined at an organization like Google
> for trying to make money.
>
> That's changing with this message.
>
> By my calculations, it could cost me $1000 over the next year to host
> my app that I had anticipated being hosted under the quotas.  It may
> cost me nothing right now our usage is just under the daily CPU
> limits.  If the traffic doesn't grow, no problem  But whose goal is it
> for an app not to get more usage?
>
> My only real gripe is that App Engine caused me to invest a lot of
> effort in shoe-horning my app into the "Google Way".  I did that with
> the understanding that the trade-off was a certain amount of free
> hosting.  Was that a promise?  Of course not.  Is Google under any
> obligation to meet my expectation?  No.
>
> However, as I attempt to further optimize the application in an effort
> to not exceed limits, the future of the application is now in
> question.  This is not a profit deal.  I gave away my time in an
> effort to help an organization.  Had I known this change was coming, I
> probably would have chosen a different solution.  Because of the
> "vendor lock-in" of App Engine, the end result of all this may be
> simply turning the app off and letting the organization do without.
> (or find someone else to help them out.)  Better that than hit daily
> free limits or find money out of someone's pocket.
>
> Look $1000/year is not a big deal for world-class hosting.  I get it.
> I also understand that the free quotas are only there to get people
> "hooked" such as it were.  I guess I wish had listened to those who
> said, "Don't do App Engine.  They'll lock you in and change the deal.
> It's not portable enough."
>
> Shame on me, I guess.
>
> And before people chime in with all the, "You could always move it
> to...", or "If you had just written it this way... " or "It's a
> business, of course they're trying to get you to go over the limits.."
> please don't.
>
> This is just a note to let the people at Google know there is a very
> real cost to changing the deal on people.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Need more apps for Web App Wednesday

2009-02-26 Thread Michael R. Bernstein

On Feb 26, 8:56 am, Richard Sage  wrote:
> How about another app that produces charts/graphs of sh*tty-ness? (google
> chart api?)

Sure, I'd like that. Feel free to either fork the application (within
the terms of the license) or send me a patch.

A couple of the other apps (license-info and lang-info) are
accumulating historical data (for eventual trend charting), but not
CurseCode.

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



[google-appengine] Re: how to activate appspot.com Account for google app

2009-02-26 Thread Barry Hunter

Did you goto

http://appengine.google.com/a/{yourdomain.com}/


On 26/02/2009, Flank  wrote:
>
>  i wanna use .appspot.com  as the domain for my google
>  app,when i try  to sign in to my account at appspot.com ,the site
>  tells me that:
>
>  Account Verification Needed
>  The account you attempted to sign in to is not yet activated. The
>  associated email address needs verification. In order to verify that
>  the email address associated with your account is correct, we have
>  sent an email message to that address. To activate your appspot.com
>  account, please access your email and visit the verification URL
>  provided.
>
>  To have the verification email resent to
>  @appspot.com , click here .
>
>
>  The problem is how i can access mail server of appspot.com to get my
>  Verification in @appspot.com?
>
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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



[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy

So what are the advantages of moving to App Engine?

By the way, my other hosting provider says that it uses CGI.  Is that
the same thing as WSGI?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Disappointed with free quota changes (probably not surprising)

2009-02-26 Thread nickmilon

Nice site ;) - Hope you make out something from it

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



[google-appengine] Re: Need more apps for Web App Wednesday

2009-02-26 Thread Richard Sage
How about another app that produces charts/graphs of sh*tty-ness? (google
chart api?)



2009/2/26 Michael R. Bernstein 

>
> Hello GAE TEam members!
>
> For several weeks now I've been creating and launching a new web
> application every Wednesday [1], and I've released the code for each
> of them under the AGPL. Last night I released the seventh, called
> CurseCode [2], which means I now have three slots left.
>
> I'd like to continue beyond ten weeks, but I'll need more app slots in
> order to do it. So far as I can tell [3] you folks on the GAE team
> like what I've been doing, so hopefully you can help out.
>
> Thanks in advance,
>
> - Michael R. Bernstein
>
> [1] http://www.webappwednesday.com
> [2] http://cursecode.appspot.com
> [3]
> http://googleappengine.blogspot.com/2009/02/web-app-wednesday-mashup-backup-and.html
> >
>

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



[google-appengine] Re: Datastore - Data Viewer

2009-02-26 Thread Cesium

I've got all BlobProperties. I'm guessing that explains it.
Cesium

On Feb 23, 7:47 pm, Doug  wrote:
> Thanks Marzia!
>
> Other then the key the other data is in TextProperties.
>
> Doug
>
> On Feb 23, 11:21 am, Marzia Niccolai  wrote:
>
>
>
> > Hi,
>
> > No configuration is needed, it should just work.  The one caveat is that
> > entity types which are not queryable are not viewable in the dataviewer.
> > For instance, if your entities are only TextProperties (which you can't
> > query upon), you will not be able to see these entities in the dataviewer.
>
> > -Marzia
>
> > On Sat, Feb 21, 2009 at 9:00 AM,Cesium wrote:
>
> > > Same here. My app seems to be functioning properly but dataviewer
> > > says:
>
> > > No Data Yet.
> > > You'll need to insert data programmatically into the Datastore before
> > > you can browse it here.
> > >Cesium
>
> > > On Feb 21, 8:25 am, Doug  wrote:
> > > > Hello All,
>
> > > > Does the Data Viewer need any configuration before it can be used?
>
> > > > I have an application that is able to put and get data from the data
> > > > store and when using the dev server is viable in the development
> > > > console, but when deployed the application still works, but when I
> > > > click on the Data Viewer in in the production console I get the
> > > > message "No Data Yet. You'll need to insert data programmatically into
> > > > the Datastore before you can browse it here."
>
> > > > Thanks,
> > > > Doug- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Need more apps for Web App Wednesday

2009-02-26 Thread Michael R. Bernstein

Hello GAE TEam members!

For several weeks now I've been creating and launching a new web
application every Wednesday [1], and I've released the code for each
of them under the AGPL. Last night I released the seventh, called
CurseCode [2], which means I now have three slots left.

I'd like to continue beyond ten weeks, but I'll need more app slots in
order to do it. So far as I can tell [3] you folks on the GAE team
like what I've been doing, so hopefully you can help out.

Thanks in advance,

- Michael R. Bernstein

[1] http://www.webappwednesday.com
[2] http://cursecode.appspot.com
[3] 
http://googleappengine.blogspot.com/2009/02/web-app-wednesday-mashup-backup-and.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] how to activate appspot.com Account for google app

2009-02-26 Thread Flank

i wanna use .appspot.com  as the domain for my google
app,when i try  to sign in to my account at appspot.com ,the site
tells me that:

Account Verification Needed
The account you attempted to sign in to is not yet activated. The
associated email address needs verification. In order to verify that
the email address associated with your account is correct, we have
sent an email message to that address. To activate your appspot.com
account, please access your email and visit the verification URL
provided.

To have the verification email resent to
@appspot.com , click here .


The problem is how i can access mail server of appspot.com to get my
Verification in @appspot.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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How about DOS attack?

2009-02-26 Thread hoben

Star this issue: http://code.google.com/p/googleappengine/issues/detail?id=644

On Feb 25, 7:48 pm, coolmenu  wrote:
> If someone useDOSattack my app, how about i can do? could i have to
> pay lots of money for billing?

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



[google-appengine] Does any company use Google app engine to built website for themself?

2009-02-26 Thread DiveIntoGAE

I found that many programers have written some interesting small
applications using Google App enigne, but i wonder how many company
have choosen Google App engine to built there websites?Are there a lot?

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



[google-appengine] Re: My new Webapp - India Hot News - News Aggregation Service

2009-02-26 Thread David

Quite a few links get 404 errors.
For example, this link;
http://newsonair.nic.in/noa2/news.asp?cat=Business&id=BN3199

On Feb 24, 3:51 am, vinodxx  wrote:
> Let me try to improve loading time by reducing the initial
> computation.
>
> On Feb 23, 3:53 pm, KBala  wrote:
>
>
>
> > yeah it takes time, i am in 1mbs line, its bti slow than my other
> > sites, we may not configure properly, not sure
>
> > On Feb 23, 3:48 pm, vinodxx  wrote:
>
> > > Hello friends,
>
> > > What about the loading time you are experiencing.
> > > When I have tested in my 256kbps connection it takes about 5 secs to
> > > load.
>
> > > Regards,
> > > Vinod
>
> > > On Feb 23, 9:15 am, vinodxx  wrote:
>
> > > > Hello friends,
>
> > > > I have made a india centric news aggregation service here.
>
> > > >http://india-news.appspot.com/
>
> > > > It was made in last month.
> > > > At that time it was not working properly because of urlfetch errors.
> > > > Thanks appengine team for rectifying this error.
> > > > Now the application is working wonderfully.
>
> > > > Please give me a feedback on this application.
>
> > > > Regards,
> > > > Vinod- Hide quoted text -
>
> - Show quoted text -

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



[google-appengine] Odd problem with urlfetch from picasa servers

2009-02-26 Thread G. Nyman

Hello everybody,

I have been banging my head against this problem for a while now and I
can't seem to understand why it does what it does.

I am trying to import pictures from Picasa using the code appended at
the end of this post. It works fine in the dev environment but for
some reason picasa returns 404 when i try to run it online.

The devserver-logs say:
INFO 2009-02-26 10:24:35,093 svgae.py] Got the following url:
http://lh6.ggpht.com/_mUcXljy1w9g/SaQ-uXbkY4I/ACE/DJtdqCz6u50/s1024/IMG_6776.jpg,
data was truncated? 0
INFO 2009-02-26 10:24:35,093 svgae.py] Big thumb got status 200
and lenght: 99720
INFO 2009-02-26 10:24:35,108 dev_appserver.py] "GET /
no_go_with_picasa HTTP/1.1" 200 -

The real thing says:
02-26 02:25AM 24.551 /no_go_with_picasa 200 927ms 951ms-cpu 0kb
130.232.90.98 - - [26/Feb/2009:02:25:25 -0800] "GET /no_go_with_picasa
HTTP/1.1" 200 104 - -
I 02-26 02:25AM 25.473
Got the following url: 
http://lh6.ggpht.com/_mUcXljy1w9g/SaQ-uXbkY4I/ACE/DJtdqCz6u50/s1024/IMG_6776.jpg,
data was truncated? 0
I 02-26 02:25AM 25.474
Big thumb got status 404 and lenght: 1421

This might be a picasa problem but I tought I'll try here first. The
url to the photo works in both cases so I don't understand the 404.
The most interesting thing is that urlfetch on photo.media.thumbnail
[0].url works fine.


Thankfull for all assistance

/G. Nyman

Code to replicate the problem:
---
class PicasaProblem(webapp.RequestHandler):
def get(self):
gd_client = gdata.photos.service.PhotosService()
gdata.alt.appengine.run_on_appengine(gd_client)
username = 'tehviu'
albumid = 'SigmaTest'
photos = gd_client.GetFeed(
'/data/feed/api/user/%s/album/%s?
kind=photo&thumbsize=64,1024&imgmax=d' % (
username, albumid))
for photo in photos.entry:
img_thumb_big = None
try:
img_thumb_big = 
urlfetch.fetch(photo.media.thumbnail[1].url)
except Exception, e:
logging.exception(e)
error = 'Image importing error'

logging.info("Got the following url: " + 
photo.media.thumbnail
[1].url + ", data was truncated? " + str
(img_thumb_big.content_was_truncated))
logging.info("Big thumb got status "+ str
(img_thumb_big.status_code) + " and lenght: " + img_thumb_big.headers
['content-length'])
break


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



[google-appengine] Ajax: IE & chrome work, but firefox sucks

2009-02-26 Thread panschen

Dear All,

 I use ajax to fetch data, ie & chrome work well, but in firefox,
the dev_appserver prompt just be filled with
continuous http request( response code 200), but nothing in firefox.
could anybody tell me the reason?
 Thanks a lot!

 here is in-html code:
function init() {
var ops = {
method: "POST",
params: "uid=agdzaGFyZWt1cg0LEgdTS19Vc2VyGAEM"
}
var loader = new lib.Loader( "/ajax/test_Ajax", onload, ops );
loader.load();
}
function onload() {
document.getElementById( "holder" ).innerHTML =
this.request.responseText;
}

 here is my ajax lib, problem maybe in init() and load():

var lib = {}
function $( id ) {
return document.getElementById( id );
}
var Class = {
create: function() {
return function() {
this.init.apply( this, arguments );
}
}
}
Object.prototype.expand = function( source ) {
for( var property in source ) {
this[ property ] = source[ property ];
}
return this;
}
//--
lib.Loader = Class.create();
lib.Loader.prototype = {
init: function( url, onload, options ) {
if( arguments.length < 2 ) {
alert( "need url & onLoad() at least" );
return;
}
if( window.XMLHttpRequest ) {
this.request = new XMLHttpRequest();
} else if( window.ActiveXObject ) {
var vsn = [ "MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0",
"MSXML2.XMLHTTP.3.0", "MSXML2.XmlHttp", 
"Microsoft.XmlHttp" ];
for( var i = 0; i < vsn.length; i++ ) {
try{
this.request = new ActiveXObject( vsn[ 
i ] );
break;
} catch( e ) {}
}
}
if( !this.request ) {
alert( "no XMLHTTP implementation" );
return;
}
this.options = new Object();
this.options.expand( this.defaults );
this.options.expand( options );
window.defaultStatus = this.options.onLoadStatus;
this.$type = "Loader";
this.url = url;
this.onload = onload;
},
defaults: {
onerror:null,
method: "GET",
params: null,
contentType:"application/x-www-form-urlencoded",
onLoadStatus:   "start...",
onFinishStatus: "done",
isAsync:true,
user:   null,
password:   null
},
defaultError: function() {
alert( "" );
},
load: function() {
if( this.request ) {
var op = this.options;
try {
var loader = this;
this.request.onreadystatechange = function() {
loader.onReadyState.call( loader );
}
this.request.open( op.method, this.url, 
op.isAsync, op.user,
op.password );
this.request.setRequestHeader( "Content-Type", 
op.contentType );
this.request.send( op.params );
} catch( error ) {
$call( this.options.onerror );
}
}
},
onReadyState: function() {
if( this.request.readyState == 4 ) {
if( ( this.request.status >= 200 &&
this.request.status <= 300 ) || 
this.request.status == 0 ) {
window.defaultStatus = 
this.options.onFinishStatus;
this.onload.call( this );
}
}
}
}

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



[google-appengine] Counting real storage roundtrips

2009-02-26 Thread Alex Popescu

Hi all,

I've spent a lot of time lately profiling my app. Basically, I've been
looking for spots where optimizations can be done so that I better
understand its state and figure out how soon I might need to look at
'Billing'

The thing I've noticed is that even if pluging in cProfile is a very
easy job, figuring out what's going on is basically much more complex
than I've imagined, due to the fact that there is no easy way to
figure out the code execution path and due to the differences in the
SDK sourcecode vs runtime.

Anyways, there is one thing that I've learned: datastorage hits, even
for reads, are not as cheap as advertised. So, now I'm trying to
figure out what are the scenarios when a datastorage hit is required
for reads.

Here is my initial list:

1. Model.get(): 1 hit (even if multiple keys are provided)
2. db.get(): 1 hit (even if multiple keys are provided)
3. model.reference_property: 1 hit
4. Query.count(): 1 hit

Are there any other scenarios that I need to account for?

a. What happens for a Query.fetch()? I assume that is 1 hit too. I am
wondering if iterating over the results will result in more
roundtrips?
b. Any other scenarios


Many thanks in advance,

./alex
--
.w( the_mindstorm )p.
  Alexandru Popescu




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



[google-appengine] Re: Disappointed with free quota changes (probably not surprising)

2009-02-26 Thread dalenewman

Here's my super freaky logic; one day, I said to myself:

"Gmail is free, and it is AWESOME."

There was quiet in my mind for several seconds...

Then I surmised:

"Maybe Google App Engine will do for web hosting what Gmail did for
email... it will be AWESOME!"

I thought to myself...

"I must be a genius... I will make a website right now to capitalize
on my mental momentum!"

Then I made one.  It's www.bookdope.com , I'd appreciate it if you go
to it.  That would be nice.  I would enjoy seeing your visit on Google
Analytics (which is also like totally free dude).

Unlike this guy's website, theoretically my website has a way to make
money.  It has sweet AdSense on the left, and I'm an affiliate with
Amazon, Barnes and Noble, Walmart, Better World Books, OverStock, and
Buy.com.  Well, actually I do Better World Books for free because I
love them so much.

Sure.  I haven't made a dime.  I'm still like $40 in the hole from
buying this sweet "bookdope" domain name.  Actually, finding it
available was all the motivation I needed -- it just rolls off your
tongue.  It's dope beyond measure.  When Network Solutions said
"BOOKDOPE.COM is available," I knew I was destined to make a book
site, even if there's like a million of them already out there.

So what I'm getting at (even thought it's probably difficult to tell)
is that you have to be able to monetize your application or you'll end
up having to take it down (unless you're just feeling very generous).
I've got a year to make back my $40.  I don't know if I'm going to
make it, but learning App Engine has been super fun for me, so I'll
chalk it up as a pretty good deal.

Okay.  That's all from me.  Please don't give me horrible ratings for
this post.  I know that some people don't find my humor funny at all.

Thanks,

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



[google-appengine] Re: Disappointed with free quota changes (probably not surprising)

2009-02-26 Thread Portos

b.j. Actually yours is exactly my point of view and I think that it's
the point of many people.

On Feb 26, 5:34 am, "B.J."  wrote:
> Agreed.  As I said, "Shame on me."
>
> On Feb 25, 10:27 pm, Josh Cronemeyer 
> wrote:
>
> > I'm not saying you shouldn't be complainin, because lots of us were
> > surprised by the new "official" quota numbers and the new accounting, but I
> > will say that you certainly undertook a big risk by investing in a
> > technology as new and raw as app engine.  Given the limitations and concerns
> > in your email I wouldn't have recommended you to set sail with the first
> > group of settlers to the far shores of google's nacent cloud computing
> > offering.  Maybe you should have held off to see if we all got swallowed up
> > by sea monsters.  Good luck!
>
> > On Tue, Feb 24, 2009 at 8:12 PM, B.J.  wrote:
>
> > > I don't know that I have ever whined at an organization like Google
> > > for trying to make money.
>
> > > That's changing with this message.
>
> > > By my calculations, it could cost me $1000 over the next year to host
> > > my app that I had anticipated being hosted under the quotas.  It may
> > > cost me nothing right now our usage is just under the daily CPU
> > > limits.  If the traffic doesn't grow, no problem  But whose goal is it
> > > for an app not to get more usage?
>
> > > My only real gripe is that App Engine caused me to invest a lot of
> > > effort in shoe-horning my app into the "Google Way".  I did that with
> > > the understanding that the trade-off was a certain amount of free
> > > hosting.  Was that a promise?  Of course not.  Is Google under any
> > > obligation to meet my expectation?  No.
>
> > > However, as I attempt to further optimize the application in an effort
> > > to not exceed limits, the future of the application is now in
> > > question.  This is not a profit deal.  I gave away my time in an
> > > effort to help an organization.  Had I known this change was coming, I
> > > probably would have chosen a different solution.  Because of the
> > > "vendor lock-in" of App Engine, the end result of all this may be
> > > simply turning the app off and letting the organization do without.
> > > (or find someone else to help them out.)  Better that than hit daily
> > > free limits or find money out of someone's pocket.
>
> > > Look $1000/year is not a big deal for world-class hosting.  I get it.
> > > I also understand that the free quotas are only there to get people
> > > "hooked" such as it were.  I guess I wish had listened to those who
> > > said, "Don't do App Engine.  They'll lock you in and change the deal.
> > > It's not portable enough."
>
> > > Shame on me, I guess.
>
> > > And before people chime in with all the, "You could always move it
> > > to...", or "If you had just written it this way... " or "It's a
> > > business, of course they're trying to get you to go over the limits.."
> > > please don't.
>
> > > This is just a note to let the people at Google know there is a very
> > > real cost to changing the deal on people.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Email Question

2009-02-26 Thread MajorProgamming

Now that Billing is available, I have some questions about Emails:

The price is .0001/message. Does that mean I can really send an
unlimited number of messages (provided I pay)?

What are the limits of email per request?

Is it a good idea to use this for SMS [alerts], where I send out a
mass email to many ppl via [user's numb...@[carrier's address].com  ?


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



[google-appengine] Billing Question

2009-02-26 Thread MajorProgamming

Something I didn't understand well about budgets: Can we set the
amount we're willing to pay per resource. For example, suppose I set a
budget of $50. Can I tell GAE to only use that money for let's say
Bandwidth and Email [as opposed to all resources]?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Import error timegm in PyDev Run Configuration

2009-02-26 Thread Greg

I've got an issue when I try to run the dev server script through
PyDev (eclipse plugin) where at runtime I get an error stating the
script couldn't import timegm.

This is on Leopard and I've followed the directions provided at this
helpful blog post:

http://daily.profeth.de/2008/04/google-app-engine-eclipse-pydev.html

Has anyone experienced this issue?  Is there a Python library I need
to upgrade?  I'm using the Python 2.5 version that comes pre-installed
with Leopard.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Excessively variable response times, regardless of serving status

2009-02-26 Thread Nick Winter

I wouldn't worry about 100-300ms requests being sidelined until and
unless I saw it happening. I realize I also may have been unclear
before: I was measuring response times, not CPU time, if that helps.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Excessively variable response times, regardless of serving status

2009-02-26 Thread bFlood

thanks for info Nick, I realize I'm probably looking too deeply into
your explanation above. I thought you had said it was not instance
startup cost (which had me concerned), although I know it can be
difficult to debug/profile what is actually happening.

of more concern to me is marzia's comment that 100-300ms is now
considered *intensive*. this is not how it was portrayed in the past
so it seems to me that while they added the ability to have longer
running requests, they've also reduced what you can accomplish for the
average request. I have yet to see these governors kick in but I know
that a lot of my average requests fall into the 100-300ms range so I
wonder how it will affect performance when a large amount of
concurrent load is added. maybe it wont, your comment about piping
everything through a single handler (AMF gateway) may, as you said, be
part of the problem. still, I'll go back to the log warnings from the
past 6 months, they just did not appear for requests under 300ms. and
now I'm not sure if I'll be penalized for them

btw, I have no problem with having to pay more for this, I just dont
know if this portion of the CPU pricing is extensible or not...

cheers
brian


On Feb 25, 9:47 pm, Nick Winter  wrote:
> Thanks for following through on this, Marzia! That makes a lot more
> sense. I really appreciate the diagnosis; you rock!
>
> bFlood, I think the only reason that handler is getting mauled is
> because of the 1200ms+ startup costs for initializing a new instance.
> Because it's the same handler, the startup costs are causing it to
> look like a dog and get collared, delaying also the 30-200ms type
> requests.
>
> Also note that there are lots of what are "different" requests to me,
> in that they do much different things, but they share a common handler
> and URL (in this case, a PyAMF gateway on /gateway). So that's why
> many different parts of the site seemed slow together.
>
> Now I just have to find a way to hack down that PyAMF startup time.
> Ugh.
>
> On Feb 23, 2:54 pm, Marzia Niccolai  wrote:
>
> > Hi,
>
> > Upon some further investigation, it seems that this is the result of the new
> > handling of CPU intensive requests, more information about which can be
> > found here:http://code.google.com/appengine/docs/quotas.html#Request_Limits
>
> > Specifically "Applications that are heavily cpu-bound, on the other hand,
> > may incur some additional latency in long-running requests in order to make
> > room for other apps sharing the same servers. "
>
> > Essentially, if we observe that you have some heavily cpu-bound requests,
> > your handler may experience additional latency. This may not always happen,
> > and for the higher cpu request handlers, there is no way to know exactly
> > when it may happen.
>
> > -Marzia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is Google app engine supports Google gears?

2009-02-26 Thread Jonk

On 26 helmi, 13:00, sunita khilare  wrote:

> Hi Barry.
> Could u please guide me regarding this..I am some what confused


Howdy,

you can start here:

http://code.google.com/apis/gears/


jK


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



[google-appengine] Re: Is Google app engine supports Google gears?

2009-02-26 Thread sunita khilare

Hi Barry.
Could u please guide me regarding this..I am some what confused


Regards,
Suni...



On Feb 26, 3:16 pm, Barry Hunter  wrote:
> Gearsis a client side application, and doesnt really care what type
> of server it interacts with (as long as it speaks http ;)
>
> so yes it can.
>
> (If you search the group you may even find mention of applications
> already usinggears)
>
> On 26/02/2009, sunita khilare  wrote:
>
>
>
> >  Could you please  tell me can we create web application  which
> >  supports Googlegearsand we can deploy that application on google app
> >  engine?
>
> --
> Barry
>
> -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Still "This application ID or version is already in use" Error

2009-02-26 Thread Neves

Has any body had success creating a new app?
It has past almost a month with the same problem no matter what
browser I use.
http://code.google.com/p/googleappengine/issues/detail?id=1038
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is Google app engine supports Google gears?

2009-02-26 Thread sunita khilare

Thank u so much.Barry

Regards,
Sunita


On Feb 26, 3:16 pm, Barry Hunter  wrote:
> Gearsis a client side application, and doesnt really care what type
> of server it interacts with (as long as it speaks http ;)
>
> so yes it can.
>
> (If you search the group you may even find mention of applications
> already usinggears)
>
> On 26/02/2009, sunita khilare  wrote:
>
>
>
> >  Could you please  tell me can we create web application  which
> >  supports Googlegearsand we can deploy that application on google app
> >  engine?
>
> --
> Barry
>
> -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is Google app engine supports Google gears?

2009-02-26 Thread Barry Hunter

Gears is a client side application, and doesnt really care what type
of server it interacts with (as long as it speaks http ;)

so yes it can.

(If you search the group you may even find mention of applications
already using gears)

On 26/02/2009, sunita khilare  wrote:
>
>  Could you please  tell me can we create web application  which
>  supports Google gears and we can deploy that application on google app
>  engine?
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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



[google-appengine] Is Google app engine supports Google gears?

2009-02-26 Thread sunita khilare

Could you please  tell me can we create web application  which
supports Google gears and we can deploy that application on google 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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How about DOS attack?

2009-02-26 Thread Barry Hunter

Google have stated that they will refund billing directly resulting
from a DDOS attact - but have only seen that said in the group - cant
see it in the doucmentation.

On 26/02/2009, coolmenu  wrote:
>
>  If someone use DOS attack my app, how about i can do? could i have to
>  pay lots of money for billing?
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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



[google-appengine] Re: How about DOS attack?

2009-02-26 Thread Andrew Badera
It's not a denial of service -- ideally the GAE cloud should scale up,
regardless of request volume. It IS, however, an economic denial of
sustainability, or EDoS. Different issue, and one GAE has yet to address.



On Wed, Feb 25, 2009 at 7:48 PM, coolmenu  wrote:

>
> If someone use DOS attack my app, how about i can do? could i have to
> pay lots of money for billing?
>
> >
>

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



[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Jarek Zgoda

They say so (in normal CGI you do not have cached imports), but I
found one of my applications performing much worse than in normal WSGI
environment (Apache + mod_wsgi in daemon mode). I suspect the storage,
as my app is rather write-heavy - profiling info did not reveal any
special suspects.

On 26 Lut, 06:38, Wiiboy  wrote:
> Huh.  You sound like my Google-hating dad, saying, 'I drink the Google
> kool-aid'.
> But I'm not using my own servers.  I'm hosting with another company
> (called Lunarpages).  There isn't much code to convert, and, for
> safety, I'd probably try to keep up a standard-python copy, just in
> case.
> One big question:  would App Engine be any faster than standard CGI
> like my other hosting provider provides (I thought I read thats all
> App Engine uses)?  It seems the Python stuff with my other provider is
> a bit slow...?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---