[google-appengine] Datastore Remote-Access Interactive Python Console

2009-03-04 Thread Ed

Hi all,
Following Johnson's article "Accessing the datastore remotely with
remote_api", I tried to run appengine_console.py to create the
interactive console and connect to the datastore, but I am getting the
message "ImportError: No module named yaml" (see below).

C:\VPE_GAE>python appengine_console.py ecoknowmics
Traceback (most recent call last):
  File "appengine_console.py", line 8, in 
from google.appengine.ext import db
  File "C:\VPE_GAE\google\appengine\ext\db\__init__.py", line 88, in

from google.appengine.api import datastore
  File "C:\VPE_GAE\google\appengine\api\datastore.py", line 47, in

from google.appengine.datastore import datastore_index
  File "C:\VPE_GAE\google\appengine\datastore\datastore_index.py",
line 53, in <
module>
from google.appengine.api import validation
  File "C:\VPE_GAE\google\appengine\api\validation.py", line 44, in

import yaml
ImportError: No module named yaml

C:\VPE_GAE>

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



[google-appengine] Re: Huge number of datastore timeouts.

2009-03-04 Thread Alex Popescu

I've mentioned this thread in a thread related to the same problem
that seems to have got more traction and more feedback:

Datastore operations slow Options:
http://groups.google.com/group/google-appengine/browse_thread/thread/e99f4e6eee9c5a5c

If you have more specific information (from logs, profiling sessions,
etc), I think it would be great to post them to that thread so we all
be able to track this problem.

cheers,

./alex
--~--~-~--~~~---~--~~
You 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: Latency Issue - More Feedback!

2009-03-04 Thread Alex Popescu

I've mentioned this thread in a thread related to the same problem
that seems to have got more traction and more feedback:

Datastore operations slow Options:
http://groups.google.com/group/google-appengine/browse_thread/thread/e99f4e6eee9c5a5c

If you have more specific information (from logs, profiling sessions,
etc), I think it would be great to post them to that thread so we all
be able to track this problem.

cheers,

./alex
--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread Alex Popescu

I have found more threads covering different aspects of the problem:

Latency Issue - More Feedback!:
http://groups.google.com/group/google-appengine/browse_thread/thread/e99f4e6eee9c5a5c#
Huge number of datastore timeouts.:
http://groups.google.com/group/google-appengine/browse_thread/thread/0611cefc1408977d

I've just received a Google AppEngine Team notification through email
that mentions some improvements. Unfortunately, it's extremely late
for me to test them right now, but I'll surely look into it after a
nap.

./alex
--~--~-~--~~~---~--~~
You 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: Guideline for performance tuning

2009-03-04 Thread Alex Popescu

On Mar 4, 4:42 pm, ltcstyle  wrote:
> Hi All,
>
> When we developing an app, or implementing an idea, it's very likely we
> focus on the features and functionalities first.
> However, at some point, the performance could become your concern unless you
> do not expect it run nicely.
>
> I am wondering how you guys do this performance tuning works and what's your
> pattern to improve the quality of your work.
> For example, Gql query tuning, template improvement, etc.
>
> If anyone can share their ideas or tips, I would be grateful.
>
> Thanks.

While working on my app I've started to put together a series of
lessons I've learnt and hope to publish it soon. But I have to firstly
complete the app :).

./alex
--~--~-~--~~~---~--~~
You 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] Intermittent upload problems this week

2009-03-04 Thread theillustratedlife

I've been having intermittent issues uploading this week.  I think
they are tied to my computer, but I upgraded to SDK 1.1.9 and they
haven't gone away.  I was once able to get around them by throwing
away the auth cookies in my user folder.  (It's possible that was a
different but similar error.  I don't recall).

I've never had issues before.  It's unbelievably frustrating to not be
able to deploy a new feature after I've been up all night building
it.  The traceback is below.


Also, since upgrading to 1.1.9 both runserver and update have been
very frustrating.  runserver won't work unless I delete the .
in .google_appengine's link; however, I can't update without putting
it back in.  If I forget to remove the ., usually I have to start the
whole server over.  I've opened an issue for this:
http://code.google.com/p/google-app-engine-django/issues/detail?id=112&can=5


update problem traceback:
ERROR:root:An unexpected error occurred. Aborting.Traceback (most
recent call last):
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1213, in DoUpload
missing_files = self.Begin()
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1009, in Begin
version=self.version, payload=self.config.ToYAML())
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 312, in Send
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 344, in _Authenticate
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 233, in _Authenticate
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 177, in _GetAuthToken
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 399, in _open
'_open', req)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 360, in
_call_chain
result = func(*args)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 1115, in
https_open
return self.do_open(httplib.HTTPSConnection, req)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 1082, in
do_open
raise URLError(err)URLError: Traceback (most recent call last):
File"manage.py", line 30, in 
execute_manager(settings)
File"myapp\__init__.py", line 340, inexecute_manager
File"myapp\__init__.py", line 295, inexecute
File"myapp\appengine_django\management\commands\update.py", line 51,
in run_from_argv
run_appcfg()
File"myapp\appengine_django\management\commands\update.py", line 40,
in run_appcfg
appcfg.main(new_args)
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1967, in main
result = AppCfgApp(argv).Run()
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1418, in Run
self.action(self)
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1879, in __call__
return method()
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1669, in Update
lambda path: open(os.path.join(basepath, path), "rb"))
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1213, in DoUpload
missing_files = self.Begin()
File"myapp\.google_appengine\google\appengine\tools\appcfg.py", line
1009, in Begin
version=self.version, payload=self.config.ToYAML())
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 312, in Send
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 344, in _Authenticate
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 233, in _Authenticate
File"myapp\google_appengine\google\appengine\tools\appengine_rpc.py",
line 177, in _GetAuthToken
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 399, in _open
'_open', req)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 360, in
_call_chain
result = func(*args)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 1115, in
https_open
return self.do_open(httplib.HTTPSConnection, req)
File"C:\Program Files\Python\r2.5\lib\urllib2.py", line 1082, in
do_open
raise URLError(err)urllib2.URLError: 

--~--~-~--~~~---~--~~
You 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: Delete causes very highloads

2009-03-04 Thread Alex Popescu

On Mar 4, 6:42 pm, Guy Rutenberg  wrote:
> Hi,
>
> I've an app that gets some high number of requests (around 9k per
> hour) to delete items. All it does for these requests is
>
> items = ModelName.all().fetch(1)
> db.delete(items)
>
> (Origninally I've tried to delete more than one item at the time).
> Hoever around 97% of the requests fail with Timeout. Is it a more
> efficient  way to delete items? Is this kind of failed requests
> normal? (The table holds around 2 million objects).
>
> Also, is there a way to drop an entire model at once?
>
> Thanks,
>
> Guy

Guy, I am not sure I understand your code. Basically, it says: delete
whatever ModelName the query returns. Is this what your app is
supposed to do?

If instead you are looking for deleting specific ModelNames then I've
found the following to perform better:

models = ModelName.get(key_sequence) (with the option
ModelName.get_by_id(id_sequence))

./alex
--~--~-~--~~~---~--~~
You 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: Downside of the Google App Engine relying on Google Apps - Horror Story

2009-03-04 Thread Eaden

Hi there,

On Mar 5, 7:51 pm, Brett Slatkin  wrote:
> I understand your frustration. In this case the issue was related to
> spam/abuse and a violation of the Google Apps Terms of Service, which
> is why there was a delay (as you can hopefully understand). You should
> have received some follow-up communication by now explaining the
> details of how to resolve this. Let me know if not.

Yes my account is now re-enabled. One of the domain aliases was
accused by a 3rd party of being used for phishing - it wasn't, but one
accusation was enough to get the whole account shut down.

Thanks Brett you've been helpful and I hope that my situation will
provide lessons for the Google App engine team and Google App team
about this as shutting off an account without warning or communication
isn't expected ( although within the TOS of google ), but say if
you're a paying Google App Engine customer ( and I could have been, it
wouldn't have made a difference ) the same thing would have happened.

Regards
Eaden


--~--~-~--~~~---~--~~
You 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: Downside of the Google App Engine relying on Google Apps - Horror Story

2009-03-04 Thread Brett Slatkin

Hi Eaden,

> More than 48 hours later, even after an email from Brett, my app is
> still down.
>
> I've done all I can do, emailed everyone I can think of and I don't
> even have a support ticket number to show for it.
>
> Relying on Google App Engine for business critical things at this
> stage is not a good idea in my opinion.
> Google App Engine charges now, but when you're paying there should be
> better support.

I understand your frustration. In this case the issue was related to
spam/abuse and a violation of the Google Apps Terms of Service, which
is why there was a delay (as you can hopefully understand). You should
have received some follow-up communication by now explaining the
details of how to resolve this. Let me know if not.

-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: Downside of the Google App Engine relying on Google Apps - Horror Story

2009-03-04 Thread Eaden

Just an update:

More than 48 hours later, even after an email from Brett, my app is
still down.

I've done all I can do, emailed everyone I can think of and I don't
even have a support ticket number to show for it.

Relying on Google App Engine for business critical things at this
stage is not a good idea in my opinion.
Google App Engine charges now, but when you're paying there should be
better support.

Regards
Eaden

On Mar 4, 11:52 am, Eaden  wrote:
> Hi there,
>
> In order to host an application on Google App Engine you need to add
> your domain to a Google Apps account. If anything goes wrong with your
> Google Apps account, your Google App Engine sites can be affected and
> you have no where to turn for support. Your apps are not accessible
> from your domain ( you can still reach them from app.appspot.com
> however ).
>
> For example, my Google Apps account broke. I can't even get to the
> login page and get an error saying there is no Google Apps set up for
> this domain name. However I had been using the account for a number of
> years. I cannot even upgrade to premium support as it is impossible to
> log in.
>
> Because Google Apps can only be hosted by google, even if you have
> backups you can not easily move your App to another server while the
> issue is sorted out. So far I have had about 15 hours downtime on my
> app.
>
> I'm not sure what I'd recommend but there needs to be better channels
> of support for Google Apps if it is to be part of Google App Engine.
>
> Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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 verify my Account by SMS again.

2009-03-04 Thread chen...@vv5i.org

Thank you very much ,Barry .


It's Ok now.

On Feb 19, 1:52 am, Barry Hunter  wrote:
> probably you need to goto
>
> http://appengine.google.com/a/vv5i.org/
>
> On 18/02/2009, chen...@vv5i.org  wrote:
>
>
>
> >  I start my project deploying the app days ago, I can use appcfg.py to
> >  deploy the app,but now can not manger the 
> > athttp://appengine.google.com/start
> >  , Its need Verify my Account by SMS again.
>
> >  I add the application into the Google Apps  of vv5i.org
>
> >  The application is vv5i-org and I created Use this mail
> >  chen...@vv5i.org
>
> --
> 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: Suggestion: worst case testing mode

2009-03-04 Thread Andy Freeman

Would a generalization of 
http://code.google.com/p/googleappengine/issues/detail?id=915
be useful?

On Mar 4, 5:17 am, Brandon Thomson  wrote:
> Due to the way App Engine is designed it is possible for an
> application to work fine when datastore/memcache performance is good
> but then fail miserably when datastore/memcache performance is bad
> (ie, the last 2 days).
>
> In my case I was mostly able to design workarounds for the bad
> performance so that my app still returns something from all requests
> (albeit in a degraded mode), but I wasn't aware which handlers were
> going to fail with timeout and 502 errors and whatnot until the bad
> performance happened.
>
> If we had a way to simulate worst case datastore/memcache performance
> for our apps we could design them to fail gracefully ahead of time and
> avert some of the pain of events like yesterday. If google would
> clearly define "maximum acceptable latencies" for all the relevant
> parameters (you don't have to call it a service level agreement, but
> it would be nice) and then allow us to test our applications at those
> latencies we could write more robust apps and still return something
> useful for our visitors in the event of unexpected performance
> degradation.
--~--~-~--~~~---~--~~
You 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] Filter against Reference Collection?

2009-03-04 Thread Devel63

Is it possible to filter against a named reference collection?  The
datastore doesn't complain, but I never get any results...

class Foo(search.SearchableModel):
  prop1 = TextProperty()

class Fee(db.Model):
  prop2 = db.IntegerProperty()
  prop3 = db.ReferenceProperty(Foo, collection_name='my_items')

my_fee = Fee.all().filter('prop2 =', 11).get()
foos = Foo.all().filter('my_items =', my_fee.key())

I have tried every variation I can think of: using keys as above,
using my_fee directly without the key call, putting a str() around the
key, etc.).  I think I saw it work once or twice, but now I'm not sure
if that was just an illusion, and I can't replicate it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] offline with google gears

2009-03-04 Thread Scott Mahr

I am trying to make my app go offline like "my-todo" does.  I worked
through the documentation on the gears website and followed all their
examples.  My first test while working on the development server
didn't work.  Before I spend a lot of time trying to figure out what I
did wrong, does anyone know if this should work while running in dev
mode on localhost?

Thanks,

Scott
--~--~-~--~~~---~--~~
You 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] EmptyConfigurationFile!

2009-03-04 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, I got it to work, so it's a bit
strange.
Can anyone help me with this problem please?


Thanks,

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] pytz and astimezone

2009-03-04 Thread andrew

I was able to convert the datetime timezone from the datastore to EST
by following the http://timezones.appspot.com/

for example:
event.date = event.date.replace(tzinfo=TZINFOS
['utc'])
event.date = event.date.astimezone(TZINFOS
['est'])

This works great, however I noticed that EST is hardcoded to UTC-5:

def utcoffset(self, dt): return datetime.timedelta(hours=-5)

So when spring rolls around and we are in daylight savings, I'm going
to have to update the code to UTC-4, or my time will be off by an
hour.

It seems that pytz would solve this problem but I couldn't figure out
how to import it into my application.  I tried

import pytz

but got "error : No module named pytz"

Any suggestions?  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: My Carrier is not listed at the SMS validation step

2009-03-04 Thread Alexander Kojevnikov

On Mar 5, 9:35 am, "marcus.vinicius.lima"  wrote:
> Hi all!
>
> I'm unable to get started using GAE, cause I'm not even able to get
> authenticated at the SMS step.
> I tried so many times to send an SMS to my mobile operator, but the
> message never is received, instead of the page display a successfull
> message.
>
> I'd like to know if is there some other option so I can get
> authenticated for the first time.
>
> Thanks,

Fill out the SMS issues form:
http://appengine.google.com/waitlist/sms_issues
--~--~-~--~~~---~--~~
You 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 Terms of Service :-(

2009-03-04 Thread tankh64

If this is indeed a violation of 4.4, it means that all separate
organisations has to be treated as one application
(even if they are accessed on their own domains);
this makes the application artificially complicated
to build and maintain.

I would really appreciate clarification from the App Engine
team on this.


On Mar 5, 4:47 am, DeletingApps  wrote:
> > I am currently developing my app to operate on 1 application instance
> > per company/organisation. These application instances can have
> > content/xml messages that flows in/out between them.
> > Is this considered to be in violation of the above terms ?
>
> I think this could be a violation of the New Terms :-(
--~--~-~--~~~---~--~~
You 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: cooperate with top Google Apps Engine developer

2009-03-04 Thread lianbo
Hi, Alex,

What app are you trying to develop?

-lb
On Wed, Mar 4, 2009 at 7:47 PM, AlexR  wrote:

>
> Hi Everyone,
>
> I am not a very good developer, therefore I am looking for some one
> who can join me to develop an apps.
>
> So anyone who enjoy working in team, why not send me an email
>
>
>
> >
>

--~--~-~--~~~---~--~~
You 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: Guideline for performance tuning

2009-03-04 Thread Tony Arkles - home

Profile profile profile!  Use the profiler, on the live app engine.



On Mar 4, 8:42 am, ltcstyle  wrote:
> Hi All,
>
> When we developing an app, or implementing an idea, it's very likely we
> focus on the features and functionalities first.
> However, at some point, the performance could become your concern unless you
> do not expect it run nicely.
>
> I am wondering how you guys do this performance tuning works and what's your
> pattern to improve the quality of your work.
> For example, Gql query tuning, template improvement, etc.
>
> If anyone can share their ideas or tips, I would be grateful.
>
> 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] orkut signed POST request

2009-03-04 Thread David Wilson



Hello,

When making a orkut signed POST request to an app engine server, the
code running on the local dev server will always fail validation.
Where  as the identical code running live on appspot will pass the
validation process.

Now i understand there are a lot of possibilities here, but does
anyone have some insight to why this is?

I’m using code identical to what’s presented here:

http://code.google.com/apis/opensocial/articles/appengine-0.8.html#signing

Local development is run though a reverse ssh tunnel to a public
address on port 8090.

Thanks
David

(im going to cross post this in the orkut dev forum)


--~--~-~--~~~---~--~~
You 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: Gettext and GAE/jijas2 integration

2009-03-04 Thread pedepy

just as a side note, loading a jinja2 environment can be quite
expensive. You'll wanna seperate this code (that you will no doubt
reuse extensively) into it's own method. A little memcache love also
wouldnt  hurt.

On Mar 4, 7:45 am, Jose  wrote:
> I'm new in python and app engine. I'm developing a simple project
> without django, just webapp. Instead use django template system I'm
> using jijas2.
>
> To enable jijas2 into my project I downloaded the last version and
> after unpack it, I copied jijas2 folder into my project. I added this
> imports:
>
> from jinja2 import Template
> from jinja2 import FileSystemLoader, Environment
>
> An in my request handler I use templates in this way:
>
>     template_dirs = os.path.join(os.path.dirname(__file__),
> 'templates')
>     env = Environment(loader=FileSystemLoader(template_dirs))
>     template = env.get_template("index.html")
>     rendered = template.render(template_values)
>     self.response.out.write(rendered)
>
> Everything works fine. Now, I'm trying to make use of i18n support in
> jijas2. But I have a lot of problems and I would apreciate your help.
>
> First of all I read jijas2 documentation and API, and the way to
> implement this feature is with this lines:
>
>     import gettext
>
> (..and in my request handler)
>
>     domain = "myproject"
>     dirname = os.path.dirname(__file__)
>     locales = "en_US"
>
>     translations = gettext.find(domain, dirname, locales)
>     env = Environment(loader=FileSystemLoader
> (template_dirs),extensions=['jinja2.ext.i18n'])
>     env.install_gettext_translations(translations)
>
> Second question:
>
> I have experiencie with PHP, so it not so hard understand gettext and
> po/mo files operation, so I think I have to upload my po files into
> ROOT/locale/LC_MESSAGES/en_US/myproject.po
>
> Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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 there a handler for logout?

2009-03-04 Thread pedepy

yes i was gonna say, keeping track of the original URL in a logout
operation is probably not important, as you most likely want to simply
redirect to home page. (this can also make the user more 'secure' that
his session has indeed been properly terminated if its important to
your app)..

here's my way, pretty similar:


class LogoutHandler(BaseHandler):
  def get(self ):
  self.redirect( users.create_logout_url( self.request.get
( 'uri', '/' ) ) )


On Mar 4, 1:45 pm, OliWeiD  wrote:
> Hi Paul,
>
> after multiple trials I found a way which is working:
> 1) as link I'm using now /logout
> 2) the following handler is answering to it (typical stuff in app.yaml
> and wsgi application)
> class LogoutHelper(webapp.RequestHandler):
>     def get(self):
>         usr = users.get_current_user()
>         if not usr:
>             self.redirect("/")
>             return
>         # HERE I'M DOING THE CLEANUP STUFF
>         url = users.create_logout_url("/")
>         self.redirect(url)
>
> Thanks for the hints!
> Kind Regards
> Oliver W-D
>
> On 4 Mrz., 15:31, Paul Roy  wrote:
>
> > yep well turns out this is exactly what im doing. but i dont see this  
> > as "generating a blank page". i have to try out the code i suggested  
> > yesterday.
>
> > and i did make it home, thx :)
>
> > Sent from my iPhone
>
> > On 09-03-04, at 01:28, OliWeiD   
> > wrote:
>
> > > Well, I've got the idea.
>
> > > But I put the logout-uri into the html sitting on the page.
> > > With your idea in mind, don't I need a blank page,
> > > doing the del session stuff and then logout, passing the correct
> > > logout uri
> > > as an argument to that blank page??
>
> > > Now I have to go to the train, hopefully you get, where you want to
> > > go.
>
> > > Oliver W.D.
>
> > > On 4 Mrz., 06:26, Paul Roy  wrote:
> > >> perhaps, instead of using the users' method directly, create a logout
> > >> handler where you perform the necessary operations before fowarding  
> > >> to
> > >> the logout uri.
>
> > >> the tricky part is keeping track of the original uri. the way i do  
> > >> it,
> > >> is to pass it as a request argument. you could maybe subclass the
> > >> request handler, with a logout method. such as:
>
> > >> def logout(self, uri=None):
> > >>     
> > >>     if uri is None: uri = self.request.uri #not sure this part  
> > >> works..
>
> > >>     
>
> > >>     self.redirect(user.logout(uri))
>
> > >> ..
>
> > >> im not 100% sure about this since im just typing this on my phone  
> > >> 50ft
> > >> underground in a speeding subway train with nothing to refer to, but
> > >> you should get the idea.
>
> > >> when i get home ill see what code i use exactly.. ;)
>
> > >> ps i actually just missed my stop! lol.. damn you google!! (shakes  
> > >> fist)
>
> > >> Sent from my iPhone
>
> > >> On 09-03-04, at 00:01, OliWeiD 
> > >> wrote:
>
> > >>> Hi everybody,
>
> > >>> due to security reasons and for efficiency some sort of logout  
> > >>> handler
> > >>> is needed.
> > >>> That means, when the user is clicking on the created logout link
> > >>> (users.create_logout_url)
> > >>> During that logout I want to delete a session cookie and delete the
> > >>> memcache entries for that user.
>
> > >>> Any idea?
> > >>> Kind Regards
> > >>> Oliver W-D.
--~--~-~--~~~---~--~~
You 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: Query with 'IN' and Associated Index Explosion

2009-03-04 Thread Devel63

This is very promising!  Are you saying that this reference collection
query should work (note the named collection)?

class Foo(db.Model):
  prop1 = db.IntegerProperty()

class Fee(db.Model):
  my_foo = db.ReferenceProperty(Foo, collection_name='my_collection')
  prop2 = db.IntegerProperty()

foos = Foo.all().filter('prop1 =', 32)
results = Fee.gql('WHERE prop2 = 18 AND collection_name IN :1', foos)

That would be awesome, and I'd just have to try a little harder to get
things to work.  Of course in my real example, I'm using db.Searchable
instead of Model, and using search, but I'd be happy just to get the
above to work.


On Mar 4, 12:46 pm, ryan  wrote:
> On Mar 4, 9:11 am, Devel63  wrote:
>
> > It is indeed a more complex query, and the IN values are keys.  At one
> > point, I had tried to make them key values in a named reference
> > collection, but while the data store never complained, it never
> > returned any results.
>
> understood. happily, for the purposes of this conversation, the type
> of the IN values actually doesn't matter. IN won't generate an index
> per list length regardless of the IN values' type.
>
> > Can you confirm that it is impossible to make an entity query that
> > filters by normal prop vals and by a list of keys in a collection?
> > e.g. Entity.gql('WHERE prop1 = :val1 AND named_collection
> > IN :key_list', val1=val, key_list=keys)
>
> no, that's definitely possible. fromhttp://shell.appspot.com/:
>
> >>> class Foo(db.Expando):
>   pass
> >>> Foo.gql('WHERE x = 0 AND y IN (1, 2)').fetch(3)
>
> [<__main__.Foo object at 0xf5ca9957dc3a9c30>, <__main__.Foo object at
> 0xf5ca9957dc3a9fb0>, <__main__.Foo object at 0xf5ca9957dc3a9cb0>]
>
> again, this is true regardless of the type of the filter values.
>
> > Separately, spurred on by your comments, I cleared the datastore and
> > started again.  Now, the index explosion is not occurring.  I guess
> > that some interim query experiment requested such indexes, and
> > stopping the datastore and deleting the indexes out of the index.yaml
> > file was not sufficient to clear them, so they kept reappearing in
> > index.yaml.
>
> hmm. the dev_appserver stores both the datastore and the query
> history, in separate files. i wonder if the query history file somehow
> didn't get deleted. (it defaults to /tmp/
> dev_appserver.datastore.history.) more in the docs:
>
> http://code.google.com/appengine/docs/python/tools/devserver.html#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] My Carrier is not listed at the SMS validation step

2009-03-04 Thread marcus.vinicius.lima

Hi all!

I'm unable to get started using GAE, cause I'm not even able to get
authenticated at the SMS step.
I tried so many times to send an SMS to my mobile operator, but the
message never is received, instead of the page display a successfull
message.

I'd like to know if is there some other option so I can get
authenticated for the first time.

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] New GAE App: Wordds.com - magazine articles optimized for your iPhone, Kindle & BlackBerry

2009-03-04 Thread esilver

Announcing wordds.com: Feature-length magazine articles optimized for
your iPhone, Kindle & BlackBerry

Wordds aggregates feature stories from more than a dozen magazine
sources. Stories are organized by word count, so you decide what to
read based on how much time you have to spend. Wordds links directly
to the printable versions of stories, so it's a single click to load
the full article. If you login with your Google account, you may save
articles for later reading. Wordds is optimized for all major mobile
smartphone platforms and doesn't require any app download or
installation.

If you ride the bus or subway, or have random downtime during the day,
Wordds is a great way to discover in-depth, original content matched
to the amount of time you have to read. Google News is for skimming
headlines, RSS readers are for short content, and blogs rarely offer
anything beyond commentary or re-posted breaking news. Wordds lets you
keep up on the magazines you always mean to read but never actually
carry.

Visit http://www.wordds.com on your iPhone, Android, Kindle,
BlackBerry, and laptop. And of course, Wordds.com is hosted on Google
App Engine.

Questions? Comments? Feedback? Please contact Eric Silverberg at
e...@wordds.com

Best,
-Eric Silverberg
Creator, Wordds.com
e...@wordds.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: Possible to send email from a different user?

2009-03-04 Thread Rafe

  If the user logs in to your application using their Google account,
they should be able to send email as themselves.  However, if your
application does not require login, you should be able to send using
an administrators email (so you can set one up for 'no-reply' and you
should be able to set reply_to on that email.

  Does this help answer your question?

  - Rafe

On Mar 4, 1:02 am, Noel  wrote:
> I'm trying to use Google App Engine as the server for an iPhone app.
> The user can post some data, and I'd like the server to send an email
> to another person on behalf of the user. For that, I need to be able
> to set the sender's email address, but right now I get
> InvalidSenderError.
>
> Is there some way around that? I don't mind if somewhere it shows that
> it came from my domain, but I'd like to make it feel as much as
> possible as if it came from the user (and it should be in the reply-to
> field too).
>
> 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: Latency Issue - More Feedback!

2009-03-04 Thread Brett Slatkin

Hi Artem,

On Wed, Mar 4, 2009 at 1:43 PM, Artem  wrote:
>
> Again, why does the status http://code.google.com/status/appengine
> show normal?

Over the course of the day the Status Site has shown "anomaly"
multiple times, but it has not yet exceeded the "disruption"
threshold. We will be posting more information about the issues soon
to show that we did indeed have a disruption of service during this
time period. We will also adjust our tolerances so this will show up
as a disruption automatically in the future. Thanks for your patience,

-Brett

> On Mar 4, 4:13 pm, Pete Koomen  wrote:
>> Hi Greg,
>>
>> We're listening, and we feel your pain.  The App Engine team has been
>> working very hard to resolve this and we'll post updates as soon as we
>> have them.  I'll try to address what I can right now:
>>
>> 1. The latency issues are related to the planned maintenance on Monday
>> night.  They were unexpected, and we are working on infrastructure
>> improvements to ensure this won't happens again.  If you'd like more
>> data on serving and API latency and error rate, you can look at our
>> own live monitoring data herehttp://code.google.com/status/appengine
>>
>> 2) We expect a fix to be in place by EOD to fix the issues you are
>> currently seeing. We will keep you updated if this is not the case.
>> When these issues are fixed, you should only see a small difference
>> (possibly 10-20%) in the performance of your application as compared
>> to earlier this week. However, one way or the other, we will return
>> our previous configuration by Monday 3/9.
>>
>> Thanks for your patience through this.
>>
>> Pete, App Engine Team
>>
>> On Mar 4, 12:18 pm, Greg  wrote:
>>
>> > Please can we have more information about the current latency issue.
>> > Pointing us 
>> > tohttp://groups.google.com/group/google-appengine-downtime-notify
>> > doesn't help when the last post there is two days old.
>>
>> > Specifically:
>> > 1. Cloudstatus.com shows very clearly that everything went to hell in
>> > handbasket after the "upgrade" earlier this week. Can Google confirm
>> > this is the cause of the latency?
>>
>> > 2. Is the scheduled maintenence next week likely to cure the problem
>> > (then please bring it forward) or make it worse (then please delay
>> > it)?
>>
>> > I'm sure the lack of information is because the engineers who know
>> > what is happening are so busy trying to resolve the issue that they
>> > can't post. Or maybe they are all smoking joints while watching Lost,
>> > snickering about all the poor muppets out there struggling to find
>> > ways of streamlining their apps to make them work. Without feedback we
>> > don't know...
>>
>> > This is severely denting our (paying) customers confidence in my app,
>> > and likewise our confidence in Appengine. We spent yesterday wringing
>> > the last ounce of performance out of our app, and if I don't hear any
>> > more, today (it's morning in New Zealand) will be spent investigating
>> > how big a deal it will be to migrate it to a dedicated mod_python/
>> > PostgreSQL system.
>>
>> > Other appengine developers - please star this message so we get a
>> > response from Google.
> >
>

--~--~-~--~~~---~--~~
You 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: Brazil and Hong Kong now supported for Billing

2009-03-04 Thread Thyako

Great!

However, Brazil still does not appear in the Google Checkout own
signup page. That is, only activating billing on GAE you can see
Brazil before accepting the Checkout terms. If you go to
checkout.google.com and try to signup, Brazil is not listed (just to
note it, so someone can fix it if it is accidental).

~Thiago

On Mar 2, 9:21 pm, Brett Slatkin  wrote:
> Hey there,
>
> At launch,Braziland Hong Kong were not in our list of supported
> countries for billing. I'm happy to announce that application
> administrators in these countries may now purchase additional
> resources for App Engine. Thanks for your patience!
>
> -Brett
>
> Google App Engine Team
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: Latency Issue - More Feedback!

2009-03-04 Thread GregF

Hi Pete -

Thanks a million. We now know when we can expect an improvement, and a
resolution. In our case I can now see that migration is going to be
more pain than hanging in there.

Can I strongly suggest you post the same text on google-appengine-
downtime-notify. And can you also pass the message that customers
would like at least 3-hourly updates during issues like this to
wherever it'll have most effect.

Cheers!
Greg.


--~--~-~--~~~---~--~~
You 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 Terms of Service :-(

2009-03-04 Thread DeletingApps

> I am currently developing my app to operate on 1 application instance
> per company/organisation. These application instances can have
> content/xml messages that flows in/out between them.
> Is this considered to be in violation of the above terms ?

I think this could be a violation of the New Terms :-(

--~--~-~--~~~---~--~~
You 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: I want more fields than in DB models?

2009-03-04 Thread li jinyu
2009/3/4 Doug 

>
>
> I am also pretty green with GAE, but I think that the db Model Event
> and the db model event are 2 different db models.
>
> If they are 2 different models this would be why you are always
> getting none when you read from it.  You would be able to see if you
> have 2 in the console.
>

OK, I'll check that. Thanks.

>
> BTW - What is "None"?  I do not see that as a db Model option in the
> Google doc.  It looks to me like you would want those to be strings.
>

In fact, I don't want to create columns for color and status, so I use None

>
> Doug
>
>
> On Mar 3, 10:32 pm, disorderdev  wrote:
> > Hi, I'm a newbie here, both python and app engine. a few questions:
> >  I store some fields in DB, but when show message on Web, I need more
> > fields, most of them are calculated according to fields in DB, For now
> > I don't want to do the calculating on web, but when I add some fields
> > to the DB model class, the web dose not recognize them, all values are
> > None, what should I do?
> >
> > For example, I have a class
> > class Event(db.Model) :
> > owner = db.UserProperty()
> > title = db.StringProperty()
> > content = db.StringProperty(multiline = True)
> > status = None
> > color = None
> >
> > when showing events on web, I want 'color' and 'status', so after
> > retrieve the data from DB, I do the following:
> >
> > for event in events :
> > logger.info(event.status)
> > logger.info(event.color);
> > event.create_time = datetime.now()
> > event.status = "Finished"
> > event.color = "green"
> >
> > but on web, they are still None.
> >
> > BTW: I have to add status and color in class, or these fields are not
> > recognized.
> >
>


-- 
Don't schedule every day, make them disorder.

--~--~-~--~~~---~--~~
You 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: Latency Issue - More Feedback!

2009-03-04 Thread Artem

Again, why does the status http://code.google.com/status/appengine
show normal?

Artem

On Mar 4, 4:13 pm, Pete Koomen  wrote:
> Hi Greg,
>
> We're listening, and we feel your pain.  The App Engine team has been
> working very hard to resolve this and we'll post updates as soon as we
> have them.  I'll try to address what I can right now:
>
> 1. The latency issues are related to the planned maintenance on Monday
> night.  They were unexpected, and we are working on infrastructure
> improvements to ensure this won't happens again.  If you'd like more
> data on serving and API latency and error rate, you can look at our
> own live monitoring data herehttp://code.google.com/status/appengine
>
> 2) We expect a fix to be in place by EOD to fix the issues you are
> currently seeing. We will keep you updated if this is not the case.
> When these issues are fixed, you should only see a small difference
> (possibly 10-20%) in the performance of your application as compared
> to earlier this week. However, one way or the other, we will return
> our previous configuration by Monday 3/9.
>
> Thanks for your patience through this.
>
> Pete, App Engine Team
>
> On Mar 4, 12:18 pm, Greg  wrote:
>
> > Please can we have more information about the current latency issue.
> > Pointing us 
> > tohttp://groups.google.com/group/google-appengine-downtime-notify
> > doesn't help when the last post there is two days old.
>
> > Specifically:
> > 1. Cloudstatus.com shows very clearly that everything went to hell in
> > handbasket after the "upgrade" earlier this week. Can Google confirm
> > this is the cause of the latency?
>
> > 2. Is the scheduled maintenence next week likely to cure the problem
> > (then please bring it forward) or make it worse (then please delay
> > it)?
>
> > I'm sure the lack of information is because the engineers who know
> > what is happening are so busy trying to resolve the issue that they
> > can't post. Or maybe they are all smoking joints while watching Lost,
> > snickering about all the poor muppets out there struggling to find
> > ways of streamlining their apps to make them work. Without feedback we
> > don't know...
>
> > This is severely denting our (paying) customers confidence in my app,
> > and likewise our confidence in Appengine. We spent yesterday wringing
> > the last ounce of performance out of our app, and if I don't hear any
> > more, today (it's morning in New Zealand) will be spent investigating
> > how big a deal it will be to migrate it to a dedicated mod_python/
> > PostgreSQL system.
>
> > Other appengine developers - please star this message so we get a
> > response from Google.
--~--~-~--~~~---~--~~
You 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: Latency Issue - More Feedback!

2009-03-04 Thread Pete Koomen

Hi Greg,

We're listening, and we feel your pain.  The App Engine team has been
working very hard to resolve this and we'll post updates as soon as we
have them.  I'll try to address what I can right now:

1. The latency issues are related to the planned maintenance on Monday
night.  They were unexpected, and we are working on infrastructure
improvements to ensure this won't happens again.  If you'd like more
data on serving and API latency and error rate, you can look at our
own live monitoring data here http://code.google.com/status/appengine

2) We expect a fix to be in place by EOD to fix the issues you are
currently seeing. We will keep you updated if this is not the case.
When these issues are fixed, you should only see a small difference
(possibly 10-20%) in the performance of your application as compared
to earlier this week. However, one way or the other, we will return
our previous configuration by Monday 3/9.

Thanks for your patience through this.

Pete, App Engine Team

On Mar 4, 12:18 pm, Greg  wrote:
> Please can we have more information about the current latency issue.
> Pointing us tohttp://groups.google.com/group/google-appengine-downtime-notify
> doesn't help when the last post there is two days old.
>
> Specifically:
> 1. Cloudstatus.com shows very clearly that everything went to hell in
> handbasket after the "upgrade" earlier this week. Can Google confirm
> this is the cause of the latency?
>
> 2. Is the scheduled maintenence next week likely to cure the problem
> (then please bring it forward) or make it worse (then please delay
> it)?
>
> I'm sure the lack of information is because the engineers who know
> what is happening are so busy trying to resolve the issue that they
> can't post. Or maybe they are all smoking joints while watching Lost,
> snickering about all the poor muppets out there struggling to find
> ways of streamlining their apps to make them work. Without feedback we
> don't know...
>
> This is severely denting our (paying) customers confidence in my app,
> and likewise our confidence in Appengine. We spent yesterday wringing
> the last ounce of performance out of our app, and if I don't hear any
> more, today (it's morning in New Zealand) will be spent investigating
> how big a deal it will be to migrate it to a dedicated mod_python/
> PostgreSQL system.
>
> Other appengine developers - please star this message so we get a
> response from Google.
--~--~-~--~~~---~--~~
You 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: Query with 'IN' and Associated Index Explosion

2009-03-04 Thread ryan

On Mar 4, 9:11 am, Devel63  wrote:
> It is indeed a more complex query, and the IN values are keys.  At one
> point, I had tried to make them key values in a named reference
> collection, but while the data store never complained, it never
> returned any results.

understood. happily, for the purposes of this conversation, the type
of the IN values actually doesn't matter. IN won't generate an index
per list length regardless of the IN values' type.

> Can you confirm that it is impossible to make an entity query that
> filters by normal prop vals and by a list of keys in a collection?
> e.g. Entity.gql('WHERE prop1 = :val1 AND named_collection
> IN :key_list', val1=val, key_list=keys)

no, that's definitely possible. from http://shell.appspot.com/ :

>>> class Foo(db.Expando):
  pass
>>> Foo.gql('WHERE x = 0 AND y IN (1, 2)').fetch(3)
[<__main__.Foo object at 0xf5ca9957dc3a9c30>, <__main__.Foo object at
0xf5ca9957dc3a9fb0>, <__main__.Foo object at 0xf5ca9957dc3a9cb0>]

again, this is true regardless of the type of the filter values.

> Separately, spurred on by your comments, I cleared the datastore and
> started again.  Now, the index explosion is not occurring.  I guess
> that some interim query experiment requested such indexes, and
> stopping the datastore and deleting the indexes out of the index.yaml
> file was not sufficient to clear them, so they kept reappearing in
> index.yaml.

hmm. the dev_appserver stores both the datastore and the query
history, in separate files. i wonder if the query history file somehow
didn't get deleted. (it defaults to /tmp/
dev_appserver.datastore.history.) more in the docs:

http://code.google.com/appengine/docs/python/tools/devserver.html#Command_Line_Arguments


--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread Brett Slatkin

On Wed, Mar 4, 2009 at 11:19 AM, Alex Popescu
 wrote:
>
> Comparing the Datastore metrics for yesterday and today, I'd say that
> the Datastore is still having latency problems on most of the
> operations.
>
> I'd also have to point out that the System status does NOT reflect
> these problems: http://code.google.com/status/appengine/ (it doesn't
> show it for yesterday metrics that have already been acknowledged by
> the Google team).

We're still showing elevated latency for Datastore Query, which is one
of the main issues here. The other metric showing this problem is the
CPU (Fibonacci) latency. We're working hard to resolve this and will
post an update as soon as we have one.

-Brett
Google App Engine Team

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: 502 Server Errors after upgrade?

2009-03-04 Thread Brett Slatkin

On Wed, Mar 4, 2009 at 2:56 AM, cz  wrote:
>
> Latency is still pretty much killing our site. Dynamic pages that took
> 1-3 seconds (which is bad enough) before the slowdown still take 10-20
> seconds. The app dashboard is super sluggish as well (as Nick pointed
> out). I'm hoping this means that the GAE team is still working on it
> (if so, thanks guys).

Sorry for the delay. We're still hard at work trying to resolve these
issues. We will post to the downtime-notify group and the Status Site
as soon as we have an update for you. Thanks for your continued
patience and sorry again for all the trouble!

-Brett
Google App Engine Team

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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 Issue - More Feedback!

2009-03-04 Thread Greg

Please can we have more information about the current latency issue.
Pointing us to http://groups.google.com/group/google-appengine-downtime-notify
doesn't help when the last post there is two days old.

Specifically:
1. Cloudstatus.com shows very clearly that everything went to hell in
handbasket after the "upgrade" earlier this week. Can Google confirm
this is the cause of the latency?

2. Is the scheduled maintenence next week likely to cure the problem
(then please bring it forward) or make it worse (then please delay
it)?

I'm sure the lack of information is because the engineers who know
what is happening are so busy trying to resolve the issue that they
can't post. Or maybe they are all smoking joints while watching Lost,
snickering about all the poor muppets out there struggling to find
ways of streamlining their apps to make them work. Without feedback we
don't know...

This is severely denting our (paying) customers confidence in my app,
and likewise our confidence in Appengine. We spent yesterday wringing
the last ounce of performance out of our app, and if I don't hear any
more, today (it's morning in New Zealand) will be spent investigating
how big a deal it will be to migrate it to a dedicated mod_python/
PostgreSQL system.

Other appengine developers - please star this message so we get a
response from Google.
--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread Bill

Agreed.  It also looks like behavior that should be flagged yellow or
red is now within normal tolerances:
http://code.google.com/status/appengine/detail/serving/2009/03/04#ae-trust-detail-static-get-large-nogzip-latency

The above shows a more than 2x to 3x increase in latency to over 1.5
seconds.  I believe that would have been flagged in the past.  This
raises the question of what will be acceptable response times going
forward.  I assume non-flagged data in the system status graphs
reflect what the google team feels is OK performance?

-Bill

On Mar 4, 11:19 am, Alex Popescu 
wrote:
> Comparing the Datastore metrics for yesterday and today, I'd say that
> the Datastore is still having latency problems on most of the
> operations.
>
> I'd also have to point out that the System status does NOT reflect
> these problems:http://code.google.com/status/appengine/(it doesn't
> show it for yesterday metrics that have already been acknowledged by
> the Google team).
>
> ./alex
--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread Artem

+1 again Alex. The system is only a bit faster than yesterday, but it
is still many times slower than before. A ton of operations time-out
(this is on Rietveld code!)

Please update us on the status again, and please make sure that the
Datastore does not show "Normal" status. It is certainly not normal
for many of us. This is a very serious issue for many of our users.

Thank you very much.

Artem

On Mar 4, 2:19 pm, Alex Popescu 
wrote:
> Comparing the Datastore metrics for yesterday and today, I'd say that
> the Datastore is still having latency problems on most of the
> operations.
>
> I'd also have to point out that the System status does NOT reflect
> these problems:http://code.google.com/status/appengine/(it doesn't
> show it for yesterday metrics that have already been acknowledged by
> the Google team).
>
> ./alex
--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread GregF

On Mar 5, 8:19 am, Alex Popescu 
wrote:
> Comparing the Datastore metrics for yesterday and today, I'd say that
> the Datastore is still having latency problems on most of the
> operations.

Agreed - my app is still performing horribly.

> I'd also have to point out that the System status does NOT reflect
> these problems:http://code.google.com/status/appengine/(it doesn't
> show it for yesterday metrics that have already been acknowledged by
> the Google team).

See Hyperic's much better metrics at http://cloudstatus.com/. This
clearly shows a huge increase in processing and datastore latency
after the "upgrade" earlier this week.
--~--~-~--~~~---~--~~
You 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 operations slow

2009-03-04 Thread Alex Popescu

Comparing the Datastore metrics for yesterday and today, I'd say that
the Datastore is still having latency problems on most of the
operations.

I'd also have to point out that the System status does NOT reflect
these problems: http://code.google.com/status/appengine/ (it doesn't
show it for yesterday metrics that have already been acknowledged by
the Google team).

./alex
--~--~-~--~~~---~--~~
You 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: Workflow Backend Index Task

2009-03-04 Thread riq


> However, I have reset the quota, so everything should be fine.

Thank you Marzia.

riq.
--~--~-~--~~~---~--~~
You 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 there a handler for logout?

2009-03-04 Thread OliWeiD

Hi Paul,

after multiple trials I found a way which is working:
1) as link I'm using now /logout
2) the following handler is answering to it (typical stuff in app.yaml
and wsgi application)
class LogoutHelper(webapp.RequestHandler):
def get(self):
usr = users.get_current_user()
if not usr:
self.redirect("/")
return
# HERE I'M DOING THE CLEANUP STUFF
url = users.create_logout_url("/")
self.redirect(url)

Thanks for the hints!
Kind Regards
Oliver W-D

On 4 Mrz., 15:31, Paul Roy  wrote:
> yep well turns out this is exactly what im doing. but i dont see this  
> as "generating a blank page". i have to try out the code i suggested  
> yesterday.
>
> and i did make it home, thx :)
>
> Sent from my iPhone
>
> On 09-03-04, at 01:28, OliWeiD   
> wrote:
>
>
>
> > Well, I've got the idea.
>
> > But I put the logout-uri into the html sitting on the page.
> > With your idea in mind, don't I need a blank page,
> > doing the del session stuff and then logout, passing the correct
> > logout uri
> > as an argument to that blank page??
>
> > Now I have to go to the train, hopefully you get, where you want to
> > go.
>
> > Oliver W.D.
>
> > On 4 Mrz., 06:26, Paul Roy  wrote:
> >> perhaps, instead of using the users' method directly, create a logout
> >> handler where you perform the necessary operations before fowarding  
> >> to
> >> the logout uri.
>
> >> the tricky part is keeping track of the original uri. the way i do  
> >> it,
> >> is to pass it as a request argument. you could maybe subclass the
> >> request handler, with a logout method. such as:
>
> >> def logout(self, uri=None):
> >>     
> >>     if uri is None: uri = self.request.uri #not sure this part  
> >> works..
>
> >>     
>
> >>     self.redirect(user.logout(uri))
>
> >> ..
>
> >> im not 100% sure about this since im just typing this on my phone  
> >> 50ft
> >> underground in a speeding subway train with nothing to refer to, but
> >> you should get the idea.
>
> >> when i get home ill see what code i use exactly.. ;)
>
> >> ps i actually just missed my stop! lol.. damn you google!! (shakes  
> >> fist)
>
> >> Sent from my iPhone
>
> >> On 09-03-04, at 00:01, OliWeiD 
> >> wrote:
>
> >>> Hi everybody,
>
> >>> due to security reasons and for efficiency some sort of logout  
> >>> handler
> >>> is needed.
> >>> That means, when the user is clicking on the created logout link
> >>> (users.create_logout_url)
> >>> During that logout I want to delete a session cookie and delete the
> >>> memcache entries for that user.
>
> >>> Any idea?
> >>> Kind Regards
> >>> Oliver W-D.
--~--~-~--~~~---~--~~
You 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: Workflow Backend Index Task

2009-03-04 Thread Marzia Niccolai
Hi,

This quota is associated with managing the number of indexes that can be
created in a short amount of time for an application.  It's set high enough
that we rarely see applications that exceed it.

In your case, all of your application's indexes were built when the quota
was exceeded, so it shouldn't have had an affect on your application. It
only would have prevented you from uploading additional indexes.

However, I have reset the quota, so everything should be fine.

-Marzia

On Wed, Mar 4, 2009 at 8:43 AM, riq  wrote:

>
> Hi,
>
> The dashboard of my application ( cocoslive.appspot.com ) is
> displaying this message:
>
> "warning Your application is exceeding a quota: Workflow Backend Index
> Task Count help"
>
> What does this mean ?
>
> According to the "Quota details", all my quotas are not exceeded.
>
> Any idea ? How can I increase the quota of "workflow backend index" ?
>
> Thanks,
>
> riq
>
>
> >
>

--~--~-~--~~~---~--~~
You 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: Initializing datastore with binary data

2009-03-04 Thread Pavel Byles

Thanks Nick.

I will definitely try this.

-Pavel

On Mar 4, 9:18 am, Nick Johnson  wrote:
> You can do what you want with remote_api and a little custom code. See
> the article here:http://code.google.com/appengine/articles/remote_api.html
>
> -Nick Johnson
>
> On Mar 4, 3:04 am, Pavel Byles  wrote:
>
> > Is there a way to initialize the datastore with binary data to be stored in
> > a blob field (without using a form)?
>
> > I have tried putting the data into a CSV file and uploading it using
> > bulkloader, but that didn't seem to work.
>
> > Any help would be appreciated.
> > --
> > -Pav
--~--~-~--~~~---~--~~
You 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 anybody help me ?

2009-03-04 Thread Marzia Niccolai
Hi,

This was an issue with your datastore indexes count.  I have reset this
quota, and you should now be able to upload your application.

-Marzia

On Wed, Mar 4, 2009 at 5:14 AM, Hui Lee  wrote:

> could you tell me how to delete My database ?
> Best regards !
>
>
> 2009/3/4 Hui Lee 
>
>> this is the whole message of "update_indexes" :
>>
>> C:\Program Files\Google\google_appengine>appcfg.py update_indexes
>> demos/micolog/
>>
>> C:\Program Files\Google\google_appengine\appcfg.py:40: DeprecationWarning:
>> the s
>> ha module is deprecated; use the hashlib module instead
>>   DIR_PATH,
>> Uploading index definitions.
>> Error 500: --- begin server output ---
>>
>> Server Error (500)
>>  A server error has occurred.
>> --- end server output ---
>>
>>
>> 2009/3/4 Hui Lee 
>>
>> I did run it,but did not work.
>>>
>>> 2009/3/4 Doug 
>>>
>>>
 You can delete a version of your application in the admin console.

 You only included part of the error message, but it looks like it is
 telling you to run appcfg again with an update_indexes option.

 Doug

 On Mar 3, 10:23 pm, blackball  wrote:
 > My app-id:bugway
 > when I deployed my new application,it gave me a "500 error" message.
 > Checking if new version is ready to se
 > Closing update: new version is ready t
 > Uploading index definitions.
 > Error 500: --- begin server output ---
 >
 > Server Error (500)
 > A server error has occurred.
 > --- end server output ---
 > Your app was updated, but there was an
 >  later with appcfg.py update_indexes.
 >
 > can anybody delete my older version ?
 > If you visit my site,It's just a "Hello world" programm,so be free to
 > delete it.
 > Best regeads!
 >
 > blackball


>>>
>>>
>>> --
>>> =
>>> NickName: blackball ;)
>>> Email: bug...@gamil.com
>>> MSN: bug...@live.cn
>>> HomePage: http://bugway.appspot.com
>>> =
>>>
>>
>>
>>
>> --
>> =
>> NickName: blackball ;)
>> Email: bug...@gamil.com
>> MSN: bug...@live.cn
>> HomePage: http://bugway.appspot.com
>> =
>>
>
>
>
> --
> =
> NickName: blackball ;)
> Email: bug...@gamil.com
> MSN: bug...@live.cn
> HomePage: http://bugway.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: Possible to send email from a different user?

2009-03-04 Thread Wooble

The user must be logged in to your application using Google's auth for
you to send email from their address.

On Mar 4, 4:02 am, Noel  wrote:
> I'm trying to use Google App Engine as the server for an iPhone app.
> The user can post some data, and I'd like the server to send an email
> to another person on behalf of the user. For that, I need to be able
> to set the sender's email address, but right now I get
> InvalidSenderError.
>
> Is there some way around that? I don't mind if somewhere it shows that
> it came from my domain, but I'd like to make it feel as much as
> possible as if it came from the user (and it should be in the reply-to
> field too).
>
> 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: Query with 'IN' and Associated Index Explosion

2009-03-04 Thread Devel63

It is indeed a more complex query, and the IN values are keys.  At one
point, I had tried to make them key values in a named reference
collection, but while the data store never complained, it never
returned any results.

Can you confirm that it is impossible to make an entity query that
filters by normal prop vals and by a list of keys in a collection?
e.g. Entity.gql('WHERE prop1 = :val1 AND named_collection
IN :key_list', val1=val, key_list=keys)

Separately, spurred on by your comments, I cleared the datastore and
started again.  Now, the index explosion is not occurring.  I guess
that some interim query experiment requested such indexes, and
stopping the datastore and deleting the indexes out of the index.yaml
file was not sufficient to clear them, so they kept reappearing in
index.yaml.


On Mar 3, 11:29 pm, ryan  wrote:
> On Mar 1, 2:13 pm, Andy Freeman  wrote:
>
> > > However, when I do this, the dev_server creates a bunch of index
> > > definitions, so that I have one with 1 property if there's 1 value in
> > > the IN set, 15 index properties if there are 15 values in the IN set,
> > > and so on.
>
> > Are all of these index properties necessary in production?  Will a
> > production query with an IN set with 4 members fail if the test set
> > used to generate index.yaml has IN sets with 1, 3, and 5 members?
>
> i have to admit, i don't entirely understand the problem. indices are
> only needed with different combinations of property names, not filter
> values. IN queries fan out to multiple queries on the exact same
> combination of property names; only the filter values change. changing
> the number of filter values shouldn't change the indices needed by the
> subqueries. for example, SELECT * FROM Foo WHERE x in [0, 1] fans out
> to:
>
> SELECT * FROM Foo WHERE x = 0
> SELECT * FROM Foo WHERE x = 1
>
> while SELECT * FROM Foo WHERE x in [0, 1, 2, 3]  fans out to
>
> SELECT * FROM Foo WHERE x = 0
> SELECT * FROM Foo WHERE x = 1
> SELECT * FROM Foo WHERE x = 2
> SELECT * FROM Foo WHERE x = 3
>
> all of the subqueries use the same index. here, it's a built-in single
> property index, but it could be a composite index if there was an
> additional filter or sort order.
>
> given that, i suspect there's more going on here, or at least a
> substantially more complicated query. Devel63, any chance you could
> post your exact query and filter values, ie the values for the IN set?
--~--~-~--~~~---~--~~
You 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] cooperate with top Google Apps Engine developer

2009-03-04 Thread AlexR

Hi Everyone,

I am not a very good developer, therefore I am looking for some one
who can join me to develop an apps.

So anyone who enjoy working in team, why not send me an email



--~--~-~--~~~---~--~~
You 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] Gettext and GAE/jijas2 integration

2009-03-04 Thread Jose


I'm new in python and app engine. I'm developing a simple project
without django, just webapp. Instead use django template system I'm
using jijas2.

To enable jijas2 into my project I downloaded the last version and
after unpack it, I copied jijas2 folder into my project. I added this
imports:

from jinja2 import Template
from jinja2 import FileSystemLoader, Environment

An in my request handler I use templates in this way:

template_dirs = os.path.join(os.path.dirname(__file__),
'templates')
env = Environment(loader=FileSystemLoader(template_dirs))
template = env.get_template("index.html")
rendered = template.render(template_values)
self.response.out.write(rendered)

Everything works fine. Now, I'm trying to make use of i18n support in
jijas2. But I have a lot of problems and I would apreciate your help.

First of all I read jijas2 documentation and API, and the way to
implement this feature is with this lines:

import gettext

(..and in my request handler)

domain = "myproject"
dirname = os.path.dirname(__file__)
locales = "en_US"

translations = gettext.find(domain, dirname, locales)
env = Environment(loader=FileSystemLoader
(template_dirs),extensions=['jinja2.ext.i18n'])
env.install_gettext_translations(translations)

Second question:

I have experiencie with PHP, so it not so hard understand gettext and
po/mo files operation, so I think I have to upload my po files into
ROOT/locale/LC_MESSAGES/en_US/myproject.po

Regards



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] Possible to send email from a different user?

2009-03-04 Thread Noel

I'm trying to use Google App Engine as the server for an iPhone app.
The user can post some data, and I'd like the server to send an email
to another person on behalf of the user. For that, I need to be able
to set the sender's email address, but right now I get
InvalidSenderError.

Is there some way around that? I don't mind if somewhere it shows that
it came from my domain, but I'd like to make it feel as much as
possible as if it came from the user (and it should be in the reply-to
field too).

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: I got a problem with Appengine + Flex-HttpService

2009-03-04 Thread Scott Seely
Fiddler2 should help with the IE traffic. 

 

Firebug can help you track the FF traffic

 

From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of ???
Sent: Tuesday, March 03, 2009 8:04 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: I got a problem with Appengine +
Flex-HttpService

 

Thanks Andrew,

 

I don't know much at sniffer. Do you have some advice on what's software is
good?

2009/3/2 Andrew Badera 


use a network sniffer or transparent proxy to figure out what the
differences are, and address them.



On Sun, Mar 1, 2009 at 11:09 PM, Legend Zhang <52openplatf...@gmail.com>
wrote:
>
> I can not access Appengine from flex using httpservice when I use IE6,
> using get and post.
>
> Did someone have this problem too?
>
> >
>



 




--~--~-~--~~~---~--~~
You 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] Workflow Backend Index Task

2009-03-04 Thread riq

Hi,

The dashboard of my application ( cocoslive.appspot.com ) is
displaying this message:

"warning Your application is exceeding a quota: Workflow Backend Index
Task Count help"

What does this mean ?

According to the "Quota details", all my quotas are not exceeded.

Any idea ? How can I increase the quota of "workflow backend index" ?

Thanks,

riq


--~--~-~--~~~---~--~~
You 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] Delete causes very highloads

2009-03-04 Thread Guy Rutenberg

Hi,

I've an app that gets some high number of requests (around 9k per
hour) to delete items. All it does for these requests is

items = ModelName.all().fetch(1)
db.delete(items)

(Origninally I've tried to delete more than one item at the time).
Hoever around 97% of the requests fail with Timeout. Is it a more
efficient  way to delete items? Is this kind of failed requests
normal? (The table holds around 2 million objects).

Also, is there a way to drop an entire model at once?


Thanks,

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: NeedIndexError help

2009-03-04 Thread Tom M.

Wow I'm discovering the pain of inequality searches.  If I have
ten fields and want to search any inequality on just one of them,
index.yaml needs to include every permutation of field names?


On Mar 4, 9:23 am, Tom  wrote:
> I am running into my first NeedIndexError after uploading to the live
> server.
>
> class Wine(db.Model):
>   bottlename = db.StringProperty()
>   bottlerating = db.FloatProperty(default=0.0)
>
> query = db.Query(Wine)
> query.filter('bottlename =', 'CAVIT')
> query.filter('bottlerating >=', 2.0)
> query.count()
>
> I get the NeedIndexError on the count() call.  Are entries needed in
> index.yaml for this? What should the entry be?  My queries always work
> locally and even changing to db.GqlQuery() doesn't write anything into
> the index.yaml as autogenerated.
>
> Any help for me?
--~--~-~--~~~---~--~~
You 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: I want more fields than in DB models?

2009-03-04 Thread Rafe

  If you want to have a persistent class that you can add arbitrary
vales to, try db.Expando.  It will let you do:

class Event(db.Model) :
 owner = db.UserProperty()
 title = db.StringProperty()
 content = db.StringProperty(multiline = True)

e = Event()
e.color = "Green"

  Color will then be stored along with the static properties owner,
title and content.  You check the presence or absence of those
"dynamic" properties (the ones that are not defined in the class)
like:

  hasattr(e, 'color')

  However, you could have also declared color and status as normal
string properties and just left them unassigned.  They would get put
in the datastore as None.


On Mar 3, 8:32 pm, disorderdev  wrote:
> Hi, I'm a newbie here, both python and app engine. a few questions:
>  I store some fields in DB, but when show message on Web, I need more
> fields, most of them are calculated according to fields in DB, For now
> I don't want to do the calculating on web, but when I add some fields
> to the DB model class, the web dose not recognize them, all values are
> None, what should I do?
>
> For example, I have a class
> class Event(db.Model) :
>         owner = db.UserProperty()
>         title = db.StringProperty()
>         content = db.StringProperty(multiline = True)
>         status = None
>         color = None
>
> when showing events on web, I want 'color' and 'status', so after
> retrieve the data from DB, I do the following:
>
>                 for event in events :
>                         logger.info(event.status)
>                         logger.info(event.color);
>                         event.create_time = datetime.now()
>                         event.status = "Finished"
>                         event.color = "green"
>
> but on web, they are still None.
>
> BTW: I have to add status and color in class, or these fields are not
> recognized.
--~--~-~--~~~---~--~~
You 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] Guideline for performance tuning

2009-03-04 Thread ltcstyle
Hi All,

When we developing an app, or implementing an idea, it's very likely we
focus on the features and functionalities first.
However, at some point, the performance could become your concern unless you
do not expect it run nicely.

I am wondering how you guys do this performance tuning works and what's your
pattern to improve the quality of your work.
For example, Gql query tuning, template improvement, etc.

If anyone can share their ideas or tips, I would be grateful.

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] NeedIndexError help

2009-03-04 Thread Tom

I am running into my first NeedIndexError after uploading to the live
server.

class Wine(db.Model):
  bottlename = db.StringProperty()
  bottlerating = db.FloatProperty(default=0.0)

query = db.Query(Wine)
query.filter('bottlename =', 'CAVIT')
query.filter('bottlerating >=', 2.0)
query.count()

I get the NeedIndexError on the count() call.  Are entries needed in
index.yaml for this? What should the entry be?  My queries always work
locally and even changing to db.GqlQuery() doesn't write anything into
the index.yaml as autogenerated.

Any help for me?
--~--~-~--~~~---~--~~
You 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: I want more fields than in DB models?

2009-03-04 Thread li jinyu
Yes, of course, I did. the other message, like owner, title, content, are
shown, but status and color are still None.

2009/3/4 Ian Lewis 

> Are you doing an event.put() to save each event?
>
>
> On Wed, Mar 4, 2009 at 1:32 PM, disorderdev  wrote:
>
>>
>> Hi, I'm a newbie here, both python and app engine. a few questions:
>>  I store some fields in DB, but when show message on Web, I need more
>> fields, most of them are calculated according to fields in DB, For now
>> I don't want to do the calculating on web, but when I add some fields
>> to the DB model class, the web dose not recognize them, all values are
>> None, what should I do?
>>
>> For example, I have a class
>> class Event(db.Model) :
>>owner = db.UserProperty()
>>title = db.StringProperty()
>>content = db.StringProperty(multiline = True)
>>status = None
>>color = None
>>
>> when showing events on web, I want 'color' and 'status', so after
>> retrieve the data from DB, I do the following:
>>
>>for event in events :
>>logger.info(event.status)
>>logger.info(event.color);
>>event.create_time = datetime.now()
>>event.status = "Finished"
>>event.color = "green"
>>
>> but on web, they are still None.
>>
>> BTW: I have to add status and color in class, or these fields are not
>> recognized.
>>
>>
>>
>
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708
> http://www.beproud.jp/
> ===
>
>
> >
>


-- 
Don't schedule every day, make them disorder.

--~--~-~--~~~---~--~~
You 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 there a handler for logout?

2009-03-04 Thread Paul Roy

yep well turns out this is exactly what im doing. but i dont see this  
as "generating a blank page". i have to try out the code i suggested  
yesterday.

and i did make it home, thx :)

Sent from my iPhone

On 09-03-04, at 01:28, OliWeiD   
wrote:

>
> Well, I've got the idea.
>
> But I put the logout-uri into the html sitting on the page.
> With your idea in mind, don't I need a blank page,
> doing the del session stuff and then logout, passing the correct
> logout uri
> as an argument to that blank page??
>
> Now I have to go to the train, hopefully you get, where you want to
> go.
>
> Oliver W.D.
>
> On 4 Mrz., 06:26, Paul Roy  wrote:
>> perhaps, instead of using the users' method directly, create a logout
>> handler where you perform the necessary operations before fowarding  
>> to
>> the logout uri.
>>
>> the tricky part is keeping track of the original uri. the way i do  
>> it,
>> is to pass it as a request argument. you could maybe subclass the
>> request handler, with a logout method. such as:
>>
>> def logout(self, uri=None):
>> >
>> if uri is None: uri = self.request.uri #not sure this part  
>> works..
>>
>> 
>>
>> self.redirect(user.logout(uri))
>>
>> ..
>>
>> im not 100% sure about this since im just typing this on my phone  
>> 50ft
>> underground in a speeding subway train with nothing to refer to, but
>> you should get the idea.
>>
>> when i get home ill see what code i use exactly.. ;)
>>
>> ps i actually just missed my stop! lol.. damn you google!! (shakes  
>> fist)
>>
>> Sent from my iPhone
>>
>> On 09-03-04, at 00:01, OliWeiD 
>> wrote:
>>
>>
>>
>>> Hi everybody,
>>
>>> due to security reasons and for efficiency some sort of logout  
>>> handler
>>> is needed.
>>> That means, when the user is clicking on the created logout link
>>> (users.create_logout_url)
>>> During that logout I want to delete a session cookie and delete the
>>> memcache entries for that user.
>>
>>> Any idea?
>>> Kind Regards
>>> Oliver W-D.
> >

--~--~-~--~~~---~--~~
You 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: Initializing datastore with binary data

2009-03-04 Thread Nick Johnson

You can do what you want with remote_api and a little custom code. See
the article here: http://code.google.com/appengine/articles/remote_api.html

-Nick Johnson

On Mar 4, 3:04 am, Pavel Byles  wrote:
> Is there a way to initialize the datastore with binary data to be stored in
> a blob field (without using a form)?
>
> I have tried putting the data into a CSV file and uploading it using
> bulkloader, but that didn't seem to work.
>
> Any help would be appreciated.
> --
> -Pav
--~--~-~--~~~---~--~~
You 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: Huge number of datastore timeouts.

2009-03-04 Thread br...@ifeets.com

Yeah we are experiencing the same thing on woffordvideos.com/iframe.
We keep getting 502 errors or the page loads really slow.

Thanks,
Brian Jinwright

On Mar 4, 12:11 am, gee  wrote:
> Hi guys,
>
> Our app (rotzy.com) is seeing a huge number of datastore timeouts.  I
> know about the ongoing issues, but we're getting nearly one every
> second... users are complaining and this has been going on for the
> last 12+ hours.
>
> Is anyone else getting hit this hard?
>
> AppEngine team -- these seem to happen particularly frequently on
> requests that might cause transaction collisions... perhaps this might
> help the troubleshooting.
>
> Thanks
> Gee-Hsien Chuang
--~--~-~--~~~---~--~~
You 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: PHP + MySQL is a web standard ;-)

2009-03-04 Thread Amr Ellafi
I imagine Perl we be coming to GAE. ooh , the whole CPAN , what a dream :)

On Wed, Mar 4, 2009 at 3:37 PM, Wooble  wrote:

>
>
>
> On Mar 3, 8:46 pm, "wenxin.ren"  wrote:
> > the best result we may anticipate is that google may support php +
> > mysql sooner
>
> PHP, maybe (although I doubt it myself).  mysql will never happen.
> BigTable, for all of its flaws, is massively scalable.  mysql is not.
> GAE doesn't claim to be cheap easy web hosting, but massively scalable
> web hosting.  If that's not what you want, you shouldn't be here.
> >
>

--~--~-~--~~~---~--~~
You 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 do this?

2009-03-04 Thread Pavel Byles

Sure,
you can store anything in your datastore. I don't see why not.

I am also using the django framework.
Just set up your models and you should be good to go.

On Mar 4, 2:07 am, arnie  wrote:
> Sorry for some lack in complete explanation.
> Basically I do not want to store the user session in my user datastore
> table. The user table simply contains user info like first name, last
> name, userid etc and user validation will be using this table. Also I
> am using django framework.
--~--~-~--~~~---~--~~
You 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: PHP + MySQL is a web standard ;-)

2009-03-04 Thread Wooble



On Mar 3, 8:46 pm, "wenxin.ren"  wrote:
> the best result we may anticipate is that google may support php +
> mysql sooner

PHP, maybe (although I doubt it myself).  mysql will never happen.
BigTable, for all of its flaws, is massively scalable.  mysql is not.
GAE doesn't claim to be cheap easy web hosting, but massively scalable
web hosting.  If that's not what you want, you shouldn't be here.
--~--~-~--~~~---~--~~
You 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] Suggestion: worst case testing mode

2009-03-04 Thread Brandon Thomson

Due to the way App Engine is designed it is possible for an
application to work fine when datastore/memcache performance is good
but then fail miserably when datastore/memcache performance is bad
(ie, the last 2 days).

In my case I was mostly able to design workarounds for the bad
performance so that my app still returns something from all requests
(albeit in a degraded mode), but I wasn't aware which handlers were
going to fail with timeout and 502 errors and whatnot until the bad
performance happened.

If we had a way to simulate worst case datastore/memcache performance
for our apps we could design them to fail gracefully ahead of time and
avert some of the pain of events like yesterday. If google would
clearly define "maximum acceptable latencies" for all the relevant
parameters (you don't have to call it a service level agreement, but
it would be nice) and then allow us to test our applications at those
latencies we could write more robust apps and still return something
useful for our visitors in the event of unexpected performance
degradation.
--~--~-~--~~~---~--~~
You 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 anybody help me ?

2009-03-04 Thread Hui Lee
could you tell me how to delete My database ?
Best regards !

2009/3/4 Hui Lee 

> this is the whole message of "update_indexes" :
>
> C:\Program Files\Google\google_appengine>appcfg.py update_indexes
> demos/micolog/
>
> C:\Program Files\Google\google_appengine\appcfg.py:40: DeprecationWarning:
> the s
> ha module is deprecated; use the hashlib module instead
>   DIR_PATH,
> Uploading index definitions.
> Error 500: --- begin server output ---
>
> Server Error (500)
> A server error has occurred.
> --- end server output ---
>
>
> 2009/3/4 Hui Lee 
>
> I did run it,but did not work.
>>
>> 2009/3/4 Doug 
>>
>>
>>> You can delete a version of your application in the admin console.
>>>
>>> You only included part of the error message, but it looks like it is
>>> telling you to run appcfg again with an update_indexes option.
>>>
>>> Doug
>>>
>>> On Mar 3, 10:23 pm, blackball  wrote:
>>> > My app-id:bugway
>>> > when I deployed my new application,it gave me a "500 error" message.
>>> > Checking if new version is ready to se
>>> > Closing update: new version is ready t
>>> > Uploading index definitions.
>>> > Error 500: --- begin server output ---
>>> >
>>> > Server Error (500)
>>> > A server error has occurred.
>>> > --- end server output ---
>>> > Your app was updated, but there was an
>>> >  later with appcfg.py update_indexes.
>>> >
>>> > can anybody delete my older version ?
>>> > If you visit my site,It's just a "Hello world" programm,so be free to
>>> > delete it.
>>> > Best regeads!
>>> >
>>> > blackball
>>> >>>
>>>
>>
>>
>> --
>> =
>> NickName: blackball ;)
>> Email: bug...@gamil.com
>> MSN: bug...@live.cn
>> HomePage: http://bugway.appspot.com
>> =
>>
>
>
>
> --
> =
> NickName: blackball ;)
> Email: bug...@gamil.com
> MSN: bug...@live.cn
> HomePage: http://bugway.appspot.com
> =
>



-- 
=
NickName: blackball ;)
Email: bug...@gamil.com
MSN: bug...@live.cn
HomePage: http://bugway.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: Can anybody help me ?

2009-03-04 Thread Hui Lee
this is the whole message of "update_indexes" :

C:\Program Files\Google\google_appengine>appcfg.py update_indexes
demos/micolog/

C:\Program Files\Google\google_appengine\appcfg.py:40: DeprecationWarning:
the s
ha module is deprecated; use the hashlib module instead
  DIR_PATH,
Uploading index definitions.
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---


2009/3/4 Hui Lee 

> I did run it,but did not work.
>
> 2009/3/4 Doug 
>
>
>> You can delete a version of your application in the admin console.
>>
>> You only included part of the error message, but it looks like it is
>> telling you to run appcfg again with an update_indexes option.
>>
>> Doug
>>
>> On Mar 3, 10:23 pm, blackball  wrote:
>> > My app-id:bugway
>> > when I deployed my new application,it gave me a "500 error" message.
>> > Checking if new version is ready to se
>> > Closing update: new version is ready t
>> > Uploading index definitions.
>> > Error 500: --- begin server output ---
>> >
>> > Server Error (500)
>> > A server error has occurred.
>> > --- end server output ---
>> > Your app was updated, but there was an
>> >  later with appcfg.py update_indexes.
>> >
>> > can anybody delete my older version ?
>> > If you visit my site,It's just a "Hello world" programm,so be free to
>> > delete it.
>> > Best regeads!
>> >
>> > blackball
>> >>
>>
>
>
> --
> =
> NickName: blackball ;)
> Email: bug...@gamil.com
> MSN: bug...@live.cn
> HomePage: http://bugway.appspot.com
> =
>



-- 
=
NickName: blackball ;)
Email: bug...@gamil.com
MSN: bug...@live.cn
HomePage: http://bugway.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: I got a problem with Appengine + Flex-HttpService

2009-03-04 Thread Doug

Do you get any information about the http error?

Your Flex application is going to run in the flash browser
plugin.are IE6 and 7 using the same version?  You might try
installing the debug version and see if you get any additional error
information.  (I think that IE also caches the httpservice request
that your flex app is making, so might try clearing ie6 cache to make
sure that you are not getting an old version of the data.)

If you go directly to the service page in a browser session can you
visually see any difference in IE6 and IE7.

on your sniffer question..here is some person experience, but
Andrew may know of better options.
I have used Wire shark as a sniffer before and it has been very
helpful.  tcpmon is also a good tool, but I am pretty sure they
operate at different OSI layers.  Tcpmon may be all you need, but if
you want to see the data frame by frame then you need a sniffer tool
like Wire shark.


Doug


On Mar 3, 8:03 pm, 张传奇 <52openplatf...@gmail.com> wrote:
> Thanks Andrew,
> I don't know much at sniffer. Do you have some advice on what's software is
> good?
>
> 2009/3/2 Andrew Badera 
>
>
>
> > use a network sniffer or transparent proxy to figure out what the
> > differences are, and address them.
>
> > On Sun, Mar 1, 2009 at 11:09 PM, Legend Zhang <52openplatf...@gmail.com>
> > wrote:
>
> > > I can not access Appengine from flex using httpservice when I use IE6,
> > > using get and post.
>
> > > Did someone have this problem too?
--~--~-~--~~~---~--~~
You 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 anybody help me ?

2009-03-04 Thread Hui Lee
I did run it,but did not work.

2009/3/4 Doug 

>
> You can delete a version of your application in the admin console.
>
> You only included part of the error message, but it looks like it is
> telling you to run appcfg again with an update_indexes option.
>
> Doug
>
> On Mar 3, 10:23 pm, blackball  wrote:
> > My app-id:bugway
> > when I deployed my new application,it gave me a "500 error" message.
> > Checking if new version is ready to se
> > Closing update: new version is ready t
> > Uploading index definitions.
> > Error 500: --- begin server output ---
> >
> > Server Error (500)
> > A server error has occurred.
> > --- end server output ---
> > Your app was updated, but there was an
> >  later with appcfg.py update_indexes.
> >
> > can anybody delete my older version ?
> > If you visit my site,It's just a "Hello world" programm,so be free to
> > delete it.
> > Best regeads!
> >
> > blackball
> >
>


-- 
=
NickName: blackball ;)
Email: bug...@gamil.com
MSN: bug...@live.cn
HomePage: http://bugway.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: Can anybody help me ?

2009-03-04 Thread Doug

You can delete a version of your application in the admin console.

You only included part of the error message, but it looks like it is
telling you to run appcfg again with an update_indexes option.

Doug

On Mar 3, 10:23 pm, blackball  wrote:
> My app-id:bugway
> when I deployed my new application,it gave me a "500 error" message.
> Checking if new version is ready to se
> Closing update: new version is ready t
> Uploading index definitions.
> Error 500: --- begin server output ---
>
> Server Error (500)
> A server error has occurred.
> --- end server output ---
> Your app was updated, but there was an
>  later with appcfg.py update_indexes.
>
> can anybody delete my older version ?
> If you visit my site,It's just a "Hello world" programm,so be free to
> delete it.
> Best regeads!
>
> blackball
--~--~-~--~~~---~--~~
You 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: I want more fields than in DB models?

2009-03-04 Thread Doug


I am also pretty green with GAE, but I think that the db Model Event
and the db model event are 2 different db models.

If they are 2 different models this would be why you are always
getting none when you read from it.  You would be able to see if you
have 2 in the console.

BTW - What is "None"?  I do not see that as a db Model option in the
Google doc.  It looks to me like you would want those to be strings.

Doug


On Mar 3, 10:32 pm, disorderdev  wrote:
> Hi, I'm a newbie here, both python and app engine. a few questions:
>  I store some fields in DB, but when show message on Web, I need more
> fields, most of them are calculated according to fields in DB, For now
> I don't want to do the calculating on web, but when I add some fields
> to the DB model class, the web dose not recognize them, all values are
> None, what should I do?
>
> For example, I have a class
> class Event(db.Model) :
>         owner = db.UserProperty()
>         title = db.StringProperty()
>         content = db.StringProperty(multiline = True)
>         status = None
>         color = None
>
> when showing events on web, I want 'color' and 'status', so after
> retrieve the data from DB, I do the following:
>
>                 for event in events :
>                         logger.info(event.status)
>                         logger.info(event.color);
>                         event.create_time = datetime.now()
>                         event.status = "Finished"
>                         event.color = "green"
>
> but on web, they are still None.
>
> BTW: I have to add status and color in class, or these fields are not
> recognized.
--~--~-~--~~~---~--~~
You 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: 502 Server Errors after upgrade?

2009-03-04 Thread Brenton

The status page leaves much to be desired.  It says everything is OK
now (it's not).  Yesterday, it said 'anomaly.'  What the hell does
that mean, in the context of large scale hosting?

Clear, concise, timely, and accurate are the hallmarks of a good
status page.  At a glance, I should be able to know if there is an
issue, how many people are affected, how long the downtime is expected
to last, and if I can do anything about it.  It's nice when there's
some behind the scenes 'this broke - we fixed it,' but that's not
essential.


My latest app is mirrored on multiple domains with Google Apps for
your Domain.  In addition to the 502 timeouts that we've been seeing
the last couple days, I have noticed that there is a page on my app
that is broken on one domain but not another.  It seems one 'install'
of the app can get a record from the datastore, but another can't.


It's scary to see it be this bad for this long.  Google has a
reputation for having the best systems on the 'net.  It earned this
distinction, being one of the most responsive sites online even before
it was famous.  Bad things happen, and we all understand that;
however, it's been nearly two days.  If this was any other host,
people would be sketched out and cancel their service.  I don't know
how many defectors you'll see in this case, but I suspect App Engine
will have a harder time borrowing Google's reputation for stability in
the future.


I have a lot of respect for you guys, and I wish you luck.  Please get
us flying again.  =)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: 502 Server Errors after upgrade?

2009-03-04 Thread cz

Latency is still pretty much killing our site. Dynamic pages that took
1-3 seconds (which is bad enough) before the slowdown still take 10-20
seconds. The app dashboard is super sluggish as well (as Nick pointed
out). I'm hoping this means that the GAE team is still working on it
(if so, thanks guys).


On Mar 3, 9:15 pm, Arun Shanker Prasad 
wrote:
> Hi,
>
> The system status site shows that all services are serving normal now,
> but my app is still experiencing DeadlineExceededError in pages that
> used be served well under 5s, and others are very slow and takes
> almost twice the normal time to serve.
>
> I know the Google App Engine team is working on resolving this and I
> thank them for that, but I made this post since the current status is
> shown as Normal and my app is still experiencing errors.
>
> Thanks,
> Arun Shanker Prasad.
>
> On Mar 4, 7:23 am, Pete Koomen  wrote:
>
> > Hi all, we'll continue posting updates about this issue to our status
> > site and downtime-notify group as we continue investigating:
>
> >http://code.google.com/status/appenginehttp://groups.google.com/group...
>
> > Thanks for your patience, we're still working hard on this one.
>
> > Pete
>
> > On Mar 3, 3:07 pm, Brandon Thomson  wrote:
>
> > > I think my errors are gone now. Thank you Google!
>
> > > On Mar 3, 1:44 pm, Artem  wrote:
>
> > > > I am still getting 502s in our App (which is an instance of Rietveld
> > > > without any changes except securing it with a password).
> > > > app id is: wsl-codereview
>
> > > > We have changed nothing. Problems started last night, but now every
> > > > request is a 502.
>
> > > > Artem
>
> > > > On Mar 3, 1:25 pm, Brett Slatkin  wrote:
>
> > > > > Hi Nick,
>
> > > > > On Tue, Mar 3, 2009 at 8:55 AM, Nick Winter  
> > > > > wrote:
>
> > > > > >http://code.google.com/status/appengine/detail/serving/2009/03/03#ae-...
>
> > > > > > Just about every day for the past several weeks, there's been 
> > > > > > elevated
> > > > > > latency like this, usually at similar times of day. It was 
> > > > > > unfortunate
> > > > > > and frustrating before, but since last night our development is
> > > > > > stalled because every part of App Engine is too slow to do any 
> > > > > > testing
> > > > > > or data manipulation right now. 5 seconds per request?
>
> > > > > > I'm confident that the App Engine team will get a handle on the
> > > > > > performance and everything will be shiny once more, but it'd be nice
> > > > > > to hear some word as to what's going on. Are the servers just
> > > > > > overloaded? Did something go wrong with the maintenance last night? 
> > > > > > Is
> > > > > > anomaly-yellow serving to be expected?
>
> > > > > We had some unexpected issues during the maintenance last night which
> > > > > caused elevated latencies and errors for all applications. We resolved
> > > > > the issue around 8:45pm last night and things have returned to normal
> > > > > since. Please let me know if you're still seeing any problems.
>
> > > > > As for the elevated latency for the dynamic request metric (that you
> > > > > linked to), this is primarily a product of alert tolerances. We're
> > > > > still tuning our status site metrics to match real-world expectations
> > > > > of App Engine performance. You'll notice today that we've raised some
> > > > > of these tolerances by a little bit, causing many of the lines to go
> > > > > back to a blue color (i.e., everything OK).
>
> > > > > -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: Moving our data to Google App Engine

2009-03-04 Thread David Symonds

On Tue, Mar 3, 2009 at 3:35 PM, Dong Wang  wrote:

> I have some questions about transfer large amounts of data (10+ TB). I
> am wondering if the data can be shipped in via FedEx or UPS. I am
> hoping to have the data available faster then an internet transfer. I
> have a few questions about this possibility.

There's no such facility in place, and I don't expect Google to be
offering one in the short- to medium-term.

Why do you have so much data? Would Amazon S3 be a better option? (I
don't know if they offer a mail-in facility)


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] Re: 502 Server Errors after upgrade?

2009-03-04 Thread Arun Shanker Prasad

Hi,

I am still getting random 502 error and the latency of even simple
memcahce hits are very high, almost twice what I had a couple of days
before.

The App Engine status page shows everything as normal now, are the
issues resolved? Any updates?

Thanks,
Arun Shanker Prasad.

On Mar 4, 10:15 am, Arun Shanker Prasad 
wrote:
> Hi,
>
> The system status site shows that all services are serving normal now,
> but my app is still experiencing DeadlineExceededError in pages that
> used be served well under 5s, and others are very slow and takes
> almost twice the normal time to serve.
>
> I know the Google App Engine team is working on resolving this and I
> thank them for that, but I made this post since the current status is
> shown as Normal and my app is still experiencing errors.
>
> Thanks,
> Arun Shanker Prasad.
>
> On Mar 4, 7:23 am, Pete Koomen  wrote:
>
> > Hi all, we'll continue posting updates about this issue to our status
> > site and downtime-notify group as we continue investigating:
>
> >http://code.google.com/status/appenginehttp://groups.google.com/group...
>
> > Thanks for your patience, we're still working hard on this one.
>
> > Pete
>
> > On Mar 3, 3:07 pm, Brandon Thomson  wrote:
>
> > > I think my errors are gone now. Thank you Google!
>
> > > On Mar 3, 1:44 pm, Artem  wrote:
>
> > > > I am still getting 502s in our App (which is an instance of Rietveld
> > > > without any changes except securing it with a password).
> > > > app id is: wsl-codereview
>
> > > > We have changed nothing. Problems started last night, but now every
> > > > request is a 502.
>
> > > > Artem
>
> > > > On Mar 3, 1:25 pm, Brett Slatkin  wrote:
>
> > > > > Hi Nick,
>
> > > > > On Tue, Mar 3, 2009 at 8:55 AM, Nick Winter  
> > > > > wrote:
>
> > > > > >http://code.google.com/status/appengine/detail/serving/2009/03/03#ae-...
>
> > > > > > Just about every day for the past several weeks, there's been 
> > > > > > elevated
> > > > > > latency like this, usually at similar times of day. It was 
> > > > > > unfortunate
> > > > > > and frustrating before, but since last night our development is
> > > > > > stalled because every part of App Engine is too slow to do any 
> > > > > > testing
> > > > > > or data manipulation right now. 5 seconds per request?
>
> > > > > > I'm confident that the App Engine team will get a handle on the
> > > > > > performance and everything will be shiny once more, but it'd be nice
> > > > > > to hear some word as to what's going on. Are the servers just
> > > > > > overloaded? Did something go wrong with the maintenance last night? 
> > > > > > Is
> > > > > > anomaly-yellow serving to be expected?
>
> > > > > We had some unexpected issues during the maintenance last night which
> > > > > caused elevated latencies and errors for all applications. We resolved
> > > > > the issue around 8:45pm last night and things have returned to normal
> > > > > since. Please let me know if you're still seeing any problems.
>
> > > > > As for the elevated latency for the dynamic request metric (that you
> > > > > linked to), this is primarily a product of alert tolerances. We're
> > > > > still tuning our status site metrics to match real-world expectations
> > > > > of App Engine performance. You'll notice today that we've raised some
> > > > > of these tolerances by a little bit, causing many of the lines to go
> > > > > back to a blue color (i.e., everything OK).
>
> > > > > -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: I want more fields than in DB models?

2009-03-04 Thread Ian Lewis
Are you doing an event.put() to save each event?

On Wed, Mar 4, 2009 at 1:32 PM, disorderdev  wrote:

>
> Hi, I'm a newbie here, both python and app engine. a few questions:
>  I store some fields in DB, but when show message on Web, I need more
> fields, most of them are calculated according to fields in DB, For now
> I don't want to do the calculating on web, but when I add some fields
> to the DB model class, the web dose not recognize them, all values are
> None, what should I do?
>
> For example, I have a class
> class Event(db.Model) :
>owner = db.UserProperty()
>title = db.StringProperty()
>content = db.StringProperty(multiline = True)
>status = None
>color = None
>
> when showing events on web, I want 'color' and 'status', so after
> retrieve the data from DB, I do the following:
>
>for event in events :
>logger.info(event.status)
>logger.info(event.color);
>event.create_time = datetime.now()
>event.status = "Finished"
>event.color = "green"
>
> but on web, they are still None.
>
> BTW: I have to add status and color in class, or these fields are not
> recognized.
>
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒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: Getting 500 error message

2009-03-04 Thread lubomir . kamensky

Does your app use authentication with a Google Apps domain account and
have you login required pages?

I have same problem:
http://groups.google.com/group/google-appengine/browse_frm/thread/bd31dd983fe1af84/a6ade149da482b8f#a6ade149da482b8f


On 17 Ún, 07:57, Greg  wrote:
> I created a simple contact management application for a non-profit
> using app engine. Things were going OK when all of a sudden I got a
> 500 error message today. As far as I know, the code wasn't be updated
> before the problem happened.
>
> Any ideas?
>
> Greg
--~--~-~--~~~---~--~~
You 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
-~--~~~~--~~--~--~---