Still stuck on this issue. :(

Any tips on how to proceed on this?

Thanks,
Sundeep

On Tuesday, 13 November 2012 02:06:03 UTC+5:30, Sundeep Singh wrote:
>
> Hi,
>
> I am trying to setup reviewboard by following the link: 
> http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
>
> Apache logs report the following error:
> [Sat Nov 10 21:36:56 2012] [error] [client 127.0.0.1] ImportError: Could 
> not import settings 'reviewboard.settings' (Is it on sys.path?): No module 
> named reviewboard.settings
>
> There seems to be some path issue wherein it is unable to locate 
> settings.py. But I can see the same in my sys.path:
>
> (rb-master)root@site-packages$python
> Python 2.7.2+ (default, Oct  4 2011, 20:03:08)
> [GCC 4.6.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> print sys.path
> ['', 
> '/home/soorajchirag/envs/rb-master/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg',
>  
>
>  ...
>
>  
> '/home/soorajchirag/envs/rb-master/lib/python2.7/site-packages/ReviewBoard-1.6.13-py2.7.egg',
>  ...]
>
> (rb-master)r...@reviewboard-1.6.13-py2.7.egg$cd reviewboard/
> (rb-master)root@reviewboard$ls -l settings.py
> -rw-r--r-- 1 root root 6774 2012-11-10 18:44 settings.py
> (rb-master)root@reviewboard$
>
> I'm using mod_wsgi with Apache. My wsgi file looks like:
>
> (rb-master)root@reviewboard$cd /var/www/reviews.example.com/htdocs/
> (rb-master)root@htdocs$cat reviewboard.wsgi 
> import os
> import sys
>
> sys.path = ['/var/www/reviews.example.com/conf'] + sys.path
>
> os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
> os.environ['PYTHON_EGG_CACHE'] = "/var/www/
> reviews.example.com/tmp/egg_cache"
> os.environ['HOME'] = "/var/www/reviews.example.com/data"
>
> import django.core.handlers.wsgi
> application = django.core.handlers.wsgi.WSGIHandler()
>
> Any help/pointers would be really appreciated.
>
> Thanks in advance.
>
> Regards,
> Sundeep
>
>
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Reply via email to