List Info

Thread: bug on cherokee-admin.py




bug on cherokee-admin.py
user name
2007-02-20 09:38:54
on cherokee-admin on revision: 646

rootzod:/home/zodman/lab/cherokee
/cherokee-admin# svn info
Ruta: .
URL: svn://svn.cherokee- project.com/cherokee-admin
Raíz del repositorio: svn://svn.cherokee- project.com
UUID del repositorio: 5dc97367-97f1-0310-9951-d761b3857238
Revisión: 646
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: alo
Revisión del último cambio: 643
Fecha de último cambio: 2007-02-14 17:31:02 -0600 (mié, 14 feb 2007)
Propiedades actualizadas por última vez: 2007-02-20 02:31:29 -0600 (mar, 20 feb 2007)


im test the cherokee-admin.py running the server.sh , visit localhost:4000
and the output is this:

rootzod:/home/zodman/lab/cherokee/cherokee-admin# sh server.sh
----------------------------------------
Exception happened during processing of request from (' 192.168.254.2', 3393)
Traceback (most recent call last):
  File "SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
   ; self.RequestHandlerClass(request, client_address, self)
  File "cherokee-admin.py", line 128, in __init__
    pyscgi.SCGIHandler.__init _ _ (self, *args)
  File "/home/zodman/lab/cherokee/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py", line 49, in __init__
    SocketServer.StreamRequestHandler.__init__ (self, request, client_address, server)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "/home/zodman/lab/cherokee/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py", line 91, in handle
    self.__read_env()
  File "/home/zodman/lab/cherokee/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py", line 76, in __read_env
    headers = self.__read_netstring()
  File "/home/zodman/lab/cherokee/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py", line 64, in __read_netstring
    size = self.__read_netstring_size()
  File "/home/zodman/lab/cherokee/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py", line 60, in __read_netstring_size
    return long(size)
ValueError: invalid literal for long(): GET / HTTP/1.1
Host
----------------------------------------
/* control + D */
Traceback (most recent call last):
  File "cherokee-admin.py", line 205, in ?
    main()
  File "cherokee-admin.py", line 201, in main
    srv.handle_request()
  File "/usr/lib/python2.4/SocketServer.py", line 217, in handle_request
   ; request, client_address = self.get_request()
KeyboardInterrupt
ERROR: Unknown exit error! 0


grrrrrrrrr
Re: bug on cherokee-admin.py
country flaguser name
Spain
2007-02-20 12:27:53
Andres Vargas wrote:
> on cherokee-admin on revision: 646

>
> im test the cherokee-admin.py running the server.sh ,
visit localhost:4000
> and the output is this:
>
> rootzod:/home/zodman/lab/cherokee/cherokee-admin# sh
server.sh
> ----------------------------------------

    Hello Andrés 

    Have you tried with
/usr/sbin/cherokee-admin -d /path/to/cherokee-admin/

    Several days ago Álvaro sent a "how to", you
can search in the list 
for "Devel: Cherokee-trunk + Admin"

    Greetings,


_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: bug on cherokee-admin.py
country flaguser name
Spain
2007-02-20 12:27:53
Andres Vargas wrote:
> on cherokee-admin on revision: 646

>
> im test the cherokee-admin.py running the server.sh ,
visit localhost:4000
> and the output is this:
>
> rootzod:/home/zodman/lab/cherokee/cherokee-admin# sh
server.sh
> ----------------------------------------

    Hello Andrés 

    Have you tried with
/usr/sbin/cherokee-admin -d /path/to/cherokee-admin/

    Several days ago Álvaro sent a "how to", you
can search in the list 
for "Devel: Cherokee-trunk + Admin"

    Greetings,


_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: bug on cherokee-admin.py
country flaguser name
Spain
2007-02-20 14:51:33
Andres Vargas wrote, On 20/02/07 08:38:

 >
"/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py"
,
 > ValueError: invalid literal for long(): GET /
HTTP/1.1

   The SCGI server shouldn't receive a HTTP request, which
is what
   happened as far as I've seen in your message.

   As long as the cherokee-admin SCGI is not integrated in
to the main
   cherokee module, you'll have to execute the following
command line:

     /usr/sbin/cherokee-admin -d
/home/zodman/lab/cherokee-admin/

   I'll integrate the administration interface as soon as we
get it
   finished, and from that point on you won't longer need to
use the
   "-d PATH" parameter.

   Good luck!

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: bug on cherokee-admin.py
country flaguser name
Spain
2007-02-20 14:51:33
Andres Vargas wrote, On 20/02/07 08:38:

 >
"/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py"
,
 > ValueError: invalid literal for long(): GET /
HTTP/1.1

   The SCGI server shouldn't receive a HTTP request, which
is what
   happened as far as I've seen in your message.

   As long as the cherokee-admin SCGI is not integrated in
to the main
   cherokee module, you'll have to execute the following
command line:

     /usr/sbin/cherokee-admin -d
/home/zodman/lab/cherokee-admin/

   I'll integrate the administration interface as soon as we
get it
   finished, and from that point on you won't longer need to
use the
   "-d PATH" parameter.

   Good luck!

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: bug on cherokee-admin.py
user name
2007-02-20 22:29:27
yeahh this works duds .... tnx

2007/2/20, Alvaro Lopez Ortega < alvarognu.org">alvarognu.org&gt;:
Andres Vargas wrote, On 20/02/07 08:38:

> "/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py",
> ValueError: invalid literal for long(): GET / HTTP/1.1

  ; The SCGI server shouldn9;t receive a HTTP request, which is what
&nbsp;  happened as far as I've seen in your message.

  ; As long as the cherokee-admin SCGI is not integrated in to the main
 ;  cherokee module, you'll have to execute the following command line:

&nbsp; &nbsp;  /usr/sbin/cherokee-admin -d /home/zodman/lab/cherokee-admin/

 &nbsp; I'll integrate the administration interface as soon as we get it
 &nbsp; finished, and from that point on you won't longer need to use the
   "-d PATH" parameter.

 &nbsp; Good luck!

--
Greetings, alo.
http://www.alobbs.com

Re: bug on cherokee-admin.py
user name
2007-02-20 22:29:27
yeahh this works duds .... tnx

2007/2/20, Alvaro Lopez Ortega < alvarognu.org">alvarognu.org&gt;:
Andres Vargas wrote, On 20/02/07 08:38:

> "/cherokee-admin/cherokee-pyscgi/pyscgi/pyscgi.py",
> ValueError: invalid literal for long(): GET / HTTP/1.1

  ; The SCGI server shouldn9;t receive a HTTP request, which is what
&nbsp;  happened as far as I've seen in your message.

  ; As long as the cherokee-admin SCGI is not integrated in to the main
 ;  cherokee module, you'll have to execute the following command line:

&nbsp; &nbsp;  /usr/sbin/cherokee-admin -d /home/zodman/lab/cherokee-admin/

 &nbsp; I'll integrate the administration interface as soon as we get it
 &nbsp; finished, and from that point on you won't longer need to use the
   "-d PATH" parameter.

 &nbsp; Good luck!

--
Greetings, alo.
http://www.alobbs.com

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )