[google-appengine] Re: Java deploys

2009-04-24 Thread 风笑雪
Just upload a app with app.yaml with this configuration: runtime: python

2009/4/25 Randinn 

>
> How do you change it from Python to Java, I uploaded the Java war file
> and it's saying I need to use appcfg.py to deploy it.
>
> On Apr 24, 8:25 pm, djidjadji  wrote:
> > Every uploaded versionID of an appID can be a different application,
> > and can be Java or Python.
> >
> > You access them on the following URLs
> >
> > http://versionID.latest.appID.appspot.com/
> >
> > Fill in the right text for versionID and appID
> >
> > 2009/4/24 Randinn :
> >
> >
> >
> > > How many of the ten apps can be Java, I have one, I have made another
> > > and it's Python, if I can have more how can I transform the Python to
> > > Java?
> >
>

--~--~-~--~~~---~--~~
You 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: Java deploys

2009-04-24 Thread Randinn

How do you change it from Python to Java, I uploaded the Java war file
and it's saying I need to use appcfg.py to deploy it.

On Apr 24, 8:25 pm, djidjadji  wrote:
> Every uploaded versionID of an appID can be a different application,
> and can be Java or Python.
>
> You access them on the following URLs
>
> http://versionID.latest.appID.appspot.com/
>
> Fill in the right text for versionID and appID
>
> 2009/4/24 Randinn :
>
>
>
> > How many of the ten apps can be Java, I have one, I have made another
> > and it's Python, if I can have more how can I transform the Python to
> > Java?
--~--~-~--~~~---~--~~
You 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] Stuck indexes

2009-04-24 Thread Chris Tan

Could someone please clear my stuck indexes?  I have an index that has
been building for many hours now and only a few entities.  I did try
vacuuming without success.

AppID is "webnodes"

Thanks

P.S. Are there any plans to automate the resetting of indexes?  I've
seen many similar posts of users who have the same problem.
--~--~-~--~~~---~--~~
You 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: Get values by unique ID

2009-04-24 Thread Wiiboy

If only I'd read this when you made that post I eventually
discovered db.get().

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



[google-appengine] Re: GAE should give app users guesstimate of site permanence.

2009-04-24 Thread Ray Malone

I personally don't want google to put ads on app engine apps

On Apr 24, 5:29 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
 wrote:
> If you app gets tons of traffic what stops you from monetizing it by putting
> AdSense on it? Why do you want google to do it for you?
>
> On Fri, Apr 24, 2009 at 9:41 PM, Amir Michail  wrote:
>
> > Hi,
>
> > The idea is to use existing data to guesstimate how well an app will
> > scale and whether Google would be willing to fund its scalability via
> > ads in case its developers are not willing to pay.
>
> > This sort of assurance of the permanence of a site could really do
> > wonders for Web 2.0.
>
> > Amir
>
> --
>
> Alkis
--~--~-~--~~~---~--~~
You 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: 500/503 Server Error on update

2009-04-24 Thread Matthew Blain

We're investigating this issue--can you send me the appid for your
application (privately if you'd like) so I can verify it's the same
issue we've seen elsewhere?
As a workaround, either changing the major version version to an
alternate version, or simply selecting the version you'd like to be
default and clicking 'set default' should fix it.

--Matthew

On Apr 24, 3:07 pm, brightnesslevels 
wrote:
> Well, I actually "solved" the 500 problem by changing the version
> number to "2" and the app deployed fine the first time.
> Now I'm getting "Version is not ready to serve" errors again (and
> again, and again). I checked my dashboard, and like before, none of
> the two versions was marked as default. I set version "2" to be the
> default one, but the "not ready" problem is still there.
>
> Now I've just tried setting my app version to "1" in app.yaml and
> deploy, and got error 500 again (:
>
> Eventually, by changing versions and redeploying, I got the latest
> version working, but I'm now not sure how exactly to deal with these
> problems in future. (:
>
> On Apr 24, 8:02 pm, "Nick Johnson (Google)" 
> wrote:
>
> > Hi,
>
> > There was a temporary problem with app deployment. It should be
> > working fine again now.
>
> > Regards,
>
> > Nick Johnson
>
> > On Apr 24, 4:53 pm, brightnesslevels 
> > wrote:
>
> > > Just tried this on the most recent 1.2.1, and still getting the
> > > errors.
>
> > > On Apr 24, 7:41 pm, brightnesslevels 
> > > wrote:
>
> > > > I've started using version 1.1.9 of Google App Engine about a week
> > > > ago, and everything had been working okay (update-wise) until today.
> > > > Now I'm getting either 500 or 503 error when I'm trying to update my
> > > > app. Here's what's in the log:
>
> > > > $ ../google_appengine/appcfg.py update --noisy .
> > > > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:373 Loaded
> > > > authentication cookies from /home/sp/.appcfg_cookies
> > > > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:120 Server:
> > > > appengine.google.com
> > > > 2009-04-24 19:34:35,649 INFO appcfg.py:319 Checking for updates to the
> > > > SDK.
> > > > 2009-04-24 19:34:36,029 DEBUG appcfg.py:408 Skipping nag message
> > > > 2009-04-24 19:34:36,030 INFO appcfg.py:1178 Reading app
> > > > configuration.
> > > > Scanning files on local disk.
> > > > [ scans local files ]
> > > > Initiating update.
> > > > 2009-04-24 19:34:46,647 DEBUG appengine_rpc.py:308 Got http error,
> > > > this is try #1
> > > > 2009-04-24 19:34:57,584 DEBUG appengine_rpc.py:308 Got http error,
> > > > this is try #2
> > > > 2009-04-24 19:35:08,188 DEBUG appengine_rpc.py:308 Got http error,
> > > > this is try #3
> > > > 2009-04-24 19:35:18,783 DEBUG appengine_rpc.py:308 Got http error,
> > > > this is try #4
> > > > 2009-04-24 19:35:18,784 ERROR appcfg.py:1235 An unexpected error
> > > > occurred. Aborting.
> > > > Traceback (most recent call last):
> > > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > > appcfg.py", line 1213, in DoUpload
> > > >     missing_files = self.Begin()
> > > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > > appcfg.py", line 1009, in Begin
> > > >     version=self.version, payload=self.config.ToYAML())
> > > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > > appengine_rpc.py", line 303, in Send
> > > >     f = self.opener.open(req)
> > > >   File "/usr/lib/python2.5/urllib2.py", line 387, in open
> > > >     response = meth(req, response)
> > > >   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
> > > >     'http', request, response, code, msg, hdrs)
> > > >   File "/usr/lib/python2.5/urllib2.py", line 425, in error
> > > >     return self._call_chain(*args)
> > > >   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
> > > >     result = func(*args)
> > > >   File "/usr/lib/python2.5/urllib2.py", line 506, in
> > > > http_error_default
> > > >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > > > HTTPError: HTTP Error 500: Internal Server Error
> > > > Error 500: --- begin server output ---
>
> > > > Server Error (500)
> > > > A server error has occurred.
> > > > --- end server output ---
>
> > > > Earlier this day I had a number of issues with application "not ready
> > > > to serve yet" errors. When I went to the dashboard, I found that
> > > > version 1 (which is one and the only I've worked on so far) wasn't set
> > > > as a default one. So, I set it as a default, and "not ready to serve
> > > > yet" errors stopped happening. In a while though I started
> > > > experiencing this 500/503 errors.
--~--~-~--~~~---~--~~
You 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:

[google-appengine] Re: 500/503 Server Error on update

2009-04-24 Thread brightnesslevels

Well, I actually "solved" the 500 problem by changing the version
number to "2" and the app deployed fine the first time.
Now I'm getting "Version is not ready to serve" errors again (and
again, and again). I checked my dashboard, and like before, none of
the two versions was marked as default. I set version "2" to be the
default one, but the "not ready" problem is still there.

Now I've just tried setting my app version to "1" in app.yaml and
deploy, and got error 500 again (:

Eventually, by changing versions and redeploying, I got the latest
version working, but I'm now not sure how exactly to deal with these
problems in future. (:

On Apr 24, 8:02 pm, "Nick Johnson (Google)" 
wrote:
> Hi,
>
> There was a temporary problem with app deployment. It should be
> working fine again now.
>
> Regards,
>
> Nick Johnson
>
> On Apr 24, 4:53 pm, brightnesslevels 
> wrote:
>
> > Just tried this on the most recent 1.2.1, and still getting the
> > errors.
>
> > On Apr 24, 7:41 pm, brightnesslevels 
> > wrote:
>
> > > I've started using version 1.1.9 of Google App Engine about a week
> > > ago, and everything had been working okay (update-wise) until today.
> > > Now I'm getting either 500 or 503 error when I'm trying to update my
> > > app. Here's what's in the log:
>
> > > $ ../google_appengine/appcfg.py update --noisy .
> > > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:373 Loaded
> > > authentication cookies from /home/sp/.appcfg_cookies
> > > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:120 Server:
> > > appengine.google.com
> > > 2009-04-24 19:34:35,649 INFO appcfg.py:319 Checking for updates to the
> > > SDK.
> > > 2009-04-24 19:34:36,029 DEBUG appcfg.py:408 Skipping nag message
> > > 2009-04-24 19:34:36,030 INFO appcfg.py:1178 Reading app
> > > configuration.
> > > Scanning files on local disk.
> > > [ scans local files ]
> > > Initiating update.
> > > 2009-04-24 19:34:46,647 DEBUG appengine_rpc.py:308 Got http error,
> > > this is try #1
> > > 2009-04-24 19:34:57,584 DEBUG appengine_rpc.py:308 Got http error,
> > > this is try #2
> > > 2009-04-24 19:35:08,188 DEBUG appengine_rpc.py:308 Got http error,
> > > this is try #3
> > > 2009-04-24 19:35:18,783 DEBUG appengine_rpc.py:308 Got http error,
> > > this is try #4
> > > 2009-04-24 19:35:18,784 ERROR appcfg.py:1235 An unexpected error
> > > occurred. Aborting.
> > > Traceback (most recent call last):
> > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > appcfg.py", line 1213, in DoUpload
> > >     missing_files = self.Begin()
> > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > appcfg.py", line 1009, in Begin
> > >     version=self.version, payload=self.config.ToYAML())
> > >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > > appengine_rpc.py", line 303, in Send
> > >     f = self.opener.open(req)
> > >   File "/usr/lib/python2.5/urllib2.py", line 387, in open
> > >     response = meth(req, response)
> > >   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
> > >     'http', request, response, code, msg, hdrs)
> > >   File "/usr/lib/python2.5/urllib2.py", line 425, in error
> > >     return self._call_chain(*args)
> > >   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
> > >     result = func(*args)
> > >   File "/usr/lib/python2.5/urllib2.py", line 506, in
> > > http_error_default
> > >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > > HTTPError: HTTP Error 500: Internal Server Error
> > > Error 500: --- begin server output ---
>
> > > Server Error (500)
> > > A server error has occurred.
> > > --- end server output ---
>
> > > Earlier this day I had a number of issues with application "not ready
> > > to serve yet" errors. When I went to the dashboard, I found that
> > > version 1 (which is one and the only I've worked on so far) wasn't set
> > > as a default one. So, I set it as a default, and "not ready to serve
> > > yet" errors stopped happening. In a while though I started
> > > experiencing this 500/503 errors.
--~--~-~--~~~---~--~~
You 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: Storing the unique ID separately from the User value

2009-04-24 Thread 'Αλκης Ευλογημένος
Use the user id as part of the key_name for you user preferences entities.

On Fri, Apr 24, 2009 at 7:30 PM, Shana  wrote:

>
> Hello,
>
> I'm new to Python and am learning as I go. I am working on an app that
> will use Google Accounts to log in, but I need a stable identifier,
> which I understand is the unique user ID. I'm unsure how to store this
> ID separately from the user value in order to use that ID to get and
> post data for that user in the datastore.
>
> Thanks!
>
> -Shana
>
> >
>


-- 

Alkis

--~--~-~--~~~---~--~~
You 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: GAEUnit problems w/ SDK 1.2.1?

2009-04-24 Thread 'Αλκης Ευλογημένος
datastore_file_stub.DatastoreFileStub('YourAppId', None, None) creates a new
datastore that persists nowhere. If you make a new one for each test (in
setUp() for example) you get a clean state for each test.

This is what I use to get a completely clean environment for each test:

def setup_stub_gae():
  os.environ['TZ'] = 'UTC'
  time.tzset()
  os.environ['AUTH_DOMAIN'] = 'test.com'
  os.environ['USER_EMAIL'] = 'u...@test.com'
  os.environ['APPLICATION_ID'] = 'MyAppId'
  os.environ['SERVER_NAME'] = 'unittest.local'
  os.environ['SERVER_PORT'] = '80'
  os.environ['SERVER_SOFTWARE'] = 'Development/Unittest'

  apiproxy_stub_map.apiproxy = apiproxy_stub_map.APIProxyStubMap()

  datastore = datastore_file_stub.DatastoreFileStub('MyAppId',
None,
None)
  apiproxy_stub_map.apiproxy.RegisterStub('datastore_v3', datastore)

  user = user_service_stub.UserServiceStub()
  apiproxy_stub_map.apiproxy.RegisterStub('user', user)

  urlfetch = urlfetch_stub.URLFetchServiceStub()
  apiproxy_stub_map.apiproxy.RegisterStub('urlfetch', urlfetch)

  mail = mail_stub.MailServiceStub()
  apiproxy_stub_map.apiproxy.RegisterStub('mail', mail)

  memcache = memcache_stub.MemcacheServiceStub()
  apiproxy_stub_map.apiproxy.RegisterStub('memcache', memcache)


On Fri, Apr 24, 2009 at 7:14 PM, Ben Nevile  wrote:

>
> Hi Matthew -
>
> GAEUnit is trying to create a separate dataspace for the tests so that
> data for the development env isn't affected by running tests.  This
> isn't an issue for me since I don't really use the dev server for
> anything but tests, so I'll just comment out that business, but I
> think for some people it will be a big deal.
>
> thanks for your answer!
> Ben
>
>
>
> On Apr 24, 10:03 am, Matthew Blain  wrote:
> > Hi Ben,
> >
> > We've added this restriction to make the dev_appserver work more like
> > the live App Engine datastore. I don't know exactly what GAEUnit is
> > doing, but it looks like there's a line like this in there:
> >
> > datastore_file_stub.DatastoreFileStub('GAEUnitDataStore', None, None)
> >
> > It should create the stub using the correct app id (e.g.
> > 'butterpool'), which may be os.environ['APPLICATION_ID'] at that
> > point.
> >
> > --Matthew
> >
> > On Apr 23, 1:27 pm, Ben Nevile  wrote:
> >
> >
> >
> > > since updating to SDK 1.2.1, GAEUnit is not able to access the
> > > datastore.  I was using GAEunit 1.2.2 before - just updated to 1.2.6,
> > > but no love.  Below is the error I get.  Any tips?
> >
> > > Ben
> >
> > > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/ext/db/__init__.py", line 1346, in get
> > > results = self.fetch(1)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/ext/db/__init__.py", line 1390, in fetch
> > > raw = self._get_query().Get(limit, offset)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/datastore.py", line 942, in Get
> > > return self._Run(limit, offset)._Next(limit)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/datastore.py", line 883, in _Run
> > > apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
> > > result)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/apiproxy_stub_map.py", line 68, in MakeSyncCall
> > > apiproxy.MakeSyncCall(service, call, request, response)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/apiproxy_stub_map.py", line 240, in MakeSyncCall
> > > stub.MakeSyncCall(service, call, request, response)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/datastore_file_stub.py", line 413, in
> > > MakeSyncCall
> > > response)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/apiproxy_stub.py", line 80, in MakeSyncCall
> > > method(request, response)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/api/datastore_file_stub.py", line 518, in
> > > _Dynamic_RunQuery
> > > se

[google-appengine] Re: GAE should give app users guesstimate of site permanence.

2009-04-24 Thread 'Αλκης Ευλογημένος
If you app gets tons of traffic what stops you from monetizing it by putting
AdSense on it? Why do you want google to do it for you?

On Fri, Apr 24, 2009 at 9:41 PM, Amir Michail  wrote:

>
> Hi,
>
> The idea is to use existing data to guesstimate how well an app will
> scale and whether Google would be willing to fund its scalability via
> ads in case its developers are not willing to pay.
>
> This sort of assurance of the permanence of a site could really do
> wonders for Web 2.0.
>
> Amir
> >
>


-- 

Alkis

--~--~-~--~~~---~--~~
You 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] GAE should give app users guesstimate of site permanence.

2009-04-24 Thread Amir Michail

Hi,

The idea is to use existing data to guesstimate how well an app will
scale and whether Google would be willing to fund its scalability via
ads in case its developers are not willing to pay.

This sort of assurance of the permanence of a site could really do
wonders for Web 2.0.

Amir
--~--~-~--~~~---~--~~
You 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] ragendja/django authentication auth via email address

2009-04-24 Thread Dave

I need help! I am attempting to use ragendja with django to enable the
auth system to use email address for auth rather than username. I had
everything working fine with username but switching to email has been
now a nightmare.

The problem appears to be at line 13 in the
appenginepatcher.auth.backends.py. I've the snip here w/pointer to
line 13.
class ModelBackend(object):
   def authenticate(self, username=None, password=None):
user = User.all().filter('username = ', username).get()
logging.debug(" modified backend user is: "+str(user))
if not user:
(line 13)>user = User.all().filter('email =', username).get()
if user and user.check_password(password):
return user
return None

I've used logging.debug to determine that everything before this line
runs but as soon as it hits 13, it just stops and returns. I've put
try/except around it to catch and exceptions and there appears none.
I've changed it from get() to fetch(1). When I do that I get a list
back with the data. However, if I try to do a 'for x in list' I can't
access the data.

I've tried users=User.all().filter('username =',username).fetch(1)
logging.debug(user is: "+str(users))
with this I see the users!
however if I try:
for user in user
  logging.debug("user is: "+user)

Nothing

Any help getting this to work or point me in the right direction is
greatly appreciated.

Also just to give full into in my model i'm using:

from ragendja.auth.models import EmailUser and my model is named User.
Elsewhere I"m calling rom django.contrib.auth.models import User to
get user model.




--~--~-~--~~~---~--~~
You 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] Storing the unique ID separately from the User value

2009-04-24 Thread Shana

Hello,

I'm new to Python and am learning as I go. I am working on an app that
will use Google Accounts to log in, but I need a stable identifier,
which I understand is the unique user ID. I'm unsure how to store this
ID separately from the user value in order to use that ID to get and
post data for that user in the datastore.

Thanks!

-Shana

--~--~-~--~~~---~--~~
You 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: Verification issues, cell number tied to closed account

2009-04-24 Thread Jeff S (Google)
Hi Magnus,

Could you email me the email addresses for the old account and the new
account?

Thank you,

Jeff

On Fri, Apr 24, 2009 at 12:17 AM, Magnus  wrote:

>
> Hi!
>
> I have found no way to contact support so I turn to the groups, hoping
> for some Google rep to pick this up :)
>
> Recently I closed one of my Google accounts which was also registered
> for Appengine. I want to use this with my new account but it seems
> that the cell phone number does not get released when closing an
> account, thus I need someone to release 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] Re: I've reached my quota, only I have this great new name for my app

2009-04-24 Thread Jeff S (Google)
Hi Ted,

I've increased the max apps count to 20 for your account. Rather than just
creating a new account we'd prefer if people ask for an increase :-)

Happy coding,

Jeff

On Fri, Apr 24, 2009 at 7:40 AM, Ted Gilchrist  wrote:

> Ok, I starred it. And added the following plaintive plea:
>
> I could do the tricky thing, and start creating new apps under a different 
> email id.
> But I'm a straight up Google fan boy, and I don't want to do you this way. 
> Sigh, but
>
> if I must  For me, it's not about deleting the data. It's about thinking 
> of
> really cool new names for my apps, and not wanting to go off and register the
> domains, etc. Hey, wait a minute. About allowing aliases for apps? Is that any
>
> easier? I just wanna use my new cool app name. Is that so wrong?
>
>
>
> On Fri, Apr 24, 2009 at 10:18 AM, T.J. Crowder 
> wrote:
>
>>
>> And you have starred this issue[1], right?
>>
>> [1] http://code.google.com/p/googleappengine/issues/detail?id=335
>>
>> I find it truly astonishing that there's no way to delete an
>> application.  That's a v0.1 feature, full stop.
>> --
>> T.J. Crowder
>> tj / crowder software / com
>> Independent Software Engineer, consulting services available
>>
>>
>> On Apr 24, 2:26 pm, egilchri  wrote:
>> > I've reached my quota of 10 apps, and I really want to either rename
>> > one of them, or delete it, and then get back one for my quota. That
>> > way, I'll be able to use this great new name for an app I have. I
>> > realize I could register the domain, but I don't want to have to do
>> > that, if possible.
>> >
>> > I know this question has been asked before, but are there any updates?
>> >
>> > Or, you could just raise my quota by one little bitty app.
>> >
>> > Thanks,
>> >
>> > Ted Gilchrist
>>
>>
>
>
> --
> "Speech, not just for humans"
>
> VnoTed: http://vnoted.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: Datastore: persist data.

2009-04-24 Thread 风笑雪
Of course persisted indefinitely.

2009/4/24 deostroll 

>
> Hi,
>
> Is the data I persist in the datastore persisted indefinitely? I am
> just looking for the feasibility of building a simple forum web
> application. I want to know how this app can be developed using the
> current setup...
>
> --deostroll
>
> >
>

--~--~-~--~~~---~--~~
You 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: GAEUnit problems w/ SDK 1.2.1?

2009-04-24 Thread Ben Nevile

Hi Matthew -

GAEUnit is trying to create a separate dataspace for the tests so that
data for the development env isn't affected by running tests.  This
isn't an issue for me since I don't really use the dev server for
anything but tests, so I'll just comment out that business, but I
think for some people it will be a big deal.

thanks for your answer!
Ben



On Apr 24, 10:03 am, Matthew Blain  wrote:
> Hi Ben,
>
> We've added this restriction to make the dev_appserver work more like
> the live App Engine datastore. I don't know exactly what GAEUnit is
> doing, but it looks like there's a line like this in there:
>
> datastore_file_stub.DatastoreFileStub('GAEUnitDataStore', None, None)
>
> It should create the stub using the correct app id (e.g.
> 'butterpool'), which may be os.environ['APPLICATION_ID'] at that
> point.
>
> --Matthew
>
> On Apr 23, 1:27 pm, Ben Nevile  wrote:
>
>
>
> > since updating to SDK 1.2.1, GAEUnit is not able to access the
> > datastore.  I was using GAEunit 1.2.2 before - just updated to 1.2.6,
> > but no love.  Below is the error I get.  Any tips?
>
> > Ben
>
> > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/ext/db/__init__.py", line 1346, in get
> >     results = self.fetch(1)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/ext/db/__init__.py", line 1390, in fetch
> >     raw = self._get_query().Get(limit, offset)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/datastore.py", line 942, in Get
> >     return self._Run(limit, offset)._Next(limit)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/datastore.py", line 883, in _Run
> >     apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
> > result)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/apiproxy_stub_map.py", line 68, in MakeSyncCall
> >     apiproxy.MakeSyncCall(service, call, request, response)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/apiproxy_stub_map.py", line 240, in MakeSyncCall
> >     stub.MakeSyncCall(service, call, request, response)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/datastore_file_stub.py", line 413, in
> > MakeSyncCall
> >     response)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/apiproxy_stub.py", line 80, in MakeSyncCall
> >     method(request, response)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/datastore_file_stub.py", line 518, in
> > _Dynamic_RunQuery
> >     self.__ValidateAppId(app)
> >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/api/datastore_file_stub.py", line 237, in
> > __ValidateAppId
> >     'app %s cannot access app %s\'s data' % (self.__app_id, app_id))
> > BadRequestError: app GAEUnitDataStore cannot access app butterpool's
> > data
> > 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-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 records keys from the datastore

2009-04-24 Thread 风笑雪
query_results = my_query.get()key = query_results.key()

2009/4/24 YahavT 

>
> Hi,
>
> I want to get from the datastore a record i added plus it's key.
> How can I do it?
>
> If I just run a regular SELECT I just get the record data, without the
> key of the record.
>
> for example:
> "
> class temp(db.Model)
>  my_var = db.StringProperty()
>
> record = temp()
> record.my_var = "Testing"
> record_key = record.put()
>
> my_query = db.GqlQuery("SELECT * FROM temp")
>query_results = my_query.get()  # I ONLY GET my_var.. NO
> KEY !! "
>
> Please help...
> 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: GAEUnit problems w/ SDK 1.2.1?

2009-04-24 Thread Matthew Blain

Hi Ben,

We've added this restriction to make the dev_appserver work more like
the live App Engine datastore. I don't know exactly what GAEUnit is
doing, but it looks like there's a line like this in there:

datastore_file_stub.DatastoreFileStub('GAEUnitDataStore', None, None)

It should create the stub using the correct app id (e.g.
'butterpool'), which may be os.environ['APPLICATION_ID'] at that
point.

--Matthew

On Apr 23, 1:27 pm, Ben Nevile  wrote:
> since updating to SDK 1.2.1, GAEUnit is not able to access the
> datastore.  I was using GAEunit 1.2.2 before - just updated to 1.2.6,
> but no love.  Below is the error I get.  Any tips?
>
> Ben
>
> File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/ext/db/__init__.py", line 1346, in get
>     results = self.fetch(1)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/ext/db/__init__.py", line 1390, in fetch
>     raw = self._get_query().Get(limit, offset)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore.py", line 942, in Get
>     return self._Run(limit, offset)._Next(limit)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore.py", line 883, in _Run
>     apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
> result)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 68, in MakeSyncCall
>     apiproxy.MakeSyncCall(service, call, request, response)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 240, in MakeSyncCall
>     stub.MakeSyncCall(service, call, request, response)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore_file_stub.py", line 413, in
> MakeSyncCall
>     response)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub.py", line 80, in MakeSyncCall
>     method(request, response)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore_file_stub.py", line 518, in
> _Dynamic_RunQuery
>     self.__ValidateAppId(app)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore_file_stub.py", line 237, in
> __ValidateAppId
>     'app %s cannot access app %s\'s data' % (self.__app_id, app_id))
> BadRequestError: app GAEUnitDataStore cannot access app butterpool's
> data
> 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-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: Error while Deploying App

2009-04-24 Thread www.threetags.com

We experience the same error. And deleting a deployed version through
the console produces a server error.

On Apr 24, 11:50 am, Pankaj Vishwani  wrote:
> I am getting the following error while trying to deploy new version of
> my app:
>
> Deploying new version.
> 2009-04-24 08:42:48,680 ERROR appcfg.py:1235 An unexpected error
> occurred. Abort
> ing.
> Traceback (most recent call last):
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1228,
>  in DoUpload
>     self.Commit()
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1101,
>  in Commit
>     self.Deploy()
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1129,
>  in Deploy
>     version=self.version)
>   File "C:\Google\google_appengine\google\appengine\tools
> \appengine_rpc.py", lin
> e 303, in Send
>     f = self.opener.open(req)
>   File "C:\Python25\lib\urllib2.py", line 387, in open
>     response = meth(req, response)
>   File "C:\Python25\lib\urllib2.py", line 498, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "C:\Python25\lib\urllib2.py", line 425, in error
>     return self._call_chain(*args)
>   File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> HTTPError: HTTP Error 503: Service Unavailable
> Rolling back the update.
> Error 503: --- begin server output ---
>
> Try Again (503)
> An unexpected failure has occurred. Please try again.
> --- end server output ---
>
> Can someone tell me what to do? This started half an hour ago around
> 8:20am (PST).
>
> Regards,
> Pankaj Vishwani

--~--~-~--~~~---~--~~
You 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: Get records keys from the datastore

2009-04-24 Thread djidjadji

http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_key

2009/4/24 YahavT :
>
> Hi,
>
> I want to get from the datastore a record i added plus it's key.
> How can I do it?
>
> If I just run a regular SELECT I just get the record data, without the
> key of the record.
>
> for example:
> "
> class temp(db.Model)
>  my_var = db.StringProperty()
>
> record = temp()
> record.my_var = "Testing"
> record_key = record.put()
>
> my_query = db.GqlQuery("SELECT * FROM temp")
>        query_results = my_query.get()  # I ONLY GET my_var.. NO
> KEY !! "
>
> Please help...
> 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: Error while Deploying App

2009-04-24 Thread Nick Johnson (Google)

Hi Pankaj,

There was a temporary problem with app deployment. It should be
working fine again now.

Regards,

Nick Johnson

On Apr 24, 4:50 pm, Pankaj Vishwani  wrote:
> I am getting the following error while trying to deploy new version of
> my app:
>
> Deploying new version.
> 2009-04-24 08:42:48,680 ERROR appcfg.py:1235 An unexpected error
> occurred. Abort
> ing.
> Traceback (most recent call last):
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1228,
>  in DoUpload
> self.Commit()
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1101,
>  in Commit
> self.Deploy()
>   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> line 1129,
>  in Deploy
> version=self.version)
>   File "C:\Google\google_appengine\google\appengine\tools
> \appengine_rpc.py", lin
> e 303, in Send
> f = self.opener.open(req)
>   File "C:\Python25\lib\urllib2.py", line 387, in open
> response = meth(req, response)
>   File "C:\Python25\lib\urllib2.py", line 498, in http_response
> 'http', request, response, code, msg, hdrs)
>   File "C:\Python25\lib\urllib2.py", line 425, in error
> return self._call_chain(*args)
>   File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
> result = func(*args)
>   File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> HTTPError: HTTP Error 503: Service Unavailable
> Rolling back the update.
> Error 503: --- begin server output ---
>
> Try Again (503)
> An unexpected failure has occurred. Please try again.
> --- end server output ---
>
> Can someone tell me what to do? This started half an hour ago around
> 8:20am (PST).
>
> Regards,
> Pankaj Vishwani
--~--~-~--~~~---~--~~
You 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: 500/503 Server Error on update

2009-04-24 Thread Nick Johnson (Google)

Hi,

There was a temporary problem with app deployment. It should be
working fine again now.

Regards,

Nick Johnson

On Apr 24, 4:53 pm, brightnesslevels 
wrote:
> Just tried this on the most recent 1.2.1, and still getting the
> errors.
>
> On Apr 24, 7:41 pm, brightnesslevels 
> wrote:
>
> > I've started using version 1.1.9 of Google App Engine about a week
> > ago, and everything had been working okay (update-wise) until today.
> > Now I'm getting either 500 or 503 error when I'm trying to update my
> > app. Here's what's in the log:
>
> > $ ../google_appengine/appcfg.py update --noisy .
> > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:373 Loaded
> > authentication cookies from /home/sp/.appcfg_cookies
> > 2009-04-24 19:34:35,640 INFO appengine_rpc.py:120 Server:
> > appengine.google.com
> > 2009-04-24 19:34:35,649 INFO appcfg.py:319 Checking for updates to the
> > SDK.
> > 2009-04-24 19:34:36,029 DEBUG appcfg.py:408 Skipping nag message
> > 2009-04-24 19:34:36,030 INFO appcfg.py:1178 Reading app
> > configuration.
> > Scanning files on local disk.
> > [ scans local files ]
> > Initiating update.
> > 2009-04-24 19:34:46,647 DEBUG appengine_rpc.py:308 Got http error,
> > this is try #1
> > 2009-04-24 19:34:57,584 DEBUG appengine_rpc.py:308 Got http error,
> > this is try #2
> > 2009-04-24 19:35:08,188 DEBUG appengine_rpc.py:308 Got http error,
> > this is try #3
> > 2009-04-24 19:35:18,783 DEBUG appengine_rpc.py:308 Got http error,
> > this is try #4
> > 2009-04-24 19:35:18,784 ERROR appcfg.py:1235 An unexpected error
> > occurred. Aborting.
> > Traceback (most recent call last):
> >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > appcfg.py", line 1213, in DoUpload
> > missing_files = self.Begin()
> >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > appcfg.py", line 1009, in Begin
> > version=self.version, payload=self.config.ToYAML())
> >   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> > appengine_rpc.py", line 303, in Send
> > f = self.opener.open(req)
> >   File "/usr/lib/python2.5/urllib2.py", line 387, in open
> > response = meth(req, response)
> >   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
> > 'http', request, response, code, msg, hdrs)
> >   File "/usr/lib/python2.5/urllib2.py", line 425, in error
> > return self._call_chain(*args)
> >   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
> > result = func(*args)
> >   File "/usr/lib/python2.5/urllib2.py", line 506, in
> > http_error_default
> > raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 500: Internal Server Error
> > Error 500: --- begin server output ---
>
> > Server Error (500)
> > A server error has occurred.
> > --- end server output ---
>
> > Earlier this day I had a number of issues with application "not ready
> > to serve yet" errors. When I went to the dashboard, I found that
> > version 1 (which is one and the only I've worked on so far) wasn't set
> > as a default one. So, I set it as a default, and "not ready to serve
> > yet" errors stopped happening. In a while though I started
> > experiencing this 500/503 errors.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Error while Deploying App

2009-04-24 Thread Pankaj Vishwani

I am getting the following error while trying to deploy new version of
my app:

Deploying new version.
2009-04-24 08:42:48,680 ERROR appcfg.py:1235 An unexpected error
occurred. Abort
ing.
Traceback (most recent call last):
  File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
line 1228,
 in DoUpload
self.Commit()
  File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
line 1101,
 in Commit
self.Deploy()
  File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
line 1129,
 in Deploy
version=self.version)
  File "C:\Google\google_appengine\google\appengine\tools
\appengine_rpc.py", lin
e 303, in Send
f = self.opener.open(req)
  File "C:\Python25\lib\urllib2.py", line 387, in open
response = meth(req, response)
  File "C:\Python25\lib\urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
  File "C:\Python25\lib\urllib2.py", line 425, in error
return self._call_chain(*args)
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
  File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Rolling back the update.
Error 503: --- begin server output ---

Try Again (503)
An unexpected failure has occurred. Please try again.
--- end server output ---



Can someone tell me what to do? This started half an hour ago around
8:20am (PST).


Regards,
Pankaj Vishwani



--~--~-~--~~~---~--~~
You 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] 500/503 Server Error on update

2009-04-24 Thread brightnesslevels

I've started using version 1.1.9 of Google App Engine about a week
ago, and everything had been working okay (update-wise) until today.
Now I'm getting either 500 or 503 error when I'm trying to update my
app. Here's what's in the log:

$ ../google_appengine/appcfg.py update --noisy .
2009-04-24 19:34:35,640 INFO appengine_rpc.py:373 Loaded
authentication cookies from /home/sp/.appcfg_cookies
2009-04-24 19:34:35,640 INFO appengine_rpc.py:120 Server:
appengine.google.com
2009-04-24 19:34:35,649 INFO appcfg.py:319 Checking for updates to the
SDK.
2009-04-24 19:34:36,029 DEBUG appcfg.py:408 Skipping nag message
2009-04-24 19:34:36,030 INFO appcfg.py:1178 Reading app
configuration.
Scanning files on local disk.
[ scans local files ]
Initiating update.
2009-04-24 19:34:46,647 DEBUG appengine_rpc.py:308 Got http error,
this is try #1
2009-04-24 19:34:57,584 DEBUG appengine_rpc.py:308 Got http error,
this is try #2
2009-04-24 19:35:08,188 DEBUG appengine_rpc.py:308 Got http error,
this is try #3
2009-04-24 19:35:18,783 DEBUG appengine_rpc.py:308 Got http error,
this is try #4
2009-04-24 19:35:18,784 ERROR appcfg.py:1235 An unexpected error
occurred. Aborting.
Traceback (most recent call last):
  File "/home/sp/c/python/google_appengine/google/appengine/tools/
appcfg.py", line 1213, in DoUpload
missing_files = self.Begin()
  File "/home/sp/c/python/google_appengine/google/appengine/tools/
appcfg.py", line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
  File "/home/sp/c/python/google_appengine/google/appengine/tools/
appengine_rpc.py", line 303, in Send
f = self.opener.open(req)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Error 500: --- begin server output ---

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

Earlier this day I had a number of issues with application "not ready
to serve yet" errors. When I went to the dashboard, I found that
version 1 (which is one and the only I've worked on so far) wasn't set
as a default one. So, I set it as a default, and "not ready to serve
yet" errors stopped happening. In a while though I started
experiencing this 500/503 errors.
--~--~-~--~~~---~--~~
You 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: 500/503 Server Error on update

2009-04-24 Thread brightnesslevels

Just tried this on the most recent 1.2.1, and still getting the
errors.

On Apr 24, 7:41 pm, brightnesslevels 
wrote:
> I've started using version 1.1.9 of Google App Engine about a week
> ago, and everything had been working okay (update-wise) until today.
> Now I'm getting either 500 or 503 error when I'm trying to update my
> app. Here's what's in the log:
>
> $ ../google_appengine/appcfg.py update --noisy .
> 2009-04-24 19:34:35,640 INFO appengine_rpc.py:373 Loaded
> authentication cookies from /home/sp/.appcfg_cookies
> 2009-04-24 19:34:35,640 INFO appengine_rpc.py:120 Server:
> appengine.google.com
> 2009-04-24 19:34:35,649 INFO appcfg.py:319 Checking for updates to the
> SDK.
> 2009-04-24 19:34:36,029 DEBUG appcfg.py:408 Skipping nag message
> 2009-04-24 19:34:36,030 INFO appcfg.py:1178 Reading app
> configuration.
> Scanning files on local disk.
> [ scans local files ]
> Initiating update.
> 2009-04-24 19:34:46,647 DEBUG appengine_rpc.py:308 Got http error,
> this is try #1
> 2009-04-24 19:34:57,584 DEBUG appengine_rpc.py:308 Got http error,
> this is try #2
> 2009-04-24 19:35:08,188 DEBUG appengine_rpc.py:308 Got http error,
> this is try #3
> 2009-04-24 19:35:18,783 DEBUG appengine_rpc.py:308 Got http error,
> this is try #4
> 2009-04-24 19:35:18,784 ERROR appcfg.py:1235 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> appcfg.py", line 1213, in DoUpload
>     missing_files = self.Begin()
>   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> appcfg.py", line 1009, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "/home/sp/c/python/google_appengine/google/appengine/tools/
> appengine_rpc.py", line 303, in Send
>     f = self.opener.open(req)
>   File "/usr/lib/python2.5/urllib2.py", line 387, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib/python2.5/urllib2.py", line 425, in error
>     return self._call_chain(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 506, in
> http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> HTTPError: HTTP Error 500: Internal Server Error
> Error 500: --- begin server output ---
>
> Server Error (500)
> A server error has occurred.
> --- end server output ---
>
> Earlier this day I had a number of issues with application "not ready
> to serve yet" errors. When I went to the dashboard, I found that
> version 1 (which is one and the only I've worked on so far) wasn't set
> as a default one. So, I set it as a default, and "not ready to serve
> yet" errors stopped happening. In a while though I started
> experiencing this 500/503 errors.
--~--~-~--~~~---~--~~
You 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: 400 bad request error while uploading Google App via Eclipse plugin..

2009-04-24 Thread nsdh

Hello Jeff,

Please let me know How much time will take to get mail generally, Hope
not days? I need to plan my work priorities.

On Apr 23, 9:29 pm, "Jeff S (Google)"  wrote:
> Hi rohit,
>
> Hyphen's are allowed in the app ID. Have you requested access to use the
> Java runtime on App Engine? You'll need to wait for an acceptance email and
> follow the steps it provides.
>
> http://code.google.com/appengine/kb/java.html#runtime
>
> Thank you,
>
> Jeff
>
> On Wed, Apr 22, 2009 at 11:54 AM, rohit  wrote:
>
> > Hi,
>
> > I am getting a 400 bad request error while uploading a simple app
> > using eclipse plugin. App Id = 'puma-core'.
>
> > app id is not supposed to have a hyphen but I guess my app Id was
> > accepted. anyhow..why plugin is having this issue
>
> > initiating update.
> > Unable to upload:
> > java.io.IOException: Error posting to URL:
>
> >http://appengine.google.com/api/appversion/create?app_id=puma-core&ve...
> > 400 Bad Request
> > Invalid runtime specified.
>
> >        at com.google.appengine.tools.admin.ServerConnection.send
> > (ServerConnection.java:114)
> >        at com.google.appengine.tools.admin.ServerConnection.post
> > (ServerConnection.java:66)
> >        at com.google.appengine.tools.admin.AppVersionUpload.send
> > (AppVersionUpload.java:345)
> >        at
> > com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
> > (AppVersionUpload.java:159)
> >        at com.google.appengine.tools.admin.AppVersionUpload.doUpload
> > (AppVersionUpload.java:68)
> >        at com.google.appengine.tools.admin.AppAdminImpl.update
> > (AppAdminImpl.java:41)
> >        at
> > com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
> > (AppEngineBridgeImpl.java:203)
> >        at
> > com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
> > (DeployProjectJob.java:97)
> >        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
> > (InternalWorkspaceJob.java:38)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> > java.io.IOException: Error posting to URL:
>
> >http://appengine.google.com/api/appversion/create?app_id=puma-core&ve...
> > 400 Bad Request
> > Invalid runtime specified.

--~--~-~--~~~---~--~~
You 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: Error while Deploying App

2009-04-24 Thread Pankaj Vishwani

It works fine. Thanks Johnson.


Regards,
Pankaj Vishwani


On Apr 24, 8:54 am, "www.threetags.com"  wrote:
> We experience the same error. And deleting a deployed version through
> the console produces a server error.
>
> On Apr 24, 11:50 am, Pankaj Vishwani  wrote:
>
> > I am getting the following error while trying to deploy new version of
> > my app:
>
> > Deploying new version.
> > 2009-04-24 08:42:48,680 ERROR appcfg.py:1235 An unexpected error
> > occurred. Abort
> > ing.
> > Traceback (most recent call last):
> >   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> > line 1228,
> >  in DoUpload
> >     self.Commit()
> >   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> > line 1101,
> >  in Commit
> >     self.Deploy()
> >   File "C:\Google\google_appengine\google\appengine\tools\appcfg.py",
> > line 1129,
> >  in Deploy
> >     version=self.version)
> >   File "C:\Google\google_appengine\google\appengine\tools
> > \appengine_rpc.py", lin
> > e 303, in Send
> >     f = self.opener.open(req)
> >   File "C:\Python25\lib\urllib2.py", line 387, in open
> >     response = meth(req, response)
> >   File "C:\Python25\lib\urllib2.py", line 498, in http_response
> >     'http', request, response, code, msg, hdrs)
> >   File "C:\Python25\lib\urllib2.py", line 425, in error
> >     return self._call_chain(*args)
> >   File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
> >     result = func(*args)
> >   File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
> >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 503: Service Unavailable
> > Rolling back the update.
> > Error 503: --- begin server output ---
>
> > Try Again (503)
> > An unexpected failure has occurred. Please try again.
> > --- end server output ---
>
> > Can someone tell me what to do? This started half an hour ago around
> > 8:20am (PST).
>
> > Regards,
> > Pankaj Vishwani
--~--~-~--~~~---~--~~
You 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: Customizing "sender" name when sending out emails

2009-04-24 Thread siw

same prob here.

can From be customised?




On Apr 9, 8:59 pm, Vm  wrote:
> I read in the Message Fields API that:
> The sender address must be theemailaddress only.
>
> Now, when emails are being sent out, the only theemailaddress will
> appear in the "From" field in theemail. Shouldn't the registered name
> associated with theemailaddress (admin/logged in user) be in the
> "From" field as well? Or is there any way of customizing the name
> portion for the "sender" when sending out anemail?

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



[google-appengine] Datastore: persist data.

2009-04-24 Thread deostroll

Hi,

Is the data I persist in the datastore persisted indefinitely? I am
just looking for the feasibility of building a simple forum web
application. I want to know how this app can be developed using the
current setup...

--deostroll

--~--~-~--~~~---~--~~
You 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 XSLT transformation available for Java?

2009-04-24 Thread Jas0n


> Haven't tried yet, but has anyone tried to run a transform using
> either Xalan or Saxon's API directly as opposed to going through JAXP?

I've posted to their mailing lists to find out whether either of them
do the transform without spawning new threads.

I've also posted my Xalan related question in the GAE Java group,
since its more likely to get noticed there.

cheers .. Jason

--~--~-~--~~~---~--~~
You 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] Get records keys from the datastore

2009-04-24 Thread YahavT

Hi,

I want to get from the datastore a record i added plus it's key.
How can I do it?

If I just run a regular SELECT I just get the record data, without the
key of the record.

for example:
"
class temp(db.Model)
  my_var = db.StringProperty()

record = temp()
record.my_var = "Testing"
record_key = record.put()

my_query = db.GqlQuery("SELECT * FROM temp")
query_results = my_query.get()  # I ONLY GET my_var.. NO
KEY !! "

Please help...
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: Is XSLT transformation available for Java?

2009-04-24 Thread Jas0n

Put Xalan (or Saxon?) in your WEB-INF/lib

The trick is, instead of doing:

 System.setProperty("javax.xml.transform.TransformerFactory", ...

do something like this (for Xalan):

javax.xml.transform.TransformerFactory tfactory
  =javax.xml.transform.TransformerFactory
   .newInstance
("org.apache.xalan.processor.TransformerFactoryImpl",
myservlet.class.getClassLoader() );

It seems that "Setting a system property only
affects your application's view of that property, and not the JVM's
view." on the runtime.html web page means System.setProperty
("javax.xml.transform.TransformerFactory", ... will be ignored.

With the above approach I could perform my transform. so
there is at least partial support.

Note though that there may be use cases where Xalan will try to create
a Thread; happily, I haven't hit them yet...


On Apr 21, 9:53 pm, Robert Koberg  wrote:
> On Apr 21, 2009, at 7:47 AM, Sam Johnston wrote:
>
>
>
> > On Apr 20, 5:12 pm, Anthony  wrote:
> >> java.lang.NoClassDefFoundError:
> >> com.sun.org.apache.xalan.internal.xsltc.dom.AbsoluteIterator is a
> >> restricted class. Please see the Google App Engine developer's guide
> >> for more details.
>
> > So it seems that it's there but we're not allowed to use it. It's hard
> > to imagine this is anything but deliberate, but as a relative newbie
> > to XSLT on Java what alternatives do we have (e.g. uploadingSaxon-B
> > with our projects)?
>
> Haven't tried yet, but has anyone tried to run a transform using
> either Xalan orSaxon'sAPI directly as opposed to going through JAXP?
>
> -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-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] Java SDK Console

2009-04-24 Thread praseodym

Hi all,

Is there any possibility of an SDK Console for Java on AppEngine? I
really appreciate being able to view the contents of the datastore
with the Python runtime.

Regards,
Mark

--~--~-~--~~~---~--~~
You 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: Indexes stuck at Building

2009-04-24 Thread kiren

I'm having the same issue - both updating an app with no data (I
deleted the data before updating), and with a completely new app.  Old
app named "kirentest1", fresh app "duckbiller"

On Apr 24, 1:22 am, "Michael O'Brien"  wrote:
> Hi there,
>
> I just changed the name of one of my models, which means I need a new
> index. Even though there are no entries of this type though, the index
> is stuck at the "Building" state. Could someone from Google take a
> look?
>
> My appid is relayapp and the index is Comment.
>
> thanks a lot!
>
> Michael

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



[google-appengine] How many days will it take to activate the App Engine account??Unable to upload app: Error posting to URL:

2009-04-24 Thread nsdh

I am getting the below error, I use gmail username and password

Unable to upload app: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=mixmobile1&version=1&;


When I googled it shows that my account need to be activated. Iam
waiting for the mail from App Engine...How much time will it take?


--~--~-~--~~~---~--~~
You 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: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id: Invalid runtime specified.

2009-04-24 Thread nsdh

How may day will it take to get the mail from APP engine.?

On Apr 14, 5:11 am, Sudeep Bhattarai  wrote:
> Thanks Jason.That was it..It worked after I used gmail account.
> Sudeep
>
> 2009/4/13 Jason (Google) 
>
> > Right, if you're using a Google Apps account to upload your application,
> > that might be the issue. If you have a non-Google Apps account, e.g. a Gmail
> > address, try getting this account activated for the Java runtime use it to
> > deploy your applications.
>
> > - Jason
>
> > 2009/4/11 Dmitry V Ilyin 
>
> >> Do you use Google Apps-based account?
>
> >> On 12 апр, 10:09, "sud...@najanaja.com"  wrote:
> >> > Hi Jason,
> >> > I have similar issue while publishing java app using eclipse and yes I
> >> > did receive an email two days ago stating that my java app engine
> >> > account had been activated.
> >> > Any ideas?
> >> > Thanks
> >> > Sudeep
> >> > On Apr 9, 1:39 pm, Jason  wrote:
>
> >> > > Have you received an email indicating your Google App Engine for Java
> >> > > account has been activated? In order to deploy your applications to
> >> > > production, your account must be activated first:
>
> >> > >http://code.google.com/appengine/kb/java.html#runtime
>
> >> > > - Jason
>
> >> > > On Apr 8, 1:22 pm, njaffer  wrote:
>
> >> > > > Getting following error when attempting to upload using eclipse
> >> plugin
> >> > > > on a mac, using eclipse 3.3.x.
>
> >> > > > Unable to upload:
> >> > > > java.io.IOException: Error posting to URL:
> >>http://appengine.google.com/api/appversion/create?app_id=xxx&version=1&;
> >> > > > 400 Bad Request
> >> > > > Invalid runtime specified.
>
> >> > > >         at com.google.appengine.tools.admin.ServerConnection.send
> >> > > > (ServerConnection.java:114)
> >> > > >         at com.google.appengine.tools.admin.ServerConnection.post
> >> > > > (ServerConnection.java:66)
> >> > > >         at com.google.appengine.tools.admin.AppVersionUpload.send
> >> > > > (AppVersionUpload.java:345)
> >> > > >         at
> >> com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
> >> > > > (AppVersionUpload.java:159)
> >> > > >         at
> >> com.google.appengine.tools.admin.AppVersionUpload.doUpload
> >> > > > (AppVersionUpload.java:68)
> >> > > >         at com.google.appengine.tools.admin.AppAdminImpl.update
> >> > > > (AppAdminImpl.java:41)
> >> > > >         at
> >> com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
> >> > > > (AppEngineBridgeImpl.java:203)
> >> > > >         at
>
> >> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
> >> > > > (DeployProjectJob.java:97)
> >> > > >         at
> >> org.eclipse.core.internal.resources.InternalWorkspaceJob.run
> >> > > > (InternalWorkspaceJob.java:38)
> >> > > >         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >> > > > java.io.IOException: Error posting to URL:
> >>http://appengine.google.com/api/appversion/create?app_id=&version=1&;
> >> > > > 400 Bad Request
> >> > > > Invalid runtime specified.

--~--~-~--~~~---~--~~
You 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] Verification issues, cell number tied to closed account

2009-04-24 Thread Magnus

Hi!

I have found no way to contact support so I turn to the groups, hoping
for some Google rep to pick this up :)

Recently I closed one of my Google accounts which was also registered
for Appengine. I want to use this with my new account but it seems
that the cell phone number does not get released when closing an
account, thus I need someone to release 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] most efficient datapath for model with multiple references

2009-04-24 Thread tayknight

If I have a model like:

class market(db.Model)
  expires = db.DateTimeProperty()

class zones(db.Model)
  name = db.StringProperty()

class siteuser(db.Model)
  username = db.StringProptery()
  zone = db.ReferenceProperty()

class MarketZone(db.Model)
  market = db.ReferenceProperty(market)
  zone = db.ReferenceProperty(zone)

with usage like:
multiple markets. ( < 1000)
a market will have muliple zones. ( < 100 zones per market)
a siteuser can be in multiple zones ( some zones > 1000 users )
not all zones will have siteusers

I need to query to get active Markets, easy to do with something like
markets = Market.all().filter('expires > ', datetime.now()).fetch
(1000)

So, is there any way to get active user, their market, and their zone
without hitting a 1000 limit result from fetch()?
Can I somehow get all the MarketZones where the market is active
(hasn't expired) and MarketZone.zone has a user?

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: Accessing Google Apps Data from Google App Engine

2009-04-24 Thread softlad

Nick,

Thanks. So I'm still a bit confused, because when I use
GenerateAuthSubURL in my code, I get taken to a generic login page
where only my personal Gmail credentials can be entered, rather than
my Google Apps Domain login page. What do I need to do to make this
happen?

Sorry, if I'm being thick but so far I haven't seen any sample code
which shows how to do this.

Cheers,

Mat.


On Apr 23, 5:06 pm, Nick Johnson  wrote:
> Hi softlad,
>
> There's no special connection between Google Apps and Google App
> Engine user data. You'll need to use the existing APIs to access this.
> You can, of course, cache the data and so forth to minimize the number
> of requests you need to do.
>
> -Nick Johnson
--~--~-~--~~~---~--~~
You 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've reached my quota, only I have this great new name for my app

2009-04-24 Thread Ted Gilchrist
Ok, I starred it. And added the following plaintive plea:

I could do the tricky thing, and start creating new apps under a
different email id.
But I'm a straight up Google fan boy, and I don't want to do you this
way. Sigh, but
if I must  For me, it's not about deleting the data. It's about thinking of
really cool new names for my apps, and not wanting to go off and register the
domains, etc. Hey, wait a minute. About allowing aliases for apps? Is that any
easier? I just wanna use my new cool app name. Is that so wrong?



On Fri, Apr 24, 2009 at 10:18 AM, T.J. Crowder wrote:

>
> And you have starred this issue[1], right?
>
> [1] http://code.google.com/p/googleappengine/issues/detail?id=335
>
> I find it truly astonishing that there's no way to delete an
> application.  That's a v0.1 feature, full stop.
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
>
>
> On Apr 24, 2:26 pm, egilchri  wrote:
> > I've reached my quota of 10 apps, and I really want to either rename
> > one of them, or delete it, and then get back one for my quota. That
> > way, I'll be able to use this great new name for an app I have. I
> > realize I could register the domain, but I don't want to have to do
> > that, if possible.
> >
> > I know this question has been asked before, but are there any updates?
> >
> > Or, you could just raise my quota by one little bitty app.
> >
> > Thanks,
> >
> > Ted Gilchrist
> >
>


-- 
"Speech, not just for humans"

VnoTed: http://vnoted.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've reached my quota, only I have this great new name for my app

2009-04-24 Thread T.J. Crowder

And you have starred this issue[1], right?

[1] http://code.google.com/p/googleappengine/issues/detail?id=335

I find it truly astonishing that there's no way to delete an
application.  That's a v0.1 feature, full stop.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available


On Apr 24, 2:26 pm, egilchri  wrote:
> I've reached my quota of 10 apps, and I really want to either rename
> one of them, or delete it, and then get back one for my quota. That
> way, I'll be able to use this great new name for an app I have. I
> realize I could register the domain, but I don't want to have to do
> that, if possible.
>
> I know this question has been asked before, but are there any updates?
>
> Or, you could just raise my quota by one little bitty app.
>
> Thanks,
>
> Ted Gilchrist
--~--~-~--~~~---~--~~
You 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've reached my quota, only I have this great new name for my app

2009-04-24 Thread Sylvain

Easy :)

With another Google/Gmail account, create GAE apps and then set your e-
mail as developer.
Then can have an infinite apps.

You just need a SMS for that

Regards

On 24 avr, 15:26, egilchri  wrote:
> I've reached my quota of 10 apps, and I really want to either rename
> one of them, or delete it, and then get back one for my quota. That
> way, I'll be able to use this great new name for an app I have. I
> realize I could register the domain, but I don't want to have to do
> that, if possible.
>
> I know this question has been asked before, but are there any updates?
>
> Or, you could just raise my quota by one little bitty app.
>
> Thanks,
>
> Ted Gilchrist
--~--~-~--~~~---~--~~
You 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] I've reached my quota, only I have this great new name for my app

2009-04-24 Thread egilchri

I've reached my quota of 10 apps, and I really want to either rename
one of them, or delete it, and then get back one for my quota. That
way, I'll be able to use this great new name for an app I have. I
realize I could register the domain, but I don't want to have to do
that, if possible.

I know this question has been asked before, but are there any updates?

Or, you could just raise my quota by one little bitty app.

Thanks,

Ted Gilchrist
--~--~-~--~~~---~--~~
You 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: Indexes stuck at Building

2009-04-24 Thread Michael O'Brien

This fixed itself, although I still have one (old) index in Error that
I can't delete.

Is it typical for an index for a new model to take a few hours to
build? I thought the building process would only apply if existing
entities had to be indexed?

thanks
Michael

On Apr 24, 9:22 am, "Michael O'Brien"  wrote:
> Hi there,
>
> I just changed the name of one of my models, which means I need a new
> index. Even though there are no entries of this type though, the index
> is stuck at the "Building" state. Could someone from Google take a
> look?
>
> My appid is relayapp and the index is Comment.
>
> thanks a lot!
>
> Michael
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: StockWatcher Using Login Service Deploy Problem

2009-04-24 Thread unnamedharald

Replying to my own post: It's working fine this morning.

On Apr 23, 8:28 pm, unnamedharald  wrote:
> I have the StockWatcher app using the RPC login service running
> successfully via Eclipse debug mode and compiled/running in the
> browser.  It tells me to sign in, which I do, and then StockWatcher
> appears, as it should.  When I deploy to App Engine, it tells me to
> sign in, it takes me to the Google sign-in page, I sign in
> successfully (if I enter an invalid password the login panel complains
> until I enter the correct one) then it returns me to stockwatcher
> which still says I need to sign in.  Has anyone else seen this
> problem?  It's acting as if the user is null even if I login
> successfully.
--~--~-~--~~~---~--~~
You 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: Java deploys

2009-04-24 Thread djidjadji

Every uploaded versionID of an appID can be a different application,
and can be Java or Python.

You access them on the following URLs

http://versionID.latest.appID.appspot.com/

Fill in the right text for versionID and appID

2009/4/24 Randinn :
>
> How many of the ten apps can be Java, I have one, I have made another
> and it's Python, if I can have more how can I transform the Python to
> Java?

--~--~-~--~~~---~--~~
You 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] Java deploys

2009-04-24 Thread Randinn

How many of the ten apps can be Java, I have one, I have made another
and it's Python, if I can have more how can I transform the Python to
Java?
--~--~-~--~~~---~--~~
You 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] Google Pages -> GAE migration guide

2009-04-24 Thread Sylvain

I've many Google Pages sites for my Google Apps domains. (i.e. : all
www..com use Google Pages)

So now, Google will be shut-down very soon, so 'ive migrated all the
sites to GAE.

I was only using Google Pages with .html, .js, .css file (not the
creator). So it was easy to migrate it.

Here is the steps to avoid a 404 error issue.

1 - In the Google App admin :
* Select Google Pages service
* Modify web site
* Download the full site (there is an option now :
http://googlesystem.blogspot.com/2009/04/google-page-creator-migration-info.html
)
2 - Create a GAE app : www- (for example)
3 - Unzip and upload the files and test it : www-.appspot.com
4 - In the Google App admin :
* Change www..com to the standard url : 
www.a..com.googlepages.com
* Then disable this service
5 - Add a new GAE service i.e : www- et choose the new alias :
www..com

If you change the order (4 <-> 5) then after a while you will have a
404 error an you will have to remove the GAE app et re-add it again.

I hope it can help

Regards

Here is my app.yaml , it works with the .zip from Google Pages
--
application: your_app
version: 1
runtime: python
api_version: 1

default_expiration: "1d"

handlers:
- url: /
  static_files: index.html
  upload: index.html

- url: /(.*)
  static_files: \1
  upload: (.*)
--~--~-~--~~~---~--~~
You 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: Complete list of limits and quotas?

2009-04-24 Thread T.J. Crowder

Hi Jeff,

Thanks for that.  And thanks for all the help you provide to folks in
this group, I see you answering questions all over.

> The limit on 100 custom composite indicies per app is not currently
> documented to my knowledge, part of the reason is that I think it would be
> best to design your app without that constraint in mind.

IMHO, it's really, really important to document *all* of the limits
and quotas, and in one canonical place -- an index, if you will, of
quotas and limitations, with links to detail in the various pages you
and I have linked earlier.  In relatively little reading in this
group, I've run into the list I provided earlier and apparently
there's something called the "App Config Service Config App Call
Count" quota[1]; what else is there, lurking, waiting to trip up the
unwary developer?

[1] 
http://groups.google.com/group/google-appengine/browse_thread/thread/891ce78da54b3659

It's hard for me to envision seriously considering using AppEngine for
anything but a toy project when significant limitations (100 indexes
is significant) are not clearly documented.  If you can work with
people on some of them, indicate that on the list; it's not a reason
not to document the limitation.  I see in other threads, and greatly
appreciate, that Google is happy to work with people when they run
into quotas and have a good reason for needing more than the quota
currently allows, but that's not at all the same thing.

There is, clearly, a full list somewhere -- the admin console isn't
just making these quotas up. :-)  Can I strongly suggest providing
this index of quotas, if only to demonstrate to people that concerns
like mine are unwarranted?

Thanks again,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Apr 15, 7:22 pm, "Jeff S (Google)"  wrote:
> Hi T.J.,
>
> I'm glad you've raised this issue. The documentation on quotas has most of
> this information:
>
> http://code.google.com/appengine/docs/quotas.html
>
> For additional limitations, most overview sections on the APIs and services
> have specific details for that service. For example, see:
>
> http://code.google.com/appengine/docs/java/datastore/overview.html#Qu...http://code.google.com/appengine/docs/python/images/overview.html#Quo...http://code.google.com/appengine/docs/java/mail/overview.html#Quotas_...
>
> The limit on 100 custom composite indicies per app is not currently
> documented to my knowledge, part of the reason is that I think it would be
> best to design your app without that constraint in mind. So far, very few
> apps have hit this limit and if you need more than 100 indicies, I'd be
> happy to talk it over and see what we can work out. Recent reports of
> hitting this limit have been the result of an issue which caused the number
> of indicies to be overreported for a small subset of apps.
>
> Thank you,
>
> Jeff
>
> On Tue, Apr 14, 2009 at 1:51 PM, T.J. Crowder wrote:
>
>
>
> > Hi all,
>
> > Only-slightly-abashedly bumping this, having foolishly posted it
> > during the holiday weekend.  Apparently (continuing the list) there's
> > a "Workflow Backend Index Task Count"[1] as well.
>
> > Anyone (at Google or otherwise) have a link to an official
> > comprehensive list, and if so, would you post it?  If not, perhaps we
> > should try to bring together links for the disparate parts.
>
> > [1]
> >http://groups.google.com/group/google-appengine/browse_thread/thread/...
>
> > Thanks in advance,
> > --
> > T.J. Crowder
> > tj / crowder software / com
> > Independent Software Engineer, consulting services available
>
> > On Apr 11, 9:55 am, "T.J. Crowder"  wrote:
> > > Hi all,
>
> > > Thrilled about the AppEngine Java support and reading up on the
> > > platform, etc.   Very exciting stuff.
>
> > > Information about the various limits imposed by the system seems to be
> > > a bit spread all over, is there anywhere one can go for a quick
> > > rundown of *all* the various limits?
>
> > > Naturally there's the quotas page[1], but then there are further
> > > significant limits for the datastore[2], and neither of those pages
> > > mentions that there is apparently a limit on the number of datastore
> > > indices[3] -- a very important piece of information.  It also appears
> > > that each static file in your app can be no more than 10MB[4].
> > > There's some disagreement amongst pages as well; the overview page[5]
> > > says the free accounts get 500MB of storage, but the quotas page
> > > (presumably the more canonical of the two) says 1GB.  Apparently
> > > requests must be satisfied within 30 seconds[4][5].  A user seemed to
> > > say[6] in the group that there is a 1,000 file limit, but I haven't
> > > found that one (yet!) from Google.  And it's not clear to me whether
> > > it's 1GB of storage, total, or 1GB of datastore storage *plus* the
> > > storage of your application files.
>
> > > For clarity, this is not criticism disguised as a question.  I'm
> > > rea

[google-appengine] Indexes stuck at Building

2009-04-24 Thread Michael O'Brien

Hi there,

I just changed the name of one of my models, which means I need a new
index. Even though there are no entries of this type though, the index
is stuck at the "Building" state. Could someone from Google take a
look?

My appid is relayapp and the index is Comment.

thanks a lot!

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



[google-appengine] Re: regarding accessing list of values

2009-04-24 Thread Sagar T.R.
Hi,
 Thank you very much for your suggestionPlease also help me in
making  the attributes of an entity as unique and prevent from entering the
duplicate values into the datastore.Actually I used the code like this is it
right..??
class Route(db.Model):
 routenumber = db.StringProperty(unique=True )--->is this way correct?
with regards,
sreevaishnav

--~--~-~--~~~---~--~~
You 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: Indices keep building so long

2009-04-24 Thread djidjadji

It can take a couple of hours, depending on the amount of objects need
to be indexed and the number of index entries that need to be made
(exploding index).

Even deleting an index can take hours, at least according to the
dashboard status.
And there where not much index entries in them

2009/4/23 Takashi Matsuo :
>
> Hi Jeff,
>
> Thank you for your reply.
>
> Now all the indices have turned into Serving state actually. So my
> troubles are gone.
>
> One thing I'd like to clarify is how much time we should expect for
> building indices. IIRC, today, in some app slots, building indices
> took 1 hour or more. All of those are the indices on the kind that has
> 0 entity. Is it normal?
>
> Regards,
>
> -- Takashi Matsuo
>
>
>
> On Fri, Apr 24, 2009 at 5:25 AM, Jeff S (Google)  wrote:
>> Hi Takashi,
>>
>> How long have the indices been building? Also if you send me the app ID I
>> can look into it.
>>
>> Cheers,
>>
>> Jeff
>>
>> On Thu, Apr 23, 2009 at 2:00 AM, Takashi Matsuo 
>> wrote:
>>>
>>> Hi list
>>>
>>> Today, I deployed new applications on prod server. It seems that
>>> deployment is completed except for indices kept under building so long.
>>>
>>> Does anybody experience the same issue?
>>>
>>> -- Takashi Matsuo
>>>
>>>
>>
>>
>> >
>>
>
> >
>

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