Hi all,

I am new to Python/Django and trying to get Mayan installed on Centos 6.5 
to eventually run behind Nginx. 

What I have done so far :


Yum installed Django
yum install python-imaging python-imaging-devel gcc
wget zip of master version of mayan from git
run pip install -r requirements/production.txt inside unzipped mayan folder
pip install  mysql-python
run pip install django-mptt
set settings.py with correct DB details and set USE_TZ = False
run ./manage.py syncdb --migrate --noinput



Now when I launch server with 
[root@backup mayan-master]# ./manage.py runserver
Validating models...

0 errors found
Django version 1.3.5, using settings 'mayan-master.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.


It's up and running. However when I visit this page in web browser I get :

Quit the server with CONTROL-C.
No handlers could be found for logger "apscheduler.scheduler"
No handlers could be found for logger "apscheduler.scheduler"
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/servers/basehttp.py", 
line 283, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", 
line 250, in __call__
    self.load_middleware()
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", 
line 45, in load_middleware
    mod = import_module(mw_module)
  File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 
35, in import_module
    __import__(name)
  File 
"/root/edbms/mayan-master/apps/common/middleware/login_required_middleware.py", 
line 10, in <module>
    EXEMPT_URLS = [re.compile(settings.LOGIN_URL.lstrip('/'))]
  File "/usr/lib/python2.6/site-packages/django/utils/functional.py", line 
193, in __wrapper__
    res = self.__func(*self.__args, **self.__kw)
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
391, in reverse
    *args, **kwargs)))
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
312, in reverse
    possibilities = self.reverse_dict.getlist(lookup_view)
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
229, in _get_reverse_dict
    self._populate()
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
208, in _populate
    for name in pattern.reverse_dict:
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
229, in _get_reverse_dict
    self._populate()
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
220, in _populate
    lookups.appendlist(pattern.callback, (bits, p_pattern))
  File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 
167, in _get_callback
    raise ViewDoesNotExist("Could not import %s. Error was: %s" % 
(mod_name, str(e)))
ViewDoesNotExist: Could not import checkouts.views. Error was: No module 
named sendfile
[12/Jan/2014 22:55:29] "GET / HTTP/1.0" 500 1963


Anyone know how to solve this?


By the way, I tried Mayan in Virtual Box vm that you provided and really 
like it. Many thanks for this great product.


P.S Some corrections for 
https://mayan.readthedocs.org/en/latest/intro/installation.html

"Download" link under "Local or managed Fedora" section is giving 403. 

"source ../bin/active" command is with invalid path. 






-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to