← Back to team overview

graphite-dev team mailing list archive

[Question #216708]: Apache error, invalid syntax importer.py

 

New question #216708 on Graphite:
https://answers.launchpad.net/graphite/+question/216708

Hi

I have graphite_web-0.9.8 running on Debian Squeeze and have been upgrading some python libs and now I got this Apache 500 error:

mod_python (pid=20966, interpreter='graphite.binney', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error
ServerName: 'graphite.binney'
DocumentRoot: '/opt/graphite/webapp'
URI: '/favicon.ico'
Location: '/'
Directory: None
Filename: '/opt/graphite/webapp/favicon.ico'
PathInfo: ''
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1186, in _process_target\n    newpath = eval(pathstring)
  File "<string>", line 1
    ['<%= node['graphite']['doc_root'] %>'] + sys.path
                       ^
SyntaxError: invalid syntax

Can someone guide me further? Any help appreciated.

/hans

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.


Follow ups