← Back to team overview

graphite-dev team mailing list archive

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

 

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

    Status: Open => Answered

Brian Hatfield proposed the following answer:
That looks like eruby template code for chef that was not properly
processed. Are you using chef?


On Thu, Dec 13, 2012 at 9:26 AM, Hans Schou <
question216708@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>

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