Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 727 in cherokee: Adding new information source fails

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Feb 1, 2010, 7:54 AM

Post #1 of 6 (437 views)
Permalink
Issue 727 in cherokee: Adding new information source fails

Status: New
Owner: ----

New issue 727 by fulgentweb: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

What steps will reproduce the problem?
1.Go to Information Source page in the admin interface
2.Click add new source
3.Select 'local interpreter'
4.Input bbold for Nick
5.Input 127.0.0.1:47999 for connection
6.Input /usr/bin/php-cgi -b 127.0.0.1:47999 for interpreter
7.Click on the timeout field

What is the expected output? What do you see instead?

Expected output: Confirmation of the new source added

Actual output:
Traceback (most recent call last):
File "/usr/share/cherokee/admin/server.py", line 173, in handle_request
body = page.HandleRequest(uri, post)
File "/usr/share/cherokee/admin/Form.py", line 64, in HandleRequest
return self._op_handler(ruri, post)
File "/usr/share/cherokee/admin/PageInfoSource.py", line 130, in
_op_handler
return self._apply_new_source (uri, post)
File "/usr/share/cherokee/admin/PageInfoSource.py", line 176, in
_apply_new_source
tmp = [int(x) for x in self._cfg.keys('source')]
ValueError: invalid literal for int() with base 10: 'None'

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

0.99.42 on self-compiled Linux

Please provide any additional information below.

Last time function was used was on 0.99.39 and it worked as expected.
No other upgrade have been done on the server since then.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Feb 2, 2010, 5:56 AM

Post #2 of 6 (400 views)
Permalink
Re: Issue 727 in cherokee: Adding new information source fails [In reply to]

Comment #1 on issue 727 by tahers: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

I can't reproduce the issue. Could you please try launching cherokee-admin
with "-C
/tmp/cherokee_test.conf" to create a different configuration file from
scratch and
try the process again?

If it works, please check your previous information sources or attach your
current
configuration file (trim at your will, but keep the source!... entries
intact). I
would love to rule this one out or fix the bug ASAP ;-)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Feb 2, 2010, 8:36 AM

Post #3 of 6 (402 views)
Permalink
Re: Issue 727 in cherokee: Adding new information source fails [In reply to]

Comment #2 on issue 727 by fulgentweb: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

You are right. It is a problem with the configuration file. The relevant
part being:

...
vserver!50!rule!500!handler!balancer!source!1 = None
...
source!None!env_inherited = 1
source!None!host = 127.0.0.1:47278
source!None!interpreter = /usr/bin/uwsgi -s 127.0.0.1:47278 -t 10 -M -p 1
-C -x
/srv/www/AMCDjangoApps/uwsgi.xml
source!123!nick = uWSGI AMC
source!123!type = interpreter
...

Manually changing those None to 123 fixes the problem. Still how happened
that those
values were changed to None? This is an old source that has not been
modified for a
while and that was working just two days ago. The only thing I remember
doing that
caused the admin website to behave weirdly was while I was trying to add a
host to
the sources. After filling in the fields the page was just sitting there
and the
source was not added. I have tried this again today and after being able to
add two
host to the sources, the same thing happened again while adding a third
one. Can this
issue cause the corruption of the config file?
FYI, the source not being added problem happened with Firefox and Chrome so
it
doesn't seem to be browser related.

Please let me know if there is any other test you need me to do.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Feb 2, 2010, 12:53 PM

Post #4 of 6 (413 views)
Permalink
Re: Issue 727 in cherokee: Adding new information source fails [In reply to]

Updates:
Owner: tahers
Labels: Component-Admin

Comment #3 on issue 727 by tahers: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

I can't seem to figure out the reason for the strange behavior. The problem
is with
those incomplete sources, but the logic in the admin doesn't seem to allow
incomplete
sources to be added. I've tried to reproduce your issue by adding up to 20
sources,
and haven't been able to make it fail once.

I'm afraid that without a reliable way of reproducing this, the glitch
can't be
fixed. Could you describe your set-up a little more?

Anyways, a major rework on the admin is currently on it's way using the
newly
developed CTK, so chances are the issue will fade when we make the
transition.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Feb 11, 2010, 10:04 AM

Post #5 of 6 (382 views)
Permalink
Re: Issue 727 in cherokee: Adding new information source fails [In reply to]

Comment #4 on issue 727 by skarcha: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

It think it's related to the clone information source option.

See issue 701


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Mar 4, 2010, 5:45 AM

Post #6 of 6 (344 views)
Permalink
Re: Issue 727 in cherokee: Adding new information source fails [In reply to]

Updates:
Status: Invalid

Comment #5 on issue 727 by tahers: Adding new information source fails
http://code.google.com/p/cherokee/issues/detail?id=727

Yes, I also think was caused by that bug. I'm closing this one and
reviewing 701.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.