Mailing List Archive

Issue 1371 in cherokee: cherokee-admin crash
Status: New
Owner: ----

New issue 1371 by j.vonpreussen: cherokee-admin crash
http://code.google.com/p/cherokee/issues/detail?id=1371

What steps will reproduce the problem?
1. home: stop server (due to no re-start dialogue after config changes).
this worked
2. home: start server causes crash while loading 'rrd'
3. problem page "report this" submit button does not work

What is the expected output? What do you see instead?
items 2/3 should work and they did not.

What version of the product are you using? On what operating system?
101


Please provide any additional information below.

Unexpected Exception
EOL while scanning string literal
We apologize for any inconveniences that this may have caused. Traceback
(most recent call last):
File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 185, in
handle_request
content = self._do_handle()
File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 140, in
_do_handle
ret = published (**published._kwargs)
File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 360, in __call__
return self.__func (*args, **kwargs)
File "/usr/share/cherokee/admin/PageIndex.py", line 137, in Launch
page_error = PageError.PageErrorLaunch (error)
File "/usr/share/cherokee/admin/PageError.py", line 55, in __init__
exec(src)
File "", line 1
self._error = {'type': "error", 'time': "17/08/2012
09:22:36.951", 'title': "Could not execute RRD command: update
/srv/w/rrd/server.rrd N:0:0:0:0:0

^
SyntaxError: EOL while scanning string literal

Please, send your comments to the server developers. Your configuration
file will be attached upon submission. What were you doing when the issue
showed up?
stopping and then starting server in cherokee-admin. this is required
since saving config changes does not bring up the re-start dialogue. stop
was "OK", and then this happened. 'rrd' has been used right along with no
problems.

centos 6.2 x86_64: starting by using 'service' at the CLI yields this:
'service cherokee start'
> shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: No such file or directory
> chdir: error retrieving current directory: getcwd: cannot access parent
> directories: No such file or directory
> Starting cherokee: [ OK ]

the directory tree for cherokee for multi-domain serving is
/srv/w/domain.tld/html. and, 'rrd' is /srv/w/rrd (as noted in the
traceback, supra).

cherokee.conf extract:
> server!collector = rrd
> server!collector!database_dir = /srv/w/rrd
> server!collector!rrdtool_path = /usr/bin/rrdtool

problem page'submit' data:
<input id="widget_199" name="traceback"
value="Traceback%20%28most%20recent%20call%20last%29%3A%0A%20%20File%20%22/usr/share/cherokee/admin/CTK/CTK/Server.py%22%2C%20line%20185%2C%20in%20handle_request%0A%20%20%20%20content%20%3D%20self._do_handle%28%29%0A%20%20File%20%22/usr/share/cherokee/admin/CTK/CTK/Server.py%22%2C%20line%20140%2C%20in%20_do_handle%0A%20%20%20%20ret%20%3D%20published%20%28%2A%2Apublished._kwargs%29%0A%20%20File%20%22/usr/share/cherokee/admin/CTK/CTK/Server.py%22%2C%20line%20360%2C%20in%20__call__%0A%20%20%20%20return%20self.__func%20%28%2Aargs%2C%20%2A%2Akwargs%29%0A%20%20File%20%22/usr/share/cherokee/admin/PageIndex.py%22%2C%20line%20137%2C%20in%20Launch%0A%20%20%20%20page_error%20%3D%20PageError.PageErrorLaunch%20%28error%29%0A%20%20File%20%22/usr/share/cherokee/admin/PageError.py%22%2C%20line%2055%2C%20in%20__init__%0A%20%20%20%20exec%28src%29%0A%20%20File%20%22%3Cstring%3E%22%2C%20line%201%0A%20%20%20%20self._error%20%3D%20%7B%27type%27%3A%20%22error%22%2C%20%27time%27%3A%20%2217/08/2012%2
009%3A22%3A36.951%22%2C%20%27title%27%3A%20%22Could%20not%20execute%20RRD%20command%3A%20update%20/srv/w/rrd/server.rrd%20N%3A0%3A0%3A0%3A0%3A0%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%0ASyntaxError%3A%20EOL%20while%20scanning%20string%20literal%0A"
type="hidden">
<button id="button_200" class="button">Report this</button>





_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Re: Issue 1371 in cherokee: cherokee-admin crash [ In reply to ]
Comment #1 on issue 1371 by psaod8fz...@gmail.com: cherokee-admin crash
http://code.google.com/p/cherokee/issues/detail?id=1371

Related to http://code.google.com/p/cherokee/issues/detail?id=1371 ???

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev