[google-appengine] Re: Your application is exceeding a quota: Datastore Indices Count

2009-05-20 Thread Tom Wu

Hi Jeff,

It happen again. It seems the index quota is too small. Could google
increase the index quota a little more ?

My apps are g2100,blitzg2100,cccwikig2100,djangog2100.

Thanks in advance.


Best Regards
Tom Wu



On 5月20日, 上午7時45分, Jeff S (Google) j...@google.com wrote:
 Hi Tom,

 You should be all set, also djangog2100 has a couple of stuck indicies
 which I've moved to the error state.

 Thank you,

 Jeff

 On May 19, 6:09 am, Tom Wu service.g2...@gmail.com wrote:

   HI,

  Please reset my app blitzg2100 and djangog2100.

  Best Regards
  Tom Wu


--~--~-~--~~~---~--~~
You 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] Pyxer, easy framework build on conventions

2009-05-20 Thread Dirk Holtwick

Hi,

I would like to share with you my small framework I build for the
Google App Engine and think you might like it. You find it here coming
along with a short screen cast explaining basic usage:

http://code.google.com/p/pyxer/ (Project)
http://pypi.python.org/pypi/pyxer (Download)

To get started you need to have SetupTools (easy_install) installed on
your system. So installing Pyxer is like this:

$ easy_install pyxer

Now to set up a new project go into an empty directory and type:

$ pyxer init

You get everything there you need, including an 'app.yaml' file that
you might modify a bit, but you don't have to to get started. All
Python packages go into the sub directory 'site-packages'. To install
new packages just drop them there or use pyxer as an easy_install
replacement like:

$ pyxer install pygments

Now it's time to start the server like you always do, e.g.:

$ dev_appserver.py .

For coding have a look into the 'public' folder. If you have static
content, just drop it there and it will be served. For controllers
make the folder an Python package by adding the '__init__.py  file. A
simple example could then look like this:

from pyxer.base import *

@expose
def index(q='nothing'):
return 'The GET variable q contains: %s' % q

If you now call 'http://localhost:8080/?q=Hello' you get the output
'The GET variable q contains: Hello'.

If you return lists or dictionaries, the output will be send in JSON
format. If you do not return or return 'None' Pyxer is looking for a
template with the same name as the controller plus a '.html' suffix,
e.g.

@expose
def test():
c.message = 'Hello World'

This will look for the file 'test.html' in the same directory. This is
handled as a template which supports a templating language that is
very close to Genshi, but less restrictive. So this could be our
template 'test.html':

html
  head
  title py:content='c.message'/title
  /head
  body
This is a message: $c.message
  /body
/html

'c' is a pseudo global variable that is used as the 'context' for
passing values to the template. There are more of these e.g. for
session handling or request data. See the documentation for more
details.

Hope you enjoy this Open Source technology.

Dirk



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



[google-appengine] How to use Images.composite ?

2009-05-20 Thread cast42

Hi,
i'm trying to overlay some icons on a weathermap. I intend to use
image.composite for that.
Just to try out, I load the weathermap background and see if I can at
it in the composite:
back = images.Image(urlfetch.Fetch('http://www.deredactie.be/html/
images/v3/bg_weer_belgie_dag.jpg').content)
img = images.composite([(back, 0 ,0, 1.0, images.TOP_LEFT)], 468, 225,
0, images.PNG)
I get an error (see stack trace) : TypeError: object of type 'Image'
has no len()
What am I doing wrong ???

Thx for helping me out.

preTraceback (most recent call last):
  File quot;/Applications/GoogleAppEngineLauncher.app/Contents/
Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/webapp/__init__.pyquot;, line
501, in __call__
handler.get(*groups)
  File quot;/Users/ln/Documents/weer2atom/weer2atom.pyquot;, line
45, in get
img = images.composite([(back, 0 ,0, 1.0, images.TOP_LEFT)], 468,
225, 0, images.PNG)
 .
for i in xrange(len(self.image_)): n += self.lengthString
(self.image_[i].ByteSize())
  File quot;/Applications/GoogleAppEngineLauncher.app/Contents/
Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/api/images/
images_service_pb.pyquot;, line 561, in ByteSize
n += self.lengthString(len(self.content_))
TypeError: object of type 'Image' has no len()
/pre
--~--~-~--~~~---~--~~
You 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: the GAE's error with JDO at Persistence.

2009-05-20 Thread swined

i have similar problem and it looks like this happens because of
failed enhancement. actually the log which was mentioned in the
message does not exist (or i can't find it) and i still do not know
how to make it work.

enhance:
DataNucleus Enhancer (version 1.1.0) : Enhancement of classes
DataNucleus Enhancer completed with success for 0 classes. Timings :
input=64 ms, enhance=0 ms, total=64 ms. Consult the log for full
details
DataNucleus Enhancer completed and no classes were enhanced. Consult
the log for full details


--~--~-~--~~~---~--~~
You 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] 1.2.2 Update causing new URLFetch 'Stripped prohibited headers' Warnings

2009-05-20 Thread James

I just noticed that dewitt clinton's python-twitter (http://
code.google.com/p/python-twitter/) stopped working with the new
update.

It logs a warning that Stripped prohibited headers from URLFetch
request: ['Host'] , and then hangs until the request times out. As
far as I can tell, python-twitter isn't using any prohibited headers,
and it didn't break until now.

It looks like it's still working on my laptop with 1.2.1, but doesn't
work with 1.2.2. Anyone else getting any strange URLfetch behavior?
--~--~-~--~~~---~--~~
You 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 creating a google app engine application for a google app domain

2009-05-20 Thread anjali

1. Get a google app premium edition trial version using an exisitng
domain :

I have an existing domain mydomain.com that I have taken from
freeservers.com.

I have used this domain to get a premium edition trail version of
google apps. Got my google apps domain created.

I have verified ownership of the domain by uploading an html file on
the free domain

I enabled Two legged Outh for the domain.

Advanced tools - Authentication - Manage OAuth Access
Two-legged OAuthEnable Two-legged OAuth ( Checked this)


Now all my services are shown active in admin dashboard on google apps
domain. This means verification is complete and successful.

2. Add google app engine application for this domain

Logged in on http://appengine.google.com/a/mydomain.com

and clicked on Create application to create a google app engine
application. I restricted the application to my domain by specifying
mydomain.com in the google apps domain field

When I click on Save button on create application UI, it gives me
error :

There were errors : Auth Domain with hperlink on Auth Domain and when
i click on Auth Domain link

it says 404 Not Found:
Error: Not Found
The requested URL /createapp was not found on this server.

Not sure what is the problem. I have another google apps domain and I
am able to create applications successfully over there. This domain is
taken from google apps itself at the time of registration.

Is there anything that I am missing out?  In case you get a google
apps edition using an existing domain, do you need to do anything
extra ?  Why I am not able to create an application??

Please help me out in case anybody has any idea/links. Its bit urgent!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can I choose where in the world my app is hosted?

2009-05-20 Thread Kenneth

You should add a star to this issue:

http://code.google.com/p/googleappengine/issues/detail?id=193

I'm pretty sure the data is hosted in California.  I'm in Ireland and
I'm getting 40ms latency to appspot.l.google.com. I haven't really
pushed bandwidth but latency is generally the key factor and it seems
ok across the Atlantic.  Can't answer about the Pacific.


On May 19, 3:55 am, Ken kenxu...@yahoo.com wrote:
 Hello,

 I am going to develop an app for Chinese users. People in China always
 suffer low connection speed to North American websites, while they
 have a fast connection speed to local websites.

 If I deploy my app on App Engine, where in the world my app will be
 hosted? Can I make the choice to host my app on China servers?

 I would appreciate if anyone from Google App Engine team could answer
 my question. Thanks.

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



[google-appengine] Re: How to use Images.composite ?

2009-05-20 Thread Nick Johnson (Google)

Hi,

Please see my reply to your crosspost in the google-appengine-python group.

-Nick Johnson

On Wed, May 20, 2009 at 8:18 AM, cast42 lode.nachterga...@gmail.com wrote:

 Hi,
 i'm trying to overlay some icons on a weathermap. I intend to use
 image.composite for that.
 Just to try out, I load the weathermap background and see if I can at
 it in the composite:
 back = images.Image(urlfetch.Fetch('http://www.deredactie.be/html/
 images/v3/bg_weer_belgie_dag.jpg').content)
 img = images.composite([(back, 0 ,0, 1.0, images.TOP_LEFT)], 468, 225,
 0, images.PNG)
 I get an error (see stack trace) : TypeError: object of type 'Image'
 has no len()
 What am I doing wrong ???

 Thx for helping me out.

 preTraceback (most recent call last):
  File quot;/Applications/GoogleAppEngineLauncher.app/Contents/
 Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/ext/webapp/__init__.pyquot;, line
 501, in __call__
handler.get(*groups)
  File quot;/Users/ln/Documents/weer2atom/weer2atom.pyquot;, line
 45, in get
img = images.composite([(back, 0 ,0, 1.0, images.TOP_LEFT)], 468,
 225, 0, images.PNG)
  .
for i in xrange(len(self.image_)): n += self.lengthString
 (self.image_[i].ByteSize())
  File quot;/Applications/GoogleAppEngineLauncher.app/Contents/
 Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/api/images/
 images_service_pb.pyquot;, line 561, in ByteSize
n += self.lengthString(len(self.content_))
 TypeError: object of type 'Image' has no len()
 /pre
 

--~--~-~--~~~---~--~~
You 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: TypeError: has_key() takes exactly 1 argument (2 given)

2009-05-20 Thread Nick Johnson (Google)

Hi Neal,

djidjadji's response correctly demonstrates what the problem is: The
second argument to template.render should be a dictionary, not an
individual object. The error you're seeing is because Django is trying
to treat your TaskLog object as a dictionary. Change:

self.renderPage('templates/list.html', TaskLogs)

to:

self.renderPage('templates/list.html', {TaskLogs: TaskLogs})

The other problem is that the 'TaskLogs' object is not a list - it's a
single TaskLog object (or None, if there were no entities that matched
your query). This is because you're calling .get() on the GqlQuery
object, which returns the first match. You should probably be calling
.fetch(limit).

-Nick Johnson

On Wed, May 20, 2009 at 5:04 AM, Neal nwalt...@sprynet.com wrote:

 Tim,
   So you don't use templates at all?  Or some other package?
   I loved what I saw of Django, but then tried to build a vanilla
 app on GAE.  But all the books I had, when talking about templates,
 used the Django template parser.

 Thanks,
 Neal


 On May 19, 8:00 pm, Tim Hoffman zutes...@gmail.com wrote:
 HINeal

 I don't know anything about django - (I don't use it on gae) all I am
 doing is pointing out what the error means
 This probably means you are passing the wrong argument to something in
 one of your templates.

 T

 On May 20, 3:30 am,Nealnwalt...@sprynet.com wrote:



  So basically, are you saying I have to change the Django code to get
  this work?
  If that's the case, surely everyone would be having the exact same
  problem???
  How do I find out if I'm up to date or not?  I just installed GAE
  about a month ago.
  I'm using the django template lib that comes with GAE.

 Neal- Hide quoted text -

 - Show quoted text -
 

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



[google-appengine] Re: Matching date/time GQL query - 500 severe error

2009-05-20 Thread Wooble

taskLogs is a db.GqlQuery.  The only way it will be None is if the
db.GqlQuery() constructor fails horribly.

to count rows returned, use count().

On May 19, 4:05 pm, Neal nwalt...@sprynet.com wrote:
 I switched the GQL Query to the following.
 Now the GQL Query no longer gives 500 severe error, but almost
 anything I code after that does give the 500 severe error.
 I need to test if I returned any rows or not, ideally one.

        taskLogs = db.GqlQuery(SELECT * FROM TaskLog where taskCode = :
 1  +
                  and workerEmail = :2  +
                  and eventStartedDateTime = :3,
                 taskCode,
                 users.get_current_user().email(),
                 startedTime);
        #if taskLogs is None:
        #   DebugText = No rows returned
        ###if len(taskLogs)  1:
        ###   DebugText =  Error: more than one matching row found 
        #else:
           #DebugText = DebugText + nbsp;nbsp; len(taskLogs) =  +
 len(taskLogs);
           #for taskLog in taskLogs:
           #   taskLog1.eventStartedDateTime = datetime.datetime.now
 ();
           #   taskLog1.put();  #save to BigTable database
           #   DebugText = DebugText +  Updated Row 

 If I un-comment these two statements, I get the 500 severe error:
        #if taskLogs is None:
        #   DebugText = No rows returned

 So why don't I get some kind of trapped error?  I'm finding the only
 way to code this is to keep commenting out lines, and adding them back
 in, and taking them out until something seems to work.

 Even when I remove the date/time test, the following code runs:

        taskLogs = db.GqlQuery(SELECT * FROM TaskLog where taskCode = :
 1  +
                  and workerEmail = :2 ,
                 taskCode,
                 users.get_current_user().email()
                    );

        if taskLogs is None:
           DebugText = No rows returned;
        ###if len(taskLogs)  1:
        ###   DebugText =  Error: more than one matching row found 
        else:
           DebugText = DebugText + Rows Returned
           #DebugText = DebugText + nbsp;nbsp; len(taskLogs) =  +
 len(taskLogs);
           for taskLog in taskLogs:
              taskLog.eventCompletedDateTime = datetime.datetime.now
 ();
              taskLog.put();  #save to BigTable database
              DebugText = DebugText +  Updated Row; 

 What is the proper way to test the number of rows returned?

 Thanks again,
 Neal Walters
--~--~-~--~~~---~--~~
You 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: Could Mailman run on AppEngine?

2009-05-20 Thread Wooble



On May 19, 5:13 pm, Nevin Freeman nevin.free...@gmail.com wrote:
 Has anyone tried to port Mailman (http://www.gnu.org/software/mailman/
 index.html) to run on AppEngine? I'm assuming there would be some
 major barriers, but I think they might be beyond what I have time for.
 All comments on the topic welcome!

An App Engine app can't receive email at all right now; I think that's
probably more than a major barrier.

Receiving mail is on the roadmap; I wouldn't be surprised to see
mailing list software running on App Engine once it's possible.
--~--~-~--~~~---~--~~
You 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: Could Mailman run on AppEngine?

2009-05-20 Thread Nick Johnson (Google)

As Wooble points out, receiving email is not currently possible with
App Engine, though third-party services like smtp2web.com exist to
facilitate this. More to the point, App Engine puts restrictions on
what email you can send using it - the 'from' field must always be the
logged in user or one of the app's administrators. This makes App
Engine a poor choice - in my opinion - for running a mailing list.

You can always create your own Google Group instead, though - it has
all the features you're likely to need in a mailing list.

-Nick Johnson

On Tue, May 19, 2009 at 10:13 PM, Nevin Freeman nevin.free...@gmail.com wrote:

 Has anyone tried to port Mailman (http://www.gnu.org/software/mailman/
 index.html) to run on AppEngine? I'm assuming there would be some
 major barriers, but I think they might be beyond what I have time for.
 All comments on the topic welcome!

 Thanks,
 Nevin
 

--~--~-~--~~~---~--~~
You 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: TypeError: has_key() takes exactly 1 argument (2 given)

2009-05-20 Thread Tim Hoffman

Hi Neal

I do use templates but zpt based ones, I am not using any bits of
django
there are quite a few other python lightweight frameworks running on
gae
now.

For alternatives have a look at things like pylons or repoze, however
you will
 possibly be a bot more on your own as django is a bit of a default
for gae seeing
google is shipping it.


T

On May 20, 12:04 pm, Neal nwalt...@sprynet.com wrote:
 Tim,
    So you don't use templates at all?  Or some other package?
    I loved what I saw of Django, but then tried to build a vanilla
 app on GAE.  But all the books I had, when talking about templates,
 used the Django template parser.

 Thanks,
 Neal

 On May 19, 8:00 pm, Tim Hoffman zutes...@gmail.com wrote:

  HINeal

  I don't know anything about django - (I don't use it on gae) all I am
  doing is pointing out what the error means
  This probably means you are passing the wrong argument to something in
  one of your templates.

  T

  On May 20, 3:30 am,Nealnwalt...@sprynet.com wrote:

   So basically, are you saying I have to change the Django code to get
   this work?
   If that's the case, surely everyone would be having the exact same
   problem???
   How do I find out if I'm up to date or not?  I just installed GAE
   about a month ago.
   I'm using the django template lib that comes with GAE.

  Neal- Hide quoted text -

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



[google-appengine] Re: Too Many Versions (403) Error on Deploy

2009-05-20 Thread Nick Johnson (Google)

How many major versions do you have active on App Engine? It's not
really intended that you have 10+ active versions of an app - once
you're done with an old version, you should delete it.

Also note - if it's helpful - that major version names are strings,
not integers, so you can name your versions as you wish. I typically
use trunk and live, which gives me a stable name for my
in-development work. Once I've verified a release doesn't break
anything, I just redeploy to 'live'.

-Nick Johnson

On Tue, May 19, 2009 at 10:57 PM, Joe joe.berge...@gmail.com wrote:

 Is anybody else seeing a Too Many Versions (403) error when they
 attempt a deploy? It's happening for me on version 11 of my app, even
 though this would be only the second mini-version within 11 ... and I
 tried bumping my version up to 12 to see if it was a bug specific to
 version 11 ... but I still received the error. I cannot go back to
 version 10 and test that direction because 10 is in production and I'd
 hate to lose...

 In the App Engine issue tracker, this is related to #744, I think...
 And, I put a comment up there yesterday but have not heard anything so
 I'm putting it out here for the community because it's a show-stopping
 kind of thing. Anyone else seen this kind of bug in deployment and
 found a workaround?

 Thank y'all kindly!

 Oh, just in case folks want to take a peek, here's a link directly to
 my issue tracker comment ... it includes debug output and app name:

 http://code.google.com/p/googleappengine/issues/detail?id=744q=too%20many%20versionscolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component#c5
 

--~--~-~--~~~---~--~~
You 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: Activating GAE (Java) account issues

2009-05-20 Thread Nick Johnson (Google)

Hi Mark,

You should get an invite shortly.

-Nick Johnson

On Tue, May 19, 2009 at 9:28 PM, Mark mark.r.ba...@gmail.com wrote:

 I've been waiting several days now, and would also like to know how
 long it usually takes for the email to go out.  Or if the limit on
 early access accounts has been reached, it would be nice to know so
 that I'm not just sitting here checking my email all day :)

 Mark

 On May 18, 2:26 pm, Bradley Barrows bradleyb1...@gmail.com wrote:
 Hi Jason,
 I was wondering how long it takes to be approved for the Java runtime
 on average. I have been waiting for about a week.
 Thanks,
 Brad

 On May 15, 11:37 am, Jason (Google) apija...@google.com wrote:

  You should receive an email shortly.

  - Jason

  On Thu, May 14, 2009 at 1:47 PM, David Levy
  david.l...@restonrobotics.orgwrote:

   Jason,
   I am waiting for the email response as well.  Has the quota limit been
   surpassed?

   thanks
   David

 

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

2009-05-20 Thread Nick Johnson (Google)

Hi,

Both of you should now have invites in your inbox.

-Nick  Johnson

On Tue, May 19, 2009 at 9:50 PM, Felipe fmora3...@gmail.com wrote:

 If it's not too much trouble I'm also waiting to have access to the
 Java AppEnginw to be able to upload my J2EE app.

 On May 19, 2009, at 10:51 AM, Nick Johnson (Google) nick.john...@google.com
   wrote:


 Hi Bradley,

 You should get an invitation email shortly.

 -Nick Johnson

 On Mon, May 18, 2009 at 7:32 PM, Bradley Barrows bradleyb1...@gmail.com
  wrote:

 I am also waiting to be accepted for the GAE java runtime. Any help
 would be greatly appreciated.
 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: Java Runtime Acceptance

2009-05-20 Thread Felipe

Got it. Thanks!

On May 20, 2009, at 10:00 AM, Nick Johnson (Google) nick.john...@google.com 
  wrote:


 Hi,

 Both of you should now have invites in your inbox.

 -Nick  Johnson

 On Tue, May 19, 2009 at 9:50 PM, Felipe fmora3...@gmail.com wrote:

 If it's not too much trouble I'm also waiting to have access to the
 Java AppEnginw to be able to upload my J2EE app.

 On May 19, 2009, at 10:51 AM, Nick Johnson (Google) 
 nick.john...@google.com
 wrote:


 Hi Bradley,

 You should get an invitation email shortly.

 -Nick Johnson

 On Mon, May 18, 2009 at 7:32 PM, Bradley Barrows bradleyb1...@gmail.com
 wrote:

 I am also waiting to be accepted for the GAE java runtime. Any help
 would be greatly appreciated.
 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] Can't import zlib using App Launcher

2009-05-20 Thread cerea

Hi,

I'm new to google app engine and python and I've run into a problem I
can't seem to find any information about. First of all, I'm using
Google App Launcher under OS X. Every time I try to run code that
attempts to import zlib, import zlib, I get the error: ImportError:
No module named zlib. But zlib is in the whitelist of allowed
modules: http://code.google.com/appengine/kb/libraries.html. I get the
same error message in the Interactive Console.

The code actually works when I deploy, but when I run on my local
machine using Google App Launcher I always get the error.

Please help me, is this a known bug? Or am I missing something
obvious? 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: BigTable Administrator/Dev Tools?

2009-05-20 Thread Nick Johnson (Google)

Hi Giovanni,

On the development server, assuming you're using the Python SDK, you
can go to http://localhost:8080/_ah/admin/ , which incorporates a
datastore viewer. In production, the equivalent can be found in the
App Engine control panel at http://appengine.google.com/ .

If you want to extract data for your own purposes, you might want to
check out remote_api:
http://code.google.com/appengine/articles/remote_api.html

-Nick Johnson

On Wed, May 20, 2009 at 5:09 PM, Giovanni massimohei...@gmail.com wrote:

 I'm intrigued by BigTable as an alternative to traditional RDBMS
 systems.

 However, where are the administrative tools? How can I look at my
 database and see which tables/objects exist and what data is in them?
 Is there a workbench like interface where I can develop a single query
 before coding it into a web app? How do I do routine extract/transform/
 load type tasks during development?

 Am I supposed to code simple web interfaces to achieve these tasks?

 I'm feeling a little lost or confused by this architecture. Can
 someone try to explain how these kinds of routine tasks are supposed
 to be done?
 

--~--~-~--~~~---~--~~
You 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: google apps engine online error.

2009-05-20 Thread Jeff S (Google)

Hi Aaron,

What library are you using for django (did you use django helper or
app engine patch for example)? It would also be helpful to see some of
your configuration settings.

Thank you,

Jeff

On May 19, 9:30 pm, Aaron shyhockey...@gmail.com wrote:
 ok, I am getting a server error 500.

 currently I got  django ...www.mydomain.com/adminto work.

 this is djangos admin area where I need to login too.

 what I need to do is go to the url  www.mydomain.com/account/login

 this supposed to bring up a login screen where I put a e-mail address
 and password which when submitted it will automaticly be the admin
 account used for the admin area.

 Yet when I go to that url I don't see a login screen but get
 redirected towww.mydomain.com

 So how can I fix this?  In google apps engine online when I look at
 the datastore data view I get the server error 500.

 any ideas what the problem could be?
--~--~-~--~~~---~--~~
You 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] cannot add new applications via Google Apps Standard

2009-05-20 Thread Lec

I am trying to create new application via apps engine:

http://appengine.google.com/a/moohog.com/

As suggested in other posts I login in with: lec ( a t ) moohog ( d o
t ) com I press the button create new app, system asks me for mobile
phone, once i enter it i am told: The phone number has been sent too
many messages or has already been used to confirm an account.

The dashboard under google apps standard says:

Web address Your users can access #81 at:
http://apps.moohog.com

How can I use this access code, there is no way for me to use it in
current login setup, where do i enter it. This is a bit of a problem,
how can i deploy new apps. Can this issue be resolved. I have to port
all my things from page creator which is going away June 1. Thanks.
Appreciate the help.

L

--~--~-~--~~~---~--~~
You 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] Download or View latest deployed source of your own Google App Engine app?

2009-05-20 Thread droidrunner

After a day of prototyping a utility Google App Engine webservice and
deploying to appspot I had the unfortunate experience of a hard drive
failure on my local machine, with no other local backup of my app. The
source does exist on the production server, but I found no information
on downloading your own app from prod to a new local machine

I may have to just start over, but would love to find out that there
is a way to download the current latest version of your own app.

thanks in advance for any help


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



[google-appengine] Re: Too Many Versions (403) Error on Deploy

2009-05-20 Thread Joe

Thank you Nick! We're back to deploying happily. We had 11 major
versions because we never saw/used the now obvious delete button on
the Versions management page. Now our versions are down to a tidy 2.

For future searchers who see this post, here are three tidbits that I
had not known about: App Engine deployment too many versions
possibilities as well as app.yaml versions ...

1) You should delete versions when you no longer need them.
2) Versions need not be monotonically increasing or even be
integers ... you can go with two versions whose names are production
and staging and cycle back and forth.
3) If you see a Too Many Versions (403) message, delete versions
that you do not need and try again.

One question that remains to be answered via this trail or the
documentation is whether or not you can potentially see a Too Many
Versions message if you have too many minor versions (the versions
that are incremented every time you do a deploy to a major version).
If you're here and you have only a couple major versions, you might be
in a (major) minor version logjam ... but I am *not* sure whether or
not that is possible...

If there is a wiki version of the docs that anybody is keeping out
there, I'd be happy to insert (1) - (3) into the documentation
appropriate!


On May 20, 9:38 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 How many major versions do you have active on App Engine? It's not
 really intended that you have 10+ active versions of an app - once
 you're done with an old version, you should delete it.

 Also note - if it's helpful - that major version names are strings,
 not integers, so you can name your versions as you wish. I typically
 use trunk and live, which gives me a stable name for my
 in-development work. Once I've verified a release doesn't break
 anything, I just redeploy to 'live'.

 -Nick Johnson



 On Tue, May 19, 2009 at 10:57 PM, Joe joe.berge...@gmail.com wrote:

  Is anybody else seeing a Too Many Versions (403) error when they
  attempt a deploy? It's happening for me on version 11 of my app, even
  though this would be only the second mini-version within 11 ... and I
  tried bumping my version up to 12 to see if it was a bug specific to
  version 11 ... but I still received the error. I cannot go back to
  version 10 and test that direction because 10 is in production and I'd
  hate to lose...

  In the App Engine issue tracker, this is related to #744, I think...
  And, I put a comment up there yesterday but have not heard anything so
  I'm putting it out here for the community because it's a show-stopping
  kind of thing. Anyone else seen this kind of bug in deployment and
  found a workaround?

  Thank y'all kindly!

  Oh, just in case folks want to take a peek, here's a link directly to
  my issue tracker comment ... it includes debug output and app name:

 http://code.google.com/p/googleappengine/issues/detail?id=744q=too%2...
--~--~-~--~~~---~--~~
You 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 creating a google app engine application for a google app domain

2009-05-20 Thread Jeff S (Google)

Hi anjali,

I was not able to reproduce this issue, are you still seeing the error
when trying to create an app?

Thank you,

Jeff

On May 20, 1:09 am, anjali jnanj...@gmail.com wrote:
 1. Get a google app premium edition trial version using an exisitng
 domain :

 I have an existing domain mydomain.com that I have taken from
 freeservers.com.

 I have used this domain to get a premium edition trail version of
 google apps. Got my google apps domain created.

 I have verified ownership of the domain by uploading an html file on
 the free domain

 I enabled Two legged Outh for the domain.

 Advanced tools - Authentication - Manage OAuth Access
 Two-legged OAuth        Enable Two-legged OAuth ( Checked this)

 Now all my services are shown active in admin dashboard on google apps
 domain. This means verification is complete and successful.

 2. Add google app engine application for this domain

 Logged in onhttp://appengine.google.com/a/mydomain.com

 and clicked on Create application to create a google app engine
 application. I restricted the application to my domain by specifying
 mydomain.com in the google apps domain field

 When I click on Save button on create application UI, it gives me
 error :

 There were errors : Auth Domain with hperlink on Auth Domain and when
 i click on Auth Domain link

 it says 404 Not Found:
 Error: Not Found
 The requested URL /createapp was not found on this server.

 Not sure what is the problem. I have another google apps domain and I
 am able to create applications successfully over there. This domain is
 taken from google apps itself at the time of registration.

 Is there anything that I am missing out?  In case you get a google
 apps edition using an existing domain, do you need to do anything
 extra ?  Why I am not able to create an application??

 Please help me out in case anybody has any idea/links. Its bit urgent!!
--~--~-~--~~~---~--~~
You 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] Unable to upload app: Connection refused: connect

2009-05-20 Thread marwat...@yahoo.com

im trying to deploy my application from eclipse and getting this error

Unable to upload app: Connection refused: connect

See the deployment console for more details
Unable to upload app: Connection refused: connect


before that i was getting Revieved IOException parsing error so i have
tried to remove !doctype from the web.xml and now not getting any
parsing error. but just have problem with above error.

Is it due to the my internet connection as im using wireless USB
broadband??

thank you.

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



[google-appengine] Re: timeouts even after chunking datastore calls

2009-05-20 Thread Jeff S (Google)

Hi notcourage,

The following lines attempt to iterate through all of the entities in
a kind and deletes them one at a time.



all = Thing.all()
for x in all:
  ...

Since you check the time to do a redirect, it looks like this should
avoid the 30 second time limit. Do you know what kind of timeout error
you are seeing (datastore vs request deadline)?

One thing that might help is fetching a small number of entities per
request and deleting just a few at a time. It might look something
like:

db.delete(Thing.all().fetch(10))

Note, you don't need to iterate over the results of the all query as
delete will take a list of entities.

Happy coding,

Jeff


On May 20, 9:54 am, notcourage klr...@gmail.com wrote:
 def clearDatastore(request):
     ti = time.clock()
     all = Thing.all()
     for x in all:
         x.delete()
         if time.clock() - ti = 8:
             return HttpResponseRedirect(/clearDatastore)

 Any ideas on why the above times out? Thx.
--~--~-~--~~~---~--~~
You 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] using django with google app engine.

2009-05-20 Thread Aaron

Hi, i uploaded a app that uses django.

here is where it is  dev.mobileconsultinginc.com/admin

this admin area is django.

I already asked on djangos group and also the IRC rooms.

I was told that django admin won't work properly because that it uses
djangos models not datastore database models.

so they told me to ask here. They said someone here should have a work
around this problem.


I can't create a superuser meaning an admin account for the django
admin area.


Does anyone know a work around this?  or what I should do?

I am stuck.
--~--~-~--~~~---~--~~
You 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: Problem creating new application

2009-05-20 Thread Jeff S (Google)

Hi Edgar,

When using a Google Apps account as an admin, you will need to view
the App Engine admin console through a domain specific URL. Try using

http://appengine.google.com/a/maryfuoss.com

Happy coding,

Jeff


On May 19, 11:18 pm, Edgar ed...@maryfuoss.com wrote:
 Hi,

 I am having a problem creating a new application. I have my own domain
 maryfuoss.com through google apps, but I have also set up a google
 account using my email ed...@maryfuoss.com. I logged into google app
 engine using my google account and created a new app maryfuoss. It
 seemed to be created, however the new app does not appear in my start
 page from google app engine. However, I was able to upload a new app
 into the system. When I try to run the app, it does not recognize me
 as the adminstrator!

 Any ideas of where I went wrong or what I need to do to fix it?

 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] How can I get entities which have empty listproperty by gql?

2009-05-20 Thread mind4u

Static listproperty is not stored in datastore if it does'nt have any
value.
So, I don't know how to get entities which have empty listproperty .

How can I get t1 by gql from follow example?
---

class TestList(db.Model):
acl = db.ListProperty(int)

t = TestList(acl=[1,2,3])
t.put()

t1 = TestList(acl=[])
t1.put()

t2 = TestList(acl=[4,5])
t2.put()



--~--~-~--~~~---~--~~
You 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: cannot add new applications via Google Apps Standard

2009-05-20 Thread Jeff S (Google)

Hi Lec,

This account should no longer need to verify using SMS. For anyone
else who stumbles across this thread, if you are unable to verify
using SMS, please fill out the form listed here:
http://code.google.com/appengine/kb/sms.html#error

Thank you,

Jeff

On May 20, 8:58 am, Lec lec...@gmail.com wrote:
 I am trying to create new application via apps engine:

 http://appengine.google.com/a/moohog.com/

 As suggested in other posts I login in with: lec ( a t ) moohog ( d o
 t ) com I press the button create new app, system asks me for mobile
 phone, once i enter it i am told: The phone number has been sent too
 many messages or has already been used to confirm an account.

 The dashboard under google apps standard says:

 Web address Your users can access #81 at:http://apps.moohog.com

 How can I use this access code, there is no way for me to use it in
 current login setup, where do i enter it. This is a bit of a problem,
 how can i deploy new apps. Can this issue be resolved. I have to port
 all my things from page creator which is going away June 1. Thanks.
 Appreciate the help.

 L
--~--~-~--~~~---~--~~
You 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] Chat Time transcript: May 20th, 2009

2009-05-20 Thread Jeff S (Google)

16:02  scudder_google Hi all, I'd like to start another installment
of App Engine chat time, where Google engineers are on hand to answer
your questions and listen to concerns
16:03  nickjohnson *tumbleweed*
16:03  knoonan Hi guys, for Ruby on App Engine, I think it would be
very useful to have a page with a whitelist of gems (and plugins for
Rails) which have been found to work on GAE/J.
16:05  maxr_google That sounds useful.  I think I see ribrdb logged
in here.
16:05  scudder_google knoonan: interesting idea, the best way to
start might be to create your own list somewhere and allow others to
collaborate with you on it
16:05  maxr_google He's done a lot of the GAE Ruby work.
16:05  nickjohnson knoonan: That seems like a good idea, but
probably best on the appengine-jruby wiki?
16:05  Wooble Is there any truth to the rumor that henceforth people
spamming the main GAE google group with requests to activate their
Java accounts will be redirected to the Java group and moved to the
back of the queue to be
   activated?
16:06  bmckinlay I have an issue with URLFetch on Java. My
application contacts a web service that sometimes needs more time to
respond to my queries than the ~4.5 seconds that app engine allows. In
the Python SDK, there is an
  option to increase this limit. Any possibility of a
similar option being added in Java?
16:06  nickjohnson Wooble: If there is, nobody's told me. ;)
16:06  knoonan Thanks guys, the App Engine JRuby wiki sounds like
the place.
16:06  schwardo_google bmckinlay: it's definitely something that we
plan to support.  do you know if it's been filed in the issue tracker
yet?
16:07  ribrdb only a couple of people can edit the wiki right now
though.
16:07  bmckinlay schwardo_google: yes...
http://code.google.com/p/googleappengine/issues/detail?id=1559
16:07  ribrdb knoonan: do you know of a list of gems anywhere that
do or do not work?
16:08  knoonan @ribrdb No, I don't know of an existing list. That's
why I think it's time to start one...!
16:08  schwardo_google bmckinlay: ok great, i'll accept it to
indicate that it's something we plan to support, and we'll rely on the
# of stars to help prioritize it
16:09  knoonan ((I did a lightning talk at the Euruko conference in
Barcelona, Spain, on May 10th, about App Engine. I hope I got some
Rubyists interested.)
16:09  bmckinlay schwardo_google: thanks! This would be very useful
to me.
16:10  drawlabs any plan for monthly pricing?  Sometimes I wish I
could over pay on slow months with the insurance of not breaking too
high into billing on large months. or is this just a dev chat?
16:10  brett-google fine to talk about billing too, of course
16:11  brett-google we've heard that request from other people, too;
definitely considering that option going forward
16:11  mcxx how's the XMPP API going? for me, that's the feature I'm
looking forward to most
16:11  brett-google drawlabs: one question is, do you mean you want
your budget to carry over, or your actual payment?
16:12  brett-google mcxx: going good. =) nothing to announce but it
should be soon according to the roadmap
16:12  drawlabs thanks, yes more like an insurance cloud.  Every
indie developer I know is scared of the cloud on that high end one day
or process that ends up costing a few grand.
16:12  drawlabs monthly, no carry over to make it economical
16:12  brett-google hrm
16:12  brett-google yeah because right now when you set your budget
that's a maximum spend, it's not an actual paid amount
16:12  mcxx brett-google: superb :)
16:12  brett-google so you can at any time raise your budget to fit
a big day
16:13  brett-google but then the next day drop your budget again in
case you're worried about costs
16:13  brett-google does that make sense? i'm confused about how
they're scared about one day costing a few grand
16:13  drawlabs true, but what I am saying is some part of big days
would be shared cost because people pay like an insurance for that.
16:13  brett-google ah okay so this is more getting into 95%-like
billing
16:13  brett-google where you don't have ot pay for extreme peaks
16:14  drawlabs yep
16:14  nickjohnson It sounds like you're asking for slashdot
insurance? :)
16:14  drawlabs hehe yes
16:14  brett-google well traditional hosting providers effectively
have that, nick, with 95% metered billing
16:14  nickjohnson right
16:15  drawlabs I know it would be useful for some people that have
had fears, so they stay at trad hosting for that.
16:15  brett-google in my personal opinion, though 95% can help with
peaks in some cases, it's actually bad for customers because it
overcharges the rest of the time
16:15  brett-google if you have a single 95% peak, then you're
billed at that level for the whole month
16:15  brett-google even if your average is zero
16:15  brett-google so our current billing model lets you change
your budget on a daily basis depending on your current needs
16:15  drawlabs true, it might be one way to get people 

[google-appengine] Re: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id: Invalid runtime specified.

2009-05-20 Thread arun

The specified URL says that only first 10,000 accounts will be
activated.
Has that limit been already exhausted?

regards
arun

On May 19, 11:36 am, amitverma6523 amitverma6...@gmail.com wrote:
 hello Jason,

 i had not yet received email indicating google app engine for java
 activation...
 will you please help me out on how to get it.
 as it is more than 2-3 days that i had signed up.

 On Apr 9, 11:39 pm, Jason apija...@google.com 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 njaf...@gmail.com 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=xxxversion=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] Re: Testing same-origin dependent apps in production.

2009-05-20 Thread David Wilson

For the archives, this simple mod_proxy setup appears to work perfectly:

VirtualHost staging:80
ServerName www-staging.domain.com
ProxyPassMatch (.*) http://staging.latest.appid.appspot.com$1
ProxyPassReverse / http://staging.latest.appid.appspot.com/
/VirtualHost


David

2009/5/19 David Wilson d...@botanicus.net:
 Hi there,

 I'm coming close to making my application live, and find myself
 worrying about how I'll safely roll out changes to it in the future.

 My problem is that I can't use *.appspot.com alternative version URLs
 for testing, since the application relies on setting cookies that
 another component within a subdomain of my main domain needs to
 authenticate browser clients, and also to allow cross-IFRAME
 communications with that subdomain (see
 http://en.wikipedia.org/wiki/Same_origin_policy ).

 My setup is such:

     www.domain.com - main application
     events1.domain.com - component requiring cookies and same-origin.

 Accessing an alternative version via appspot.com will fail, since from
 a browser's perspective, events1.domain.com lies in a different
 security zone to appspot.com.

 The only thing I can think of is it set up a proxy server within
 domain.com, say, www-dev.domain.com, which rewrites the Host: header
 and passes the request on the alternative version running inside
 appspot.com, but I've suspicions that this setup won't work for as yet
 undiscovered reasons.

 I can disable same origin restrictions on AJAX in Firefox using a
 special about:config option, but this doesn't apply to Internet
 Explorer, and it also doesn't apply to setting cookies.

 Ideas?


 David.

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




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

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



[google-appengine] Re: cannot add new applications via Google Apps Standard

2009-05-20 Thread Lec

Great, many thanks Jeff seems to be working now.

L

On May 20, 2:16 pm, Jeff S (Google) j...@google.com wrote:
 Hi Lec,

 This account should no longer need to verify using SMS. For anyone
 else who stumbles across this thread, if you are unable to verify
 using SMS, please fill out the form listed 
 here:http://code.google.com/appengine/kb/sms.html#error

 Thank you,

 Jeff

 On May 20, 8:58 am, Lec lec...@gmail.com wrote:

  I am trying to create new application via apps engine:

 http://appengine.google.com/a/moohog.com/

  As suggested in other posts I login in with: lec ( a t ) moohog ( d o
  t ) com I press the button create new app, system asks me for mobile
  phone, once i enter it i am told: The phone number has been sent too
  many messages or has already been used to confirm an account.

  The dashboard under google apps standard says:

  Web address Your users can access #81 at:http://apps.moohog.com

  How can I use this access code, there is no way for me to use it in
  current login setup, where do i enter it. This is a bit of a problem,
  how can i deploy new apps. Can this issue be resolved. I have to port
  all my things from page creator which is going away June 1. Thanks.
  Appreciate the help.

  L
--~--~-~--~~~---~--~~
You 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] Apps engine and google data centers abroad

2009-05-20 Thread Lec

I would like to know if the apps engine applications developed on the
USA based apps engine ie; usa data center are mirrored all over the
world? Will the same app run in asia, europe, middle east, etc.?

How do i localize access to that data center, does google route it
automatically or do i need to give it a hint? Does apps engine support
Unicode and localization for text strings?


As example, if I have  calculator.mydomain.com --
calculator.appspot.com, from a website in usa just a link, from

France it would be  calculator.mydomain.com -- calculator.appspot.fr
HongKong  it would be  calculator.mydomain.com --
calculator.appspot.hk

We want the best performance possible from anywhere in the world,
perhaps have the app localized for language as well. I noticed when
abroad mail.google.com goes local to mail.google.com?lang=fr or
something like that, we can still tell it to use lang=en, but not sure
what happens behind the scenes. I do not think it travels to usa to
get the en localization, for apps is it the same?

One last one; China :) I have huge problem of my lovely domain not
working from china 1/2 the time. It is being blocked because google
stuff is being blocked. So sites, nada, is there a chinese local
version of the data center we can setup which would prevent this. I
know it is beyond google's control. But my domain should not be
blocked just because it sits on google servers every time google,
youtube, what ever is blocked. So need a way around this problem, have
some ideas, would love to work with someone to implement them. You
know you also want to do business there.

* if someone gives a detailed answer there is beer waiting for you
(from me) one nite after google IO next week.

L
--~--~-~--~~~---~--~~
You 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] Inifite redirect loop on login

2009-05-20 Thread jannick

Hi

When I try to log-in to the GAE dashboard/management app I end up in
an infinite loop of redirects. I've seen this behavior since last
weekend, and from multiple computers, locations and browsers. Anyone
else experiencing this issue, or is it possible that my account has
somehow been setup wrong? (I havnt used the GAE account yet, aside
from exploring the interface).

--~--~-~--~~~---~--~~
You 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: Python XForms and Google App Engine?

2009-05-20 Thread Jeff S (Google)

Hi Neal,

I'm by no means an XForms expert, but they can be configured to send
the form data to your app in a similar format to traditional HTML
forms. You could also have the XForm send the data as XML and use a
standard XML library to parse the input. (I'm not sure how many web
browsers support XForms or the various settings...)

Happy coding,

Jeff

On May 20, 7:26 am, Neal nwalt...@sprynet.com wrote:
 Or maybe my question is off-base.  Maybe XForms just does a regular
 post to a server just like an HTML form?
 Ideas?

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



[google-appengine] Re: Can't import zlib using App Launcher

2009-05-20 Thread Jeff S (Google)

Hi cerea,

It sounds like there may be an issue with the zlib library
installation on your machine. When you say that you cannot import zlib
in the Interactive Console, you mean the interactive Python
interpreter in the command line (just to make sure I understand), is
that correct? Which version of Python are you using?

Thank you,

Jeff

On May 19, 11:16 pm, cerea peonl...@gmail.com wrote:
 Hi,

 I'm new to google app engine and python and I've run into a problem I
 can't seem to find any information about. First of all, I'm using
 Google App Launcher under OS X. Every time I try to run code that
 attempts to import zlib, import zlib, I get the error: ImportError:
 No module named zlib. But zlib is in the whitelist of allowed
 modules:http://code.google.com/appengine/kb/libraries.html. I get the
 same error message in the Interactive Console.

 The code actually works when I deploy, but when I run on my local
 machine using Google App Launcher I always get the error.

 Please help me, is this a known bug? Or am I missing something
 obvious? 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: URL not working with my app engine app

2009-05-20 Thread Jeff S (Google)

Hi dolsen,

What is the URL you are accessing and what kind of error are you
seeing? 404, 503?

Thank you,

Jeff

On May 19, 10:19 am, dolsen danec...@gmail.com wrote:
 I have added an additional URL to my app engine app and it has been
 working fine for over a week. However, now when I go to that URL it no
 longer works. I haven't changed anything since the domain name was
 last working. Anyone have any ideas why this might be happening?

 I added the domain through Google Apps for my domain and added the
 domain in app engine. The DNS for the domain name is pointing to the
 right place. I'm stumped as to why this is happening.
--~--~-~--~~~---~--~~
You 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: GoogleAppEngineLauncher - status icon yellow, should be green

2009-05-20 Thread Brenton

I've also noticed that the Deploy button doesn't actually deploy in
this case (when the icon is yellow).  The login sheet comes down, and
it acts as if it's uploading; however, the logs do not change and the
updates are not propagated to the cloud.
--~--~-~--~~~---~--~~
You 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: Download or View latest deployed source of your own Google App Engine app?

2009-05-20 Thread Tim Hoffman

You can't unless you included some mechanism yourself in your deployed
app.

There are plenty of threads about this in the groups. Have a look at
http://groups.google.com/group/google-appengine/browse_thread/thread/d1dc78709634d2ef/4b538be870044955?lnk=gstq=zipme#4b538be870044955

Unfortunately you are unlikely to be able to install such a thing
after the fact (ie if you don't have a local deployable version of
your code)

Rgds

T

On May 21, 12:54 am, droidrunner droidrun...@gmail.com wrote:
 After a day of prototyping a utility Google App Engine webservice and
 deploying to appspot I had the unfortunate experience of a hard drive
 failure on my local machine, with no other local backup of my app. The
 source does exist on the production server, but I found no information
 on downloading your own app from prod to a new local machine

 I may have to just start over, but would love to find out that there
 is a way to download the current latest version of your own app.

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



[google-appengine] Re: Apps engine and google data centers abroad

2009-05-20 Thread 风笑雪
For Chinese visitors, you have to point your apps domain to 74.125.113.121
instead of ghs.google.com.But I'm not sure when GFW will ban this ip.

Once it happens again, you may find a new ip
via:http://www.mob.net/~ted/tools/dns.php3?domain=ghs.google.com
http://www.mob.net/~ted/tools/dns.php3?domain=ghs.google.com

2009/5/21 Lec lec...@gmail.com


 I would like to know if the apps engine applications developed on the
 USA based apps engine ie; usa data center are mirrored all over the
 world? Will the same app run in asia, europe, middle east, etc.?

 How do i localize access to that data center, does google route it
 automatically or do i need to give it a hint? Does apps engine support
 Unicode and localization for text strings?


 As example, if I have  calculator.mydomain.com --
 calculator.appspot.com, from a website in usa just a link, from

 France it would be  calculator.mydomain.com -- calculator.appspot.fr
 HongKong  it would be  calculator.mydomain.com --
 calculator.appspot.hk

 We want the best performance possible from anywhere in the world,
 perhaps have the app localized for language as well. I noticed when
 abroad mail.google.com goes local to mail.google.com?lang=fr or
 something like that, we can still tell it to use lang=en, but not sure
 what happens behind the scenes. I do not think it travels to usa to
 get the en localization, for apps is it the same?

 One last one; China :) I have huge problem of my lovely domain not
 working from china 1/2 the time. It is being blocked because google
 stuff is being blocked. So sites, nada, is there a chinese local
 version of the data center we can setup which would prevent this. I
 know it is beyond google's control. But my domain should not be
 blocked just because it sits on google servers every time google,
 youtube, what ever is blocked. So need a way around this problem, have
 some ideas, would love to work with someone to implement them. You
 know you also want to do business there.

 * if someone gives a detailed answer there is beer waiting for you
 (from me) one nite after google IO next week.

 L
 


--~--~-~--~~~---~--~~
You 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: TypeError: has_key() takes exactly 1 argument (2 given)

2009-05-20 Thread Neal

Thank to all for explaining this mysterious message and showing me the
correction.
It now works great!  Another post gave me the clue on how to get the
count working.

  def get(self):
 query = TaskLog.gql(WHERE resultFlag  0);  # get all rows
 LIMIT = 1000
 TaskLogs = query.fetch(LIMIT,offset=0);

 if TaskLogs.count(TaskLog)  0:
   self.renderPage('templates/list.html', {TaskLogs: TaskLogs})
 else:
self.response.out.write(
h3Error - no TaskLogs returned from query/h3
)

Do Python developers usually make classes upper case and objects lower
case?

Neal Walters

--~--~-~--~~~---~--~~
You 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: Matching date/time GQL query - 500 severe error

2009-05-20 Thread Neal

Actually, on further testing, my count is still not working, always
seems to return 0.
TaskLogs is a list of TaskLog objects, right?


Neal

--~--~-~--~~~---~--~~
You 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: Python XForms and Google App Engine?

2009-05-20 Thread Neal

So far, this seems the way to get the xml into Python:


 data = self.request.body

 # the following is just to display the xml
 fixline = data.replace(,lt;);
 fixline = fixline.replace(,gt;);
 self.response.out.write(
   Post3: Python found your submitted value =  +
  fixline + BR/
)

Is this the best way to get the string of xml?

Neal

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



[google-appengine] How to define unique constraint for properties?

2009-05-20 Thread keakon

Anyone knows how to define unique constraint in datastore?

See I have a Blog model, and it has these properties:
name, content, title, keywords, description and so on.

I need provide a URL to get this blog like this:
http://domain/blog/name.html

So user cannot have two blogs that share the same name, otherwise one
of them cannot be gotten via URL.

I also need provide a way to change blogs' names.


It seems I need to define a BlogName model to store Blog's name as
keyname, and start a transaction to store the 2 entities:

Creating:
1. Get BlogName entity by keyname, if not exsit, create one, else exit
as failed.
2. Create a Blog entity which parent and name is this BlogName entity.

Editing:
1. Get BlogName entity by keyname, if not exsit, create one, else exit
as failed.
2. Get the old Blog entity and old BlogName entity by keyname.
3. Create a Blog entity which parent and name is this BlogName entity,
and rest the same to the old one.
4. Delete the old 2 ones.

Well, it seems can work, but how terrible it is!


And if I want a blog can have multiple names, so the two URLs can get
the same blog:
http://domain/blog/hello.html
http://domain/blog/你好.html

I don't think I can get them by keyname since they are in a list
property now, so it can't be done in a transaction.
And if I keep them in two Blog entities, I need change both of them
when I edit one of its properties.
So it seems I need define BlogContent model, BlogTitle model,
BlogKeywords model, BlogDescription model for referece from Blog
model.

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