Install Python 2.5 (GAE requires 2.5) and try again.

Robin

On Sep 17, 5:14 pm, notcourage <klr...@gmail.com> wrote:
> I'm using Vista.
>
> create c:\swe\notcourage-guestbook folder
> extract webpy here (don't run web2py.py)
> edit app.yaml
> create applications folder here
> create init folder here
> copy my app's files here
>
> c:\swe\notcourage-guestbook\
>     app.yaml
>     gluon
>     applications
>         init
>
> I'm using the gae launcher. When I click Run, I don't see any
> messages. When I click Browse, the page starts with:
>
>  C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py in _HandleRequest
> (self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler
> instance at 0x03078DF0>)
>  2972                               infile,
>  2973                               outfile,
>  2974                               base_env_dict=env_dict)
>  2975         finally:
>  2976           self.module_manager.UpdateModuleFileModificationTimes
> ()
> base_env_dict undefined, env_dict = {'APPLICATION_ID': 'notcourage-
> guestbook', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1',
> 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
> '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
> 1.0'}
>  C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py in Dispatch
> (self=<google.appengine.tools.dev_appserver.MatcherDispatcher object
> at 0x032A0910>, relative_url='/', path=None,
> headers=<mimetools.Message instance at 0x03738788>,
> infile=<cStringIO.StringO object at 0x032A0FE0>,
> outfile=<cStringIO.StringO object at 0x037359A0>, base_env_dict=
> {'APPLICATION_ID': 'notcourage-guestbook', 'CURRENT_VERSION_ID':
> '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
> 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL':
> 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
>   409                                       infile,
>   410                                       outfile,
>   411
> base_env_dict=base_env_dict)
>   412
>   413         if forward:
> base_env_dict = {'APPLICATION_ID': 'notcourage-guestbook',
> 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1',
> 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
> '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
> 1.0'}
>  C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py in Dispatch
> (self=<google.appengine.tools.dev_appserver.CGIDispatcher object at
> 0x03074A70>, relative_url='/', path='gaehandler.py',
> headers=<mimetools.Message instance at 0x03738788>,
> infile=<cStringIO.StringO object at 0x032A0FE0>,
> outfile=<cStringIO.StringO object at 0x037359A0>, base_env_dict=
> {'APPLICATION_ID': 'notcourage-guestbook', 'CURRENT_VERSION_ID':
> '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
> 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL':
> 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
>  2241                      infile,
>  2242                      outfile,
>  2243                      self._module_dict)
>  2244       handler.AddDebuggingConsole(relative_url, env, outfile)
>  2245     finally:
> self = <google.appengine.tools.dev_appserver.CGIDispatcher object at
> 0x03074A70>, self._module_dict = {'Cookie': <module 'Cookie' from 'C:
> \swe\Python26\lib\Cookie.pyc'>, 'StringIO': <module 'StringIO' from 'C:
> \swe\Python26\lib\StringIO.pyc'>, 'UserDict': <module 'UserDict' from
> 'C:\swe\Python26\lib\UserDict.py'>, '__future__': <module '__future__'
> from 'C:\swe\Python26\lib\__future__.pyc'>, '__main__': <module
> 'gaehandler' from 'c:\swe\notcourage-guestbook\gaehandler.py'>,
> '__main__.cStringIO': None, '__main__.cgi': None, '__main__.csv':
> None, '__main__.datetime': None, '__main__.django': None, ...}
>  C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py in ExecuteCGI(root_path=r'c:\swe\notcourage-
> guestbook', handler_path='gaehandler.py', cgi_path=r'c:\swe\notcourage-
> guestbook\gaehandler.py', env={'APPLICATION_ID': 'notcourage-
> guestbook', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '',
> 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CONNECTION': 'keep-
> alive', ...}, infile=<cStringIO.StringO object at 0x032A0FE0>,
> outfile=<cStringIO.StringO object at 0x037359A0>, module_dict=
> {'Cookie': <module 'Cookie' from 'C:\swe\Python26\lib\Cookie.pyc'>,
> 'StringIO': <module 'StringIO' from 'C:\swe\Python26\lib
> \StringIO.pyc'>, 'UserDict': <module 'UserDict' from 'C:\swe
> \Python26\lib\UserDict.py'>, '__future__': <module '__future__' from
> 'C:\swe\Python26\lib\__future__.pyc'>, '__main__': <module
> 'gaehandler' from 'c:\swe\notcourage-guestbook\gaehandler.py'>,
> '__main__.cStringIO': None, '__main__.cgi': None, '__main__.csv':
> None, '__main__.datetime': None, '__main__.django': None, ...},
> exec_script=<function ExecuteOrImportScript at 0x035E05B0>)
>  2159     logging.debug('Executing CGI with env:\n%s', pprint.pformat
> (env))
>  2160     try:
>  2161       reset_modules = exec_script(handler_path, cgi_path, hook)
>  2162     except SystemExit, e:
>  2163       logging.debug('CGI exited with status: %s', e)
> reset_modules = True, exec_script = <function ExecuteOrImportScript at
> 0x035E05B0>, handler_path = 'gaehandler.py', cgi_path = r'c:\swe
> \notcourage-guestbook\gaehandler.py', hook =
> <google.appengine.tools.dev_appserver.HardenedModulesHook object at
> 0x03DD5E30>
>  C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py in ExecuteOrImportScript
> (handler_path='gaehandler.py', cgi_path=r'c:\swe\notcourage-guestbook
> \gaehandler.py',
> import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook
> object at 0x03DD5E30>)
>  2055   try:
>  2056     if module_code:
>  2057       exec module_code in script_module.__dict__
>  2058     else:
>  2059       script_module.main()
> module_code = <code object <module> at 0375AA88, file "c:\swe
> \notcourage-guestbook\gaehandler.py", line 4>, script_module = <module
> 'gaehandler' from 'c:\swe\notcourage-guestbook\gaehandler.py'>,
> script_module.__dict__ = {'__builtins__': {'ArithmeticError': <type
> 'exceptions.ArithmeticError'>, 'AssertionError': <type
> 'exceptions.AssertionError'>, 'AttributeError': <type
> 'exceptions.AttributeError'>, 'BaseException': <type
> 'exceptions.BaseException'>, 'BufferError': <type
> 'exceptions.BufferError'>, 'BytesWarning': <type
> 'exceptions.BytesWarning'>, 'DeprecationWarning': <type
> 'exceptions.DeprecationWarning'>, 'EOFError': <type
> 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError':
> <type 'exceptions.EnvironmentError'>, ...}, '__doc__': None,
> '__file__': r'c:\swe\notcourage-guestbook\gaehandler.py',
> '__loader__':
> <google.appengine.tools.dev_appserver.HardenedModulesHook object at
> 0x03074530>, '__name__': 'gaehandler', '__package__': None, 'cPickle':
> <module 'pickle' from 'C:\swe\Python26\lib\pickle.pyc'>, 'google':
> <module 'google' from 'C:\Program Files\Google\google_appengine\google
> \__init__.py'>, 'logging': <module 'logging' from 'C:\swe\Python26\lib
> \logging\__init__.pyc'>, 'os': <module 'os' from 'C:\swe\Python26\lib
> \os.pyc'>, ...}
>  c:\swe\notcourage-guestbook\gaehandler.py in ()
>    14 sys.modules['cPickle'] = sys.modules['pickle']
>    15
>    16 from gluon.settings import settings
>    17
>    18
> gluon undefined, settings undefined
> ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to