Got errors while trying to include modules ???

From the google help files/configuration

quote: "...
If the include directive specifies a directory, then App Engine looks in that directory
for a file called include.yaml. If the include directive is a file,
then that specific file is included. ..."
http://code.google.com/intl/nl-NL/appengine/docs/python/config/appconfig.html#Includes

So I try to import Water.py in main.py, told app.yaml file where the module of Water.py is.

In main.py the following code:
============================
...
...
import cgi

from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

import Water

...
...


app.yaml
===========

application: ...name of the application...
version: ..version of the application...
runtime: python
api_version: 1

includes:
- Water.py

handlers:
- url: /.*
  script: main.py


Got the following error code:
=============================

/1/
In the desktop development application of Google App Engine Launcher:

No selected projects are running so we have nothing to Browse.

/2/
In the log file:

2010-10-29 14:04:49 Running command: "['C:\\Python25\\pythonw.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8081', 'E:\\app_app\\xheloo']" ERROR 2010-10-29 12:04:50,970 dev_appserver_main.py:407] Fatal error when loading application configuration:
while scanning for the next token
found character '\t' that cannot start any token
  in "e:\app_app\xheloo\water.py", line 2, column 1
2010-10-29 14:04:51 (Process exited with code 1)


If you can help, thanks,

Herman

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

Reply via email to