Hi Aaron. Are you able to run the demo guestbook application? You
should just be able to use the following from the google_appengine
directory:

./dev_appserver.py demos/guestbook/

>From the error message, it looks like there is an issue with a
particular module named contact. Are you sure it's in the module
search path?

Thanks,
- Jason

On Apr 4, 2:10 pm, Aaron <[email protected]> wrote:
> No I can't even run the test server anymore.
>
> I get a new error:
>
> Traceback (most recent call last):
>   File "manage.py", line 4, in <module>
>     setup_env(manage_py_env=True)
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/aecmd.py", line 63, in
> setup_env
>     patch_all()
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/appenginepatcher/patch.py",
> line 21, in patch_all
>     patch_django()
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/appenginepatcher/patch.py",
> line 535, in patch_django
>     from ragendja import template
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/template.py", line 84,
> in <module>
>     app_template_dirs = get_app_dirs('templates')
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
> in get_app_dirs
>     for appname, module in get_app_modules().items():
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
> in get_app_modules
>     if module_name in list_modules(import_module(app)):
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
> in import_module
>     return __import__(module_name, {}, {}, [''])
> ImportError: No module named contact
> r...@demonicproductions:/home/aaron/websites/Chillenvillen.com/apps/
> google_app_engine/google_appengine# python manage.py runserver
> Traceback (most recent call last):
>   File "manage.py", line 4, in <module>
>     setup_env(manage_py_env=True)
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/aecmd.py", line 63, in
> setup_env
>     patch_all()
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/appenginepatcher/patch.py",
> line 21, in patch_all
>     patch_django()
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/appenginepatcher/patch.py",
> line 535, in patch_django
>     from ragendja import template
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/template.py", line 84,
> in <module>
>     app_template_dirs = get_app_dirs('templates')
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
> in get_app_dirs
>     for appname, module in get_app_modules().items():
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
> in get_app_modules
>     if module_name in list_modules(import_module(app)):
>   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
> in import_module
>     return __import__(module_name, {}, {}, [''])
> ImportError: No module named contact
>
> that's what the terminal spits out.
>
> I am using linux ubuntu OS.
>
> I have not changed anything. This just happended when I restarted the
> test server.
>
> On Apr 4, 3:30 pm, Aaron <[email protected]> wrote:
>
> > I just need help on where my files needs to be.
>
> > I have my app in it's own folder. I had the app inside the directory
> > of google app engine.
>
> > the problem is when I run manage.py inside my own app folder. The
> > manage.py can't find the source development kit of google apps engine.
>
> > So I took the manage.py out and put it directly in the google app
> > engine which then can find the SDK.
>
> > Then I got the problem with finding the application which I notice
> > manage.py made the test server to look for the app in the static
> > folder.
>
> > So I moved the app to the static folder and then I got python error
> > messages instead of a 404.  This is where I am at.
>
> > I am not sure if the files are in the right place where it needs to be
> > placed.
>
> > I am getting like 50 errors. All or most of them are coming from the
> > app engine python scripts.
>
> > I am guessing the files are not in the proper place in order for it to
> > run or be found.
>
> > So I ask where does my application need to be  in order for it to run.
> > I think the config is in the default state.
>
> > I only changed the app.yaml to the application that I need to update.
>
> > any ideas what could be the problem? I been working on this all day.
> > I got an impatient ceo barking down my neck.
>
> > He never gave me a deadline but he want's it up as soon as possible.
> > He wants updates from day to day basis.
>
> > On Apr 4, 3:04 pm, Aaron <[email protected]> wrote:
>
> > > ok, I just fixed the 404 error.  The test server was looking for the
> > > app in the static folder.
>
> > > I didn't have to app in their so I moved it in their and I get now
> > > python errors. Like about 50 like before.
>
> > > On Apr 4, 2:44 pm, Aaron <[email protected]> wrote:
>
> > > > ya but how would you fix it?
>
> > > > I restarted the test server about 4 times. I would get a 404 once. I
> > > > got 3  times where it gave me a python error.
>
> > > > It listed all the google app engine where errors occured inthe app
> > > > engine python scripts.
>
> > > > so how can I fix this? Like I said I aint a python guru.
>
> > > > On Apr 4, 1:58 pm, Xavier Mathews <[email protected]> wrote:
>
> > > > > Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> > > > > Connection Which Can Be A Problem In It's Self!
>
> > > > > On 04/04/2009, Aaron <[email protected]> wrote:
>
> > > > > > well those are the errors I had in the brower.
>
> > > > > > Now after I restart the test server.
>
> > > > > > I get a 404 errror.
>
> > > > > > I then took a look at the terminal and this is what came after I 
> > > > > > type
> > > > > > the command runserver.
>
> > > > > > here are those errors:
>
> > > > > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > > > > consulting-inc.datastore
> > > > > > Running on app-engine-patch 1.0dev
> > > > > > INFO:root:Server: appengine.google.com
> > > > > > INFO:root:Checking for updates to the SDK.
> > > > > > INFO:root:The SDK is up to date.
> > > > > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > > > > consulting-inc.datastore
> > > > > > INFO:root:Running application mobile-consulting-inc on port 8000:
> > > > > >http://localhost:8000
> > > > > > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > > > > > appenginepatch/main.py
> > > > > > DEBUG:root:Executing CGI with env:
> > > > > > {'APPLICATION_ID': 'mobile-consulting-inc',
> > > > > >  'AUTH_DOMAIN': 'gmail.com',
> > > > > >  'CONTENT_LENGTH': '',
> > > > > >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> > > > > >  'CURRENT_VERSION_ID': '5.1',
> > > > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > > > >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > > > > > xml;q=0.9,*/*;q=0.8',
> > > > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> > > > > >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > > > > >  'HTTP_CONNECTION': 'keep-alive',
> > > > > >  'HTTP_HOST': 'localhost:8000',
> > > > > >  'HTTP_KEEP_ALIVE': '300',
> > > > > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > > > > > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> > > > > >  'PATH_INFO': '/',
> > > > > >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > > > > > google_app_engine/google_appengine/common/appenginepatch/main.py',
> > > > > >  'QUERY_STRING': '',
> > > > > >  'REMOTE_ADDR': '127.0.0.1',
> > > > > >  'REQUEST_METHOD': 'GET',
> > > > > >  'SCRIPT_NAME': '',
> > > > > >  'SERVER_NAME': 'localhost',
> > > > > >  'SERVER_PORT': '8000',
> > > > > >  'SERVER_PROTOCOL': 'HTTP/1.0',
> > > > > >  'SERVER_SOFTWARE': 'Development/1.0',
> > > > > >  'TZ': 'UTC',
> > > > > >  'USER_EMAIL': ''}
> > > > > > DEBUG:root:Could not import "strop": Disallowed C-extension or 
> > > > > > built-
> > > > > > in module
> > > > > > DEBUG:root:Could not import "fcntl": Disallowed C-extension or 
> > > > > > built-
> > > > > > in module
> > > > > > DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
> > > > > > packages/mod_python
> > > > > > INFO:root:"GET / HTTP/1.1" 404 -
> > > > > > INFO:root:Detected manual index.yaml, will not update
>
> > > > > > On Apr 4, 1:29 pm, Aaron <[email protected]> wrote:
> > > > > >> Hi, I just done a test of my app. It's a website. I just used the
> > > > > >> local host test.
>
> > > > > >> I got about 50 errors which all points the errors to the app engine
> > > > > >> python scripts.
>
> > > > > >> How could this happen?
>
> > > > > >> I will just post a few here or some of the errors:
>
> > > > > >> A problem occurred in a Python script. Here is the sequence of
> > > > > >> function calls leading up to the error, in the order they occurred.
> > > > > >>  /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> > > > > >> google_appengine/google/appengine/tools/dev_appserver.py in
> > > > > >> _HandleRequest
> > > > > >> (self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler
> > > > > >> instance at 0x90443ec>)
> > > > > >>  2709                               infile,
> > > > > >>  2710                               outfile,
> > > > > >> error here->  2711
> > > > > >> base_env_dict=env_dict)
> > > > > >>  2712         finally:
> > > > > >>  2713           
> > > > > >> self.module_manager.UpdateModuleFileModificationTimes
> > > > > >> ()
> > > > > >> base_env_dict undefined, env_dict = {'APPLICATION_ID': 'mobile-...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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