Mailing List Archive

Issue 1306 in cherokee: invalid literal for int() with base 10: 'None' while accessing vserver settings
Status: New
Owner: ----

New issue 1306 by lea.g...@noiraude.net: invalid literal for int() with
base 10: 'None' while accessing vserver settings
http://code.google.com/p/cherokee/issues/detail?id=1306

What steps will reproduce the problem?
1. remove php5-cgi and replace with php5-fpm packages
2. try to access the vserver settings
3.

What is the expected output? What do you see instead?
The vserver settings should display

What version of the product are you using? On what operating system?
1.2.2-2build1 (Oneric) Ubuntu

Please provide any additional information below.
For some reason, the issue could not be reported to the Cherokee project.

Please, do not hesitate to report the issue on our bug tracking system if
the problem persists.

=== output from http://127.0.0.1:9090/vserver ===

Traceback (most recent call last):
File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 178, in
handle_request
content = self._do_handle()
File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 133, in
_do_handle
ret = published (**published._kwargs)
File "/usr/share/cherokee/admin/PageVServers.py", line 351, in __call__
return page.Render()
File "/usr/share/cherokee/admin/CTK/CTK/Page.py", line 114, in Render
render = Container.Render(self)
File "/usr/share/cherokee/admin/CTK/CTK/Container.py", line 51, in Render
tmp = c.Render()
File "/usr/share/cherokee/admin/CTK/CTK/Box.py", line 51, in Render
render = Container.Render (self)
File "/usr/share/cherokee/admin/CTK/CTK/Container.py", line 51, in Render
tmp = c.Render()
File "/usr/share/cherokee/admin/CTK/CTK/Refreshable.py", line 75, in
Render
render = self.build_func (**self.params)
File "/usr/share/cherokee/admin/PageVServers.py", line 312, in
refresh_r.register (lambda: self.PanelList(refresh_r, right).Render())
File "/usr/share/cherokee/admin/PageVServers.py", line 186, in __init__
vservers.sort (lambda x,y: cmp(int(x), int(y)))
File "/usr/share/cherokee/admin/PageVServers.py", line 186, in
vservers.sort (lambda x,y: cmp(int(x), int(y)))
ValueError: invalid literal for int() with base 10: 'None'


_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Re: Issue 1306 in cherokee: invalid literal for int() with base 10: 'None' while accessing vserver settings [ In reply to ]
Comment #1 on issue 1306 by psaod8fz...@gmail.com: invalid literal for
int() with base 10: 'None' while accessing vserver settings
http://code.google.com/p/cherokee/issues/detail?id=1306

Same as http://code.google.com/p/cherokee/issues/detail?id=957 ??

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