librelist archives

« back to archive

Running GeoNode integration tests

Running GeoNode integration tests

From:
jude mwenda
Date:
2011-10-10 @ 10:41
Hi,
Been running tests but got this error. Any pointers on what i could be doing
wrong.

Running GeoNode Integration Tests
Error: Can't find the file 'settings.py' in the directory containing
'manage.py'. It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError
somehow.)




-- 
Regards,

Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda
Web: www.africangeogeek.com

"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe

Re: [geonode] Running GeoNode integration tests

From:
David Winslow
Date:
2011-10-10 @ 15:37
Jude and I discussed this a bit on the IRC channel and he seems to have
things working now.  One trick that can help troubleshooting when you get
this error is to try and have python load the module directly:

python settings.py

or

python -m geonode.settings

You'll get a clearer message about whether the module can't be found or if
there is a specific problem happening during loading.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Oct 10, 2011 at 6:41 AM, jude mwenda <judemwenda@gmail.com> wrote:

> Hi,
> Been running tests but got this error. Any pointers on what i could be
> doing wrong.
>
> Running GeoNode Integration Tests
> Error: Can't find the file 'settings.py' in the directory containing
> 'manage.py'. It appears you've customized things.
> You'll have to run django-admin.py, passing it your settings module.
> (If the file settings.py does indeed exist, it's causing an ImportError
> somehow.)
>
>
>
>
> --
> Regards,
>
> Jude Mwenda
> Skype id: jmwenda
> Twitter: www.twitter.com/judemwenda
> Web: www.africangeogeek.com
>
> "Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
> Johann Wolfgang von Goethe
>