Django helper.. help needed

13 views
Skip to first unread message

kien

unread,
Dec 1, 2009, 12:36:33 PM12/1/09
to app-engine-django
I have tried to run manage.py and got this error
Any idea?

kienyew@kienyew-amd64-quad:~/Project/test01$ python manage.py
runserver
WARNING:root:Could not read the Application ID from app.yaml. This may
break things in unusual ways!
Traceback (most recent call last):
File "manage.py", line 18, in <module>
InstallAppengineHelperForDjango()
File "/home/kienyew/Project/test01/appengine_django/__init__.py",
line 532, in InstallAppengineHelperForDjango
InstallModelForm()
File "/home/kienyew/Project/test01/appengine_django/__init__.py",
line 581, in InstallModelForm
from google.appengine.ext.db import djangoforms as aeforms
File "/home/kienyew/Project/test01/google/appengine/ext/db/
__init__.py", line 90, in <module>
from google.appengine.api import datastore
File "/home/kienyew/Project/test01/google/appengine/api/
datastore.py", line 48, in <module>
from google.appengine.datastore import datastore_index
File "/home/kienyew/Project/test01/google/appengine/datastore/
datastore_index.py", line 53, in <module>
from google.appengine.api import validation
File "/home/kienyew/Project/test01/google/appengine/api/
validation.py", line 44, in <module>
import yaml
ImportError: No module named yaml


The scripts seems to look for a yaml.py file but it does not exist
anywhere?

Andy Smith

unread,
Dec 1, 2009, 1:34:00 PM12/1/09
to app-engi...@googlegroups.com
yaml is usually distributed with the sdk (and should automatically be available using the helper) it is in "lib" directory of the sdk.

--andy


--

You received this message because you are subscribed to the Google Groups "app-engine-django" group.
To post to this group, send email to app-engi...@googlegroups.com.
To unsubscribe from this group, send email to app-engine-dja...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/app-engine-django?hl=en.



kien

unread,
Dec 2, 2009, 5:24:30 AM12/2/09
to app-engine-django
Yup, I thought so.

I try to link the Helper as described in readme file
ln -s /home/user/google_appengine /home/project/.google_appengine

It doesnt work, it will not be able to search for the google app
engine sdk files
instead I change the link directly to the google folder inside the
sdk, there these error appear - no module named yaml

Did I miss something on the setup or appengine ?
I am using Ubuntu 9.10, therefore I just unzipped the google_appengine
sdk.

As for the django, I did run some command after unzip to install it.

Appreciate your help
> > app-engine-dja...@googlegroups.com<app-engine-django%2Bunsubscr­i...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages