Вот еще момент ...
Home › Cm › Configs нажимаю view для просмотра вываливается ошибка...
TRACEBACK
Environment:
Request Method: GET
Request URL: http://192.168.155.130:8000/cm/view/config/1/
Django Version: 1.0.2 final
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'south',
'noc.main',
'noc.sa',
'noc.fm',
'noc.cm',
'noc.ip',
'noc.vc',
'noc.dns',
'noc.peer']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.transaction.TransactionMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/handlers/base.py" in get_response
86. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/contrib/auth/decorators.py" in __call__
67. return self.view_func(request, *args, **kwargs)
File "/opt/noc/cm/views.py" in view
18. revs=o.revisions
File "/opt/noc/cm/models.py" in _revisions
124. return self.vcs.log(self.repo_path)
File "/opt/noc/cm/vcs/hg.py" in log
21. for l in self.cmd_out(["log","--template","{rev} {date}\n",path]).split("\n"):
File "/opt/noc/cm/vcs/__init__.py" in cmd_out
82. p=subprocess.Popen([config.get("cm","vcs_path")]+cmd,stdout=subprocess.PIPE,cwd=self.repo)
File "/usr/lib/python2.5/subprocess.py" in __init__
594. errread, errwrite)
File "/usr/lib/python2.5/subprocess.py" in _execute_child
1149. raise child_exception
Exception Type: OSError at /cm/view/config/1/
Exception Value: [Errno 2] No such file or directory