Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid literal for int() with base 10: 'None' while accessing vserver settings #894

Open
danielniccoli opened this issue Mar 24, 2013 · 1 comment
Labels

Comments

@danielniccoli
Copy link
Contributor

Original author: lea.g...@noiraude.net (November 24, 2011 12:06:53)

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'

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1306

@danielniccoli
Copy link
Contributor Author

From psaod8fz...@gmail.com on December 19, 2012 15:18:19
Same as http://code.google.com/p/cherokee/issues/detail?id=95 (Github: #160)7 (Github: #​709 (Github: #624)) ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant