[google-appengine] Fetching the results of async queries

2011-11-19 Thread gwstuff
Hi,

I would like to run a set of datastore queries asynchronously so that they 
execute in parallel. Unfortunately, the synchronous and async versions of 
my code produce different results. It seems that the async version does not 
finish by the time I actually need the results. At that point, I need to 
call 'get_results' but am unsure how to since this is not documented.

Here are the two fragments of code:

Sync (works)

note_iter = n.children.fetch(MAX_NOTES)
...
for n in note_iter:
consume(n)

ASync (fewer results)
  
note_iter = n.children.run()
...
for n in note_iter:
consume(n)

Any insight or pointers would be much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/NosdvNHbvyEJ.
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] 30 second deadline in real or API time

2011-09-15 Thread gwstuff
Hi,

We have a service in which one of our scripts takes about 8-15 seconds to 
complete. The API time it consumes is usually ~25 seconds. Just wondering - 
is the 30 second request deadline in terms of real or API time?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/OKfCYADAOcoJ.
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] Status of federated logins

2011-08-18 Thread gwstuff
Hi everyone,

We are going to release a new app engine-based paid service and pitch it to 
the substantial user base of our mobile apps in the coming weeks. We are 
very excited to see how this pans out. One thing we are a bit nervous about 
however is that we have used the federated login framework for identity 
management.

Once our users create their accounts, we will be irrevocable committed to 
supporting them. At the same time, federated login is marked as an 
experimental feature - and we are wondering if this means that there's a 
chance that it might get dropped in a future release. Federated login is a 
really cool feature so we do want to keep it, but if it's too risky then we 
will opt to be safe and just use custom service-specific accounts.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ZbAyxzjPbuoJ.
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: Federated login issue with URLs that have multiple arguments

2011-07-15 Thread gwstuff
Registered as issue 
#5348: http://code.google.com/p/googleappengine/issues/detail?id=5348

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/68jHhs5pbiMJ.
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: 404 with appcfg.py

2011-07-15 Thread gwstuff
Figured out the cause of this problem. I was using 2 users - a Google Apps 
domain and a gmail account. appcfg was looking for the app in the last 
cached account. rm -fR ~/.appcfg_cookies did the trick.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/gLSxX8yfvSMJ.
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] Federated login issue with URLs that have multiple arguments

2011-07-14 Thread gwstuff
Hi,

I am facing an issue with federated logins that causes non-first parameters 
in the return url to get lost, presumably because they are being interpreted 
as arguments in the outer login URL, rather than in the inner return url.

f_url = users.create_login_url(dest, federated_identity=openid_url)

where
dest = www.example.com/script?action=fooarg=bar

generates
federated login gateway?continue=www.example.com/script?action=foo [arg is 
lost]

Am I doing something wrong? My workaround for now is to encode the whole 
urlencoded argument string as one argument, but it would be bad to have to 
do this everywhere.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8cUh7KiefuUJ.
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] 404 with appcfg.py

2011-07-13 Thread gwstuff
Hi,

I have an app that I can see via the website appengine.google.com. I can 
navigate its configuration and query its datastore, but when I try accessing 
it via appcfg.py I get a 404:

Starting update of app: uyhsync, version: alpha2
Scanning files on local disk.
Error 404: --- begin server output ---
This application does not exist (app_id=u'app_id').
--- end server output ---

app_id is my app's id.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/QpluwURFA_IJ.
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: get_by_id issue?

2011-06-27 Thread gwstuff
Yes, that was it. I realized it while debugging my problem further the next 
day. I was wrongly assuming that ids are unique - they are in fact only 
unique given the path of the parent entity. For my purpose, using a full key 
is more appropriate.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/EMvwsmVul8YJ.
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] get_by_id issue?

2011-06-22 Thread gwstuff
Hi,

I am having trouble getting get_by_id working on the latest version of 
dev_appserver. Is anyone else facing this issue with the latest release?

Input (on the interactive console):

from db.note import Note

n = Note.all()[0]
i = n.key().id()
print i
print Note.get_by_id(i)

Output:

3
None




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



Re: [google-appengine] Enumerating children of a given entity

2011-06-07 Thread gwstuff
Actually, this (an ancestor query) returns all descendants of a node. Is 
there a way to get only the immediate children, short of filtering in-memory 
by the parent field? It would be unacceptable for me to fetch everything in 
every query.

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



Re: [google-appengine] Enumerating children of a given entity

2011-06-07 Thread gwstuff
Yes, that's a very good idea. I'll add a new IntegerProperty() for the 
depth.

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



Re: [google-appengine] Enumerating children of a given entity

2011-06-01 Thread gwstuff
Nice! Thanks so much, that method must have hit my blind spot going through 
the list.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/M3h5WFJlRkVMNndK.
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] Enumerating children of a given entity

2011-05-27 Thread gwstuff
Hi,

I have a group of models organized as an entity group because they are 
updated transactionally. While it's easy to get an entity's parent through 
the key - I was wondering if there's a way to enumerate an entity's 
children. I guess I could add a new SelfReferenceProperty field, but it 
would be nice if there were a way to get this information without creating 
additional properties.

TIA

-- 
You 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] Application Error 5

2010-12-23 Thread gwstuff
Hi,

Is there a latency problem on app engine right now? We are seeing
Application Error 5 for every request. We do about 2-3 req/second
and our app has been deployed for about 18 months.

I see that the latency for that URLfetch is close to 5 seconds - and
that it could be a problem of ours that suddenly appeared. It would be
nice to know though that it's a passing hitch and that we don't need
to redesign our db a day before Christmas...

z

12-23 11:12AM 56.829 /command 200 4962ms 95cpu_ms 95api_cpu_ms 0kb
AppEngine-Google; (+http://code.google.com/appengine)
0.1.0.2 - - [23/Dec/2010:11:13:01 -0800] POST /command HTTP/1.1 200
129 --- AppEngine-Google; (+http://code.google.com/appengine)
--- ms=4962 cpu_ms=95 api_cpu_ms=95 cpm_usd=0.002717
queue_name=default task_name=4698248498092547678
E 12-23 11:13AM 01.709
ApplicationError: 5

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



[google-appengine] Re: Application Error 5

2010-12-23 Thread gwstuff
Hi Geoffrey,

It's actually not the Urlfetch that is faulting, it's a task queue,
which I think might be using URLfetch internally.

On looking into this further I found that the tasks actually succeed -
they do what they're supposed to and return with an HTTP 200. So we
are not seeing a disruption in service. However there is a constant
stream of Application Error 5 errors in our logs.

z

On Dec 23, 3:48 pm, Geoffrey Spear geoffsp...@gmail.com wrote:
 Are you sure it's not a problem with whatever site you're urlfetching
 from on every request?  I'm not seeing any problems with urlfetch
 here.

 On Dec 23, 2:37 pm, gwstuff gwsa...@gmail.com wrote:







  Hi,

  Is there a latency problem on app engine right now? We are seeing
  Application Error 5 for every request. We do about 2-3 req/second
  and our app has been deployed for about 18 months.

  I see that the latency for that URLfetch is close to 5 seconds - and
  that it could be a problem of ours that suddenly appeared. It would be
  nice to know though that it's a passing hitch and that we don't need
  to redesign our db a day before Christmas...

  z

  12-23 11:12AM 56.829 /command 200 4962ms 95cpu_ms 95api_cpu_ms 0kb
  AppEngine-Google; (+http://code.google.com/appengine)
  0.1.0.2 - - [23/Dec/2010:11:13:01 -0800] POST /command HTTP/1.1 200
  129 --- AppEngine-Google; (+http://code.google.com/appengine)
  --- ms=4962 cpu_ms=95 api_cpu_ms=95 cpm_usd=0.002717
  queue_name=default task_name=4698248498092547678
  E 12-23 11:13AM 01.709
  ApplicationError: 5

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



[google-appengine] Strange problem with user ids involving gmail.com

2010-09-17 Thread gwstuff
Hello,

We have been facing a really strange problem involving the
UserProperty() property. We have an entity type PR:

class PR(db.Model):
user = db.UserProperty()
...

The way we retrieve these entities is through queries of this kind:

pr = PR.gql('WHERE user=:1',current_user)

...where current_user is fetched using the call
users.get_current_user()

This works 99% of the time, but every now and then a user can't get in
even though he has a PR record with his user tacked to it. AFAIK, this
only happens to people with @gmail.com addresses. Further
investigation revealed that this is because the property in the
database has its email() field set to the user id without
'@gmail.com'. So USER(email='x.y') == USER('email='x...@gmail.com')
evaluates to False.

The funny thing is that even when we reset all such addresses and add
the @gmail.com suffix, this suffix disappears periodically, and the
problem comes back and locks these people out. We do not manually
construct user objects at any time - we always call get_current_user()
so our hope was that whatever the convention is would stay consistent
across all of our operations.

Has anyone faced this issue, or either way, have any suggestions?

Sincerely,
Z

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



[google-appengine] Funny - easter egg?

2010-06-29 Thread gwstuff
I have a bunch versions in my app, of which one's called donoevil.
IT is not the default version of the app, and hasn't been deployed for
over 132 days.

I can't delete it. When I select it and press delete, I get a server
error:

Server Error
A server error has occurred.
Return to Applications screen »

I can delete any other version without any issues, including ones that
were deployed prior to this one.

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



[google-appengine] Logs counted towards space quota?

2010-06-01 Thread gwstuff
Hi,

Are logs currently counted towards an App's quota? If so, is there any
way to delete old log messages?

I'm trying to understand the storage behavior of my app:

Last updatedTotal number of entitiesSize of all entities
0:38:35 ago 122,918 41 MBytes

However, under quotas:

Total Stored Data23% 0.23 of 1.00 GBytes

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



[google-appengine] Re: 500 errors

2010-05-25 Thread gwstuff
OK. Things look normal since 6:19pm yesterday, which was when the last
burst of 500s happened.

Everyone affected by incidents of this type should get priority
invites for GAE for Business :-) (subtle hint)

z

On May 24, 9:53 pm, Harlan Crystal harlan.crys...@gmail.com wrote:
 I'd like to suffix my plea for help with the extra information that
 the logs aren't showing any explicit errors in the last 10 minutes.

 On Mon, May 24, 2010 at 9:52 PM, Harlan Crystal





 harlan.crys...@gmail.com wrote:
  Things look *very wrong* on my apps.  For 2/3 of my most important
  applications, 0 tasks are  being run in the last minute.

  Help!  I have no idea how to resolve this problem on my own.

  -harlan

  On Mon, May 24, 2010 at 9:35 PM, Wesley C (Google) wesc+...@google.com 
  wrote:
  we've had high datastore latencies the past hour or so, but things
  seem to be getting back to normal now as i was able to apps and
  dashboards with no 500s. let us know if this isn't the case.

  -- wesley
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Core Python Programming, Prentice Hall, (c)2007,2001
  Python Fundamentals, Prentice Hall, (c)2009
    http://corepythonprogramming.com

  wesley.j.chun :: w...@google.com
  developer relations :: google app engine
  @app_engine :: googleappengine.blogspot.com

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

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

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



[google-appengine] 500 errors

2010-05-24 Thread gwstuff
Hi,

I'm getting 500 errors across most of my apps, and intermittently also
on the dashboard. It looks datastore-related because the apps that are
running OK have mostly static content.

Anyone else seeing this problem? Please reply and make this thread
noticed if so.

z


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



[google-appengine] High latency/Admin interface timing out?

2010-05-14 Thread gwstuff
Hi,

I can't log into the LOGS section of the admin interface of my app +
datastore-heavy requests appear to be timing out. Anyone else facing
this issue?

Error: Server Error

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

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



[google-appengine] Re: High latency/Admin interface timing out?

2010-05-14 Thread gwstuff
Thanks Bay and Waleed, for confirming that this is not only my
problem. After hitting refresh a few dozen times I managed to enter
the logs and saw that a large fraction (maybe 50%+) of my requests are
timing out. Historically this number has tended to be well under 1%.


On May 14, 9:04 am, Waleed Abdulla wal...@ninua.com wrote:
 Same here. Can't login to the dashboard at all, and a big percentage of my
 app's requests are timing out..

 Regards,
 Waleed





 On Fri, May 14, 2010 at 6:01 AM, gwstuff gwsa...@gmail.com wrote:
  Hi,

  I can't log into the LOGS section of the admin interface of my app +
  datastore-heavy requests appear to be timing out. Anyone else facing
  this issue?

  Error: Server Error

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

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

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

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



[google-appengine] What is Task Queue Stored Task Bytes?

2010-04-22 Thread gwstuff
I looked around for an explanation but couldn't find one. One of my
apps uses task queues heavily and is close to exhausting this quota.
It sounds like it should reflect the input to tasks that are currently
live, but I have 0 live tasks but a huge value for Task Queue Stored
Task Bytes.

TIA.

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



[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-07 Thread gwstuff
 - The current option of low-latency, strong consistency, and lower
 availability during unexpected failures (like a power outage)

 - A new option for higher availability using synchronous replication
 for reads and writes, at the cost of significantly higher latency

This would be fantastic, if one were able to select between the two
configurations in the same App. That would make it possible for one to
have a regular and a failsafe version of a database, where the
failsafe version is updated less frequently. This makes sense for a
number of my apps in which it is helpful to give users access to some
basic data even if the system is basically down.

Thanks also for the nice postmortem. So far, one of the best things
about using App Engine has been the openness with which information is
provided to users.

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



[google-appengine] Re: Strange traffic Charts after the last maintenance

2010-02-18 Thread gwstuff
Confirmed. My request/second rate has changed from 1.5-2.5 to 0.5-1.0
on an average. I chart my request data separately and can see that the
load is the same as before, so this has something to do with the
calculation.

Sapan

On Feb 18, 3:05 pm, matic mytix.m...@gmail.com wrote:
 After the last GAE maintenance yesterday, our traffic (req/sec)
 lowered dramatically and all the charts (req/sec, milisec/req, errors/
 sec) are very 
 strange:http://img.skitch.com/20100218-bqfa4pdhgefyf6hir8e3swbwq7.jpg
 Is this just a charts problem or is something seriously wrong?

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



[google-appengine] Re: Unable to deploy after maintenance

2010-02-17 Thread gwstuff
Hi Brandon, I'm seeing this issue too. This problem occurred yesterday
as well but it was fixed within a couple of hours.

From my experience yesterday, if your app is live and has real users
then it's better to leave it alone till the problem is fixed because
messing with it makes it worse. E.g. when I set my default version to
'yes' yesterday after rolling it back I got 404s for everything in the
domain and was forced to switch to an older and buggy version.


On Feb 17, 9:58 pm, Brandon Thomson gra...@gmail.com wrote:
 As well, one of the rollbacks failed and the app lost it's default
 version. Under default every column read 'No' and the app was not
 responding to any requests at my domain. I have not seen that behavior
 before.

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



[google-appengine] Re: Issue with app deployment?

2010-02-16 Thread gwstuff
I tried multiple times in succession till error #1 changed to #2. I'm
guessing the versions that didn't get deployed and got rolled back are
counting towards the version quota.

Hope someone at Google is looking into this :-/

On Feb 16, 10:25 pm, Raymond C. windz...@gmail.com wrote:
 I am getting error #1 on deployment also

 On Feb 17, 11:20 am, gwstuff gwsa...@gmail.com wrote:



  Hi,

  I'm having trouble updating my apps. Anyone else facing this problem?

  At first, I got error #1. Now I'm getting error #2. I only have 5
  versions in this app.

  #1:

  This is the error log reported by appcfg.py.

  Will check again in 64 seconds.
  Checking if new version is ready to serve.
  Will check again in 128 seconds.
  Checking if new version is ready to serve.
  2010-02-16 22:13:43,422 WARNING appcfg.py:1335 Version still not ready
  to serve, aborting.
  2010-02-16 22:13:43,523 ERROR appcfg.py:1471 An unexpected error
  occurred. Aborting.
  Traceback (most recent call last):
    File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/appcfg.py, line 1460, in DoUpload
      self.Commit()
    File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/appcfg.py, line 1336, in Commit
      raise Exception('Version not ready.')
  Exception: Version not ready.
  Rolling back the update.
  Traceback (most recent call last):
    File /usr/local/bin/appcfg.py, line 68, in module
      run_file(__file__, globals())
    File /usr/local/bin/appcfg.py, line 64, in run_file
      execfile(script_path, globals_)

  #2:

  /usr/local/bin/appcfg.py:41: DeprecationWarning: the sha module is
  deprecated; use the hashlib module instead
    os.path.join(DIR_PATH, 'lib', 'antlr3'),
  /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning:
  the md5 module is deprecated; use hashlib instead
    import md5
  Application: gwtodo; version: iconshootout.
  Server: appengine.google.com.
  Scanning files on local disk.
  Initiating update.
  Cloning 16 static files.
  Cloning 57 application files.
  Deploying new version.
  Rolling back the update.
  Error 403: --- begin server output ---

  Too Many Versions (403)
  The application already has the maximum number of versions.
  --- end server output ---

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



[google-appengine] Re: Issue with app deployment? (FIXED!)

2010-02-16 Thread gwstuff
The problem is gone on my app. Just updated to a new version and set
it to be the default. Thanks for your company guys, and thanks very
much to whoever fixed the problem - kudos!

On Feb 16, 10:51 pm, TheCleanMachine thecleanmach...@gmail.com
wrote:
 I'm having same problem - error #1:

 Exception: Version not ready.

 Have tried it like 5 times now.  Yes - hopefully someone at Google is
 looking at it.

 On Feb 16, 7:49 pm, gwstuff gwsa...@gmail.com wrote:



  I tried multiple times in succession till error #1 changed to #2. I'm
  guessing the versions that didn't get deployed and got rolled back are
  counting towards the version quota.

  Hope someone at Google is looking into this :-/

  On Feb 16, 10:25 pm, Raymond C. windz...@gmail.com wrote:

   I am getting error #1 on deployment also

   On Feb 17, 11:20 am, gwstuff gwsa...@gmail.com wrote:

Hi,

I'm having trouble updating my apps. Anyone else facing this problem?

At first, I got error #1. Now I'm getting error #2. I only have 5
versions in this app.

#1:

This is the error log reported by appcfg.py.

Will check again in 64 seconds.
Checking if new version is ready to serve.
Will check again in 128 seconds.
Checking if new version is ready to serve.
2010-02-16 22:13:43,422 WARNING appcfg.py:1335 Version still not ready
to serve, aborting.
2010-02-16 22:13:43,523 ERROR appcfg.py:1471 An unexpected error
occurred. Aborting.
Traceback (most recent call last):
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 1460, in DoUpload
    self.Commit()
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 1336, in Commit
    raise Exception('Version not ready.')
Exception: Version not ready.
Rolling back the update.
Traceback (most recent call last):
  File /usr/local/bin/appcfg.py, line 68, in module
    run_file(__file__, globals())
  File /usr/local/bin/appcfg.py, line 64, in run_file
    execfile(script_path, globals_)

#2:

/usr/local/bin/appcfg.py:41: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'antlr3'),
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning:
the md5 module is deprecated; use hashlib instead
  import md5
Application: gwtodo; version: iconshootout.
Server: appengine.google.com.
Scanning files on local disk.
Initiating update.
Cloning 16 static files.
Cloning 57 application files.
Deploying new version.
Rolling back the update.
Error 403: --- begin server output ---

Too Many Versions (403)
The application already has the maximum number of versions.
--- end server output ---

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



[google-appengine] Re: Datastore updates in 1.3.1: So much better

2010-02-15 Thread gwstuff
Just thought I'd add my vote of satisfaction here too. Errors that
used to occur in my apps due to timeouts have completely disappeared
since the release. I already had code that would retry failed writes
when they were critical (i.e. the response depended on them) but that
tactic would sometimes take my app over the concurrent request limit.
It would only happen in 0.01% of the requests but I'm glad that it
appears to be gone now.


On Feb 14, 2:00 am, Rob rob.bre...@gmail.com wrote:
 I just had to post to say thanks.  Since the 1.3.1 datastore
 performance improvements and automatic (behind the scenes) retries,
 the number of errors on my apps have been nearly completely
 eliminated.  Even though I had some of the longer requests wrapped in
 retries before, this addition seems to have really cleaned up the rest
 for me.

 Quite satisfied with this update.  Thanks.

 Rob

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



[google-appengine] Hard Cron jobs

2010-02-07 Thread gwstuff
Hello,

I have a cron job that runs every hour. It is specified to run 'Every
1 hours.' The idea is to generate time series logs that can be
analyzed later. Unfortunately, every now and then the execution is
offset by a second, since the time of execution is 1 hour following
the termination not start of the last run and these offsets add up
with time.

Is it possible to make it run at exactly 5 minutes past every hour as
opposed to the 1 hour interval since last termination? I tried a comma-
separated hourspec - e.g. 00:05,1:05,2:05... but it appears that
hourspec does not support lists.

Thanks in advance,
S

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



[google-appengine] Re: Error: Server Error from specific domain bound to the app

2010-02-02 Thread gwstuff
Hi,

I have the exact same problem across 2 apps of mine - I can access it
via the appspot.com domain but not via the custom domain (e.g.
www.ivyleagueproofreaders.com doesn't work.)

Sapan

On Feb 2, 11:56 am, Alain de R aderay...@gmail.com wrote:
 I see the same error on my domain. It started 2 hours ago, and it is
 still not fixed :-(http://pickemfirst.appspot.com/works fines
 buthttp://app.pickemfirst.com/fails with server error

 what's happening ? What can I do ?

 In addition, the report link is completely useless for my users
 it brings them tohttp://code.google.com/appengine/community.html
 can it be customized ?

 Please help.

 On Feb 2, 8:43 am, burg burga...@gmail.com wrote:



  Got magically fixed... now looks okay :)

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



[google-appengine] App Engine is Down!!!!

2010-02-02 Thread gwstuff
Summary: ahhh!!!

More articulate version: Can't log into app engine. All apps down,
returning 500 internal server error.

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