The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Tommi <tommi.rai... @kypara.net>
Date: Mon, 7 Apr 2008 22:28:12 -0700 (PDT)
Local: Tues, Apr 8 2008 1:28 am
Subject: Google App Engine
http://appengine.google.com/
Looks nifty. The released SDK also includes a mini web app framework
(called `webapp`) that is somewhat similar to web.py -- has e.g. get/
post handlers, although for the most part things are more directed
towards Google's own infrastructure.
One can host web.py apps there, also.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Mon, 7 Apr 2008 22:33:20 -0700
Local: Tues, Apr 8 2008 1:33 am
Subject: Re: [webpy] Google App Engine
I just got back from the introduction at Google HQ. I'm working on
getting a web.py app up now.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
BjornT <bjorn.tipl... @gmail.com>
Date: Mon, 7 Apr 2008 22:44:47 -0700 (PDT)
Local: Tues, Apr 8 2008 1:44 am
Subject: Re: Google App Engine
Man I wish I had known about this, I would have been there at Google.
I should pay more attention to my baypiggies mailing list.
On Apr 7, 10:33 pm, "Aaron Swartz" <m... @aaronsw.com> wrote:
> I just got back from the introduction at Google HQ. I'm working on
> getting a web.py app up now.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Mon, 7 Apr 2008 22:55:25 -0700
Local: Tues, Apr 8 2008 1:55 am
Subject: Re: [webpy] Re: Google App Engine
OK, my first web.py app is up at:
http://webpy.appspot.com/
Click for the source code. (It's 0.3, but I expect 0.2 would work fine the same way.)
Doesn't seem to be any trouble using web.py at all.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Curt Micol" <asen... @gmail.com>
Date: Tue, 8 Apr 2008 07:39:43 -0400
Local: Tues, Apr 8 2008 7:39 am
Subject: Re: [webpy] Google App Engine
On Tue, Apr 8, 2008 at 1:28 AM, Tommi <tommi.rai
... @kypara.net> wrote:
> http://appengine.google.com/
> Looks nifty. The released SDK also includes a mini web app framework > (called `webapp`) that is somewhat similar to web.py -- has e.g. get/ > post handlers, although for the most part things are more directed > towards Google's own infrastructure.
> One can host web.py apps there, also.
I have to say, I am pretty impressed with what I've read so far. Now
I have to wait for an invite.
Thanks, -- # Curt Micol
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
bubblboy <bubbl... @gmail.com>
Date: Tue, 08 Apr 2008 14:25:42 +0200
Local: Tues, Apr 8 2008 8:25 am
Subject: Re: [webpy] Re: Google App Engine
Aaron Swartz wrote:
> OK, my first web.py app is up at:
> http://webpy.appspot.com/
> Click for the source code. (It's 0.3, but I expect 0.2 would work fine > the same way.)
> Doesn't seem to be any trouble using web.py at all.
narf; LIMIT 10 for the last 5 notes?
but looks nice :) very simple. I like ^^
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"rkmr... @gmail.com" <rkmr... @gmail.com>
Date: Tue, 8 Apr 2008 05:40:02 -0700
Local: Tues, Apr 8 2008 8:40 am
Subject: Re: [webpy] Re: Google App Engine
really cool!!
> Click for the source code. (It's 0.3, but I expect 0.2 would work fine > the same way.)
how do you start /configure this app with web.py? is a config file needed ?
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"rkmr... @gmail.com" <rkmr... @gmail.com>
Date: Tue, 8 Apr 2008 05:51:32 -0700
Local: Tues, Apr 8 2008 8:51 am
Subject: Re: [webpy] Re: Google App Engine
OK, I got it configured with app.yaml file
application: helloworld version: 1 runtime: python api_version: 1
handlers: - url: /.* script: code.py
but when i try to run it says app has no cgirun attribute.. i am using latest web.py dev 0.3 version. how to fix this?
Traceback (most recent call last): File "/tmp/google_appengine/google/appengine/tools/dev_appserver.py", line 2245, in _HandleRequest base_env_dict=env_dict) File "/tmp/google_appengine/google/appengine/tools/dev_appserver.py", line 334, in Dispatch base_env_dict=base_env_dict) File "/tmp/google_appengine/google/appengine/tools/dev_appserver.py", line 1743, in Dispatch self._module_dict) File "/tmp/google_appengine/google/appengine/tools/dev_appserver.py", line 1654, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File "/tmp/google_appengine/google/appengine/tools/dev_appserver.py", line 1555, in ExecuteOrImportScript exec module_code in script_module.__dict__ File "/tmp/google_appengine/test/code.py", line 37, in <module> main = app.cgirun() AttributeError: application instance has no attribute 'cgirun'
On Tue, Apr 8, 2008 at 5:40 AM, rkmr
... @gmail.com <rkmr
... @gmail.com> wrote:
> On Mon, Apr 7, 2008 at 10:55 PM, Aaron Swartz <m
... @aaronsw.com> wrote:
> > OK, my first web.py app is up at:
> >
http://webpy.appspot.com/ > really cool!!
> > Click for the source code. (It's 0.3, but I expect 0.2 would work fine > > the same way.) > how do you start /configure this app with web.py? is a config file needed ?
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 08:47:20 -0700
Local: Tues, Apr 8 2008 11:47 am
Subject: Re: [webpy] Re: Google App Engine
Oops, I forgot to check in cgirun. Should be fixed now. Sorry.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"rkmr... @gmail.com" <rkmr... @gmail.com>
Date: Tue, 8 Apr 2008 09:23:32 -0700
Local: Tues, Apr 8 2008 12:23 pm
Subject: Re: [webpy] Re: Google App Engine
On Tue, Apr 8, 2008 at 8:47 AM, Aaron Swartz <m
... @aaronsw.com> wrote:
> Oops, I forgot to check in cgirun. Should be fixed now. Sorry.
can you make a release for web.py .23 also?
thanks
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 09:34:19 -0700
Local: Tues, Apr 8 2008 12:34 pm
Subject: Re: [webpy] Re: Google App Engine
For 0.23, just do:
import google.appengine.ext.utils main = google.appengine.ext.utils.run_wsgi_app(web.wsgifunc(web.webpyfunc(urls, globals()))
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"rkmr... @gmail.com" <rkmr... @gmail.com>
Date: Tue, 8 Apr 2008 11:44:14 -0700
Local: Tues, Apr 8 2008 2:44 pm
Subject: Re: [webpy] Re: Google App Engine
Can you also make available templates/index.html for completeness?
thanks
On Tue, Apr 8, 2008 at 8:47 AM, Aaron Swartz <m
... @aaronsw.com> wrote:
> Oops, I forgot to check in cgirun. Should be fixed now. Sorry.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"luis... @gmail.com" <luis... @gmail.com>
Date: Tue, 8 Apr 2008 11:46:04 -0700 (PDT)
Local: Tues, Apr 8 2008 2:46 pm
Subject: Re: Google App Engine
I am so excited!!
This is something BIG for python developers. Free google accounts for
python development. Am I dreaming??
By the way, "webapp" looks surprisingly similar to webpy.
I can't wait to get some spare time to get my hands on this...
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 12:01:47 -0700
Local: Tues, Apr 8 2008 3:01 pm
Subject: Re: [webpy] Re: Google App Engine
> By the way, "webapp" looks surprisingly similar to webpy.
Yeah, I noticed the same thing.
I added the template to the source code for those who are curious:
http://webpy.appspot.com/source
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Cameron Watters <watt... @h2os.org>
Date: Tue, 8 Apr 2008 15:10:17 -0700 (PDT)
Local: Tues, Apr 8 2008 6:10 pm
Subject: Re: Google App Engine
> import google.appengine.ext.utils
> main = google.appengine.ext.utils.run_wsgi_app(web.wsgifunc(web.webpyfunc(urls,
> globals()))
The above didn't work for me, but this did:
import google.appengine.ext.webapp.util
main =
google.appengine.ext.webapp.util.run_wsgi_app(web.wsgifunc(web.webpyfunc(ur ls,globals())))
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 15:20:32 -0700
Local: Tues, Apr 8 2008 6:20 pm
Subject: Re: [webpy] Re: Google App Engine
> can some one share the source code for running google app engine from > cheetah
Dude, I'm this close to banning the next person who asks about Cheetah
on this list. This is not the Cheetah users support group.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"luis... @gmail.com" <luis... @gmail.com>
Date: Tue, 8 Apr 2008 15:22:14 -0700 (PDT)
Local: Tues, Apr 8 2008 6:22 pm
Subject: Re: Google App Engine
I'm getting an error when trying to start the server:
C:\Archivos de programa\Google\google_appengine
\webpyapp>dev_appserver.py webpya
pp
Traceback (most recent call last):
File "C:\Archivos de programa\Google\google_appengine
\dev_appserver.py", line
50, in <module>
execfile(script_path, globals())
File "C:\Archivos de programa\Google\google_appengine\google/
appengine/tools/d
ev_appserver_main.py", line 338, in <module>
sys.exit(main(sys.argv))
File "C:\Archivos de programa\Google\google_appengine\google/
appengine/tools/d
ev_appserver_main.py", line 287, in main
config, matcher = dev_appserver.LoadAppConfig(root_path, {})
File "C:\Archivos de programa\Google\google_appengine\google
\appengine\tools\d
ev_appserver.py", line 2415, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError
The app.yaml file is as follows:
application: webpyapp
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
script: code.py
Any hint?
Luis
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 15:24:03 -0700
Local: Tues, Apr 8 2008 6:24 pm
Subject: Re: [webpy] Re: Google App Engine
You're already in the webpyapp directory; you either need to "cd .."
first or do:
dev_appserver.py .
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Bjorn Tipling <bjorn.tipl... @gmail.com>
Date: Tue, 8 Apr 2008 16:35:33 -0700 (PDT)
Local: Tues, Apr 8 2008 7:35 pm
Subject: Re: Google App Engine
Would be nice to integrate the datastore with db.py:
http://code.google.com/appengine/docs/datastore/creatinggettinganddel...
Has an interesting SQL + put/get syntax.
On Apr 8, 4:22 pm, "luis... @gmail.com" <luis... @gmail.com> wrote:
> You are right! What a fool...
> Now the server starts, but I get this output:
> > <string>(1)<module>()
> (Pdb)
> I made sure all the code was right and the template is in the
> "templates" directory.
> What could possibly go wrong?
> Luis
> On 8 abr, 19:24, "Aaron Swartz" <m... @aaronsw.com> wrote:
> > You're already in the webpyapp directory; you either need to "cd .."
> > first or do:
> > dev_appserver.py .
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Tue, 8 Apr 2008 19:15:39 -0700
Local: Tues, Apr 8 2008 10:15 pm
Subject: Re: [webpy] Re: Google App Engine
I'm not sure it needs to be integrated; as my example app shows it
works just fine with web.py out of the box. What could we add?
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"paul jobs" <webjog... @gmail.com>
Date: Thu, 10 Apr 2008 14:38:30 -0700
Local: Thurs, Apr 10 2008 5:38 pm
Subject: Re: [webpy] Re: Google App Engine
import os, sys sys.stderr.write(db.__file__ + '\n')
What is the use of these lines at the end of the code.py source you have share aaron
On Mon, Apr 7, 2008 at 10:55 PM, Aaron Swartz <m
... @aaronsw.com> wrote:
> OK, my first web.py app is up at:
> http://webpy.appspot.com/
> Click for the source code. (It's 0.3, but I expect 0.2 would work fine > the same way.)
> Doesn't seem to be any trouble using web.py at all.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aaron Swartz" <m... @aaronsw.com>
Date: Thu, 10 Apr 2008 14:46:16 -0700
Local: Thurs, Apr 10 2008 5:46 pm
Subject: Re: [webpy] Re: Google App Engine
That was just debug code; I took it out a while ago.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"rkmr... @gmail.com" <rkmr... @gmail.com>
Date: Fri, 11 Apr 2008 12:33:35 -0700
Local: Fri, Apr 11 2008 3:33 pm
Subject: Re: [webpy] Re: Google App Engine
I am having trouble adding session middleware for google app-engine..
does anyone have examples for doing this for 0.23 or 0.3??
this doesnt work for .23 def session_mw(app): return FacebookWSGIMiddleware(app, config_fb, facebook_class=facebookstuff.Facebook)
import google.appengine.ext.webapp.util main = google.appengine.ext.webapp.util.run_wsgi_app(web.wsgifunc(web.webpyfunc(ur ls, globals (), session_mw)))
and how do i do it for 0.3? thanks
On Thu, Apr 10, 2008 at 2:46 PM, Aaron Swartz <m
... @aaronsw.com> wrote:
> That was just debug code; I took it out a while ago.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
krishna2 <krish... @gmail.com>
Date: Fri, 11 Apr 2008 12:58:26 -0700 (PDT)
Local: Fri, Apr 11 2008 3:58 pm
Subject: Re: Google App Engine
I guess, something like this ?
from Cheetah.Template import Template
print Template(file="templates/file.tmpl", searchList=[locals()])
-k
On Apr 8, 3:20 pm, "Aaron Swartz" <m... @aaronsw.com> wrote:
> > can some one share the source code for running google app engine from
> > cheetah
> Dude, I'm this close to banning the next person who asks about Cheetah
> on this list. This is not the Cheetah users support group.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
peter <goonm... @netspace.net.au>
Date: Fri, 18 Apr 2008 04:58:01 -0700 (PDT)
Local: Fri, Apr 18 2008 7:58 am
Subject: Re: Google App Engine
> how do you start /configure this app with web.py? is a config file needed ?
a) installed webpy 0.3 on my system (python setup.py install)
- I added the 0.3 source because the sample Aaron supplied works
without changes
b) To allow remote development add webpy.web (web/) to your source
directory
for uploading.
c) To allow local development you have to let the google code see
webpy.web
so create a symbolic link from your webpy install to a web directory
up from
your source code in the root dir of your google appengine install
ln -s /usr/lib/python2.5/site-packages/web web
This is mentioned in the docs ~
http://code.google.com/appengine/docs/python/purepython.html
d) I've found problems with Cheetah. I had it installed and received
errors
because it calls strop. So I removed my local copy and the error
stopped.
e) You should be able to work locally & remotely using webpy.
You can see a screencap of a demo http://flickr.com/photos/bootload/2421595533/
where I tried:
- import web
- dir(web)
Nothing special, but proved to me webpy installs well. The source app
Aaron supplied ~ http://webpy.appspot.com/ also works out of the box.
As a side note one of the original developers Bret Taylor based app-
engine
and Friendfeed http://bret.appspot.com/entry/experimenting-google-app-engine
on webpy. A good reason to work with webpy.
You must
Sign in before you can post messages.
You do not have the permission required to post.