Hi David,

No, apologies, Python 2.6 is not working.  The asyncore and asynchat modules
were changed dramatically from Python 2.5->2.6, enough to break supervisor
almost entirely.  It' unclear when (or if) supervisor will work under 2.6+ ;
I've raised the issue on the python-dev list.

David Creemer wrote:
> Hi-
> 
> I'm experimenting with supervisor on Python 2.5.x and 2.6.1, and have a
> couple of concerns about the latter. I'm willing to work on some fixes
> if someone can point me in the right direction. I see a couple of issues
> right now:
> 
> 
> $ supervisorctl
> /usr/local/supervisor/lib/medusa-0.5.4-py2.6.egg/medusa/auth_handler.py:13:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> supervisor> status
> foo                              STOPPED    Mar 17 05:29 PM
> supervisor> start foo
> error: <class 'httplib.BadStatusLine'>, : file:
> /usr/lib/python2.6/httplib.py line: 354
> supervisor> status
> foo                              RUNNING    pid 8223, uptime 0:09:50
> 
> 
> Any thoughts on these? Obviously the deprecation warning is easily
> fixed, but Medusa seems to be a more or less dormant project...  More
> troubling is the last error -- the service is started, but something
> isn't quite right. In addition, the xmplrpc interface returns a
> (probably related) error:
> 
> 
> Python 2.6.1+ (r261:67515, Mar  2 2009, 13:11:28)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import xmlrpclib
>>>> s = xmlrpclib.ServerProxy( "http://username:passw...@localhost:9001"; )
>>>> s.supervisor.getVersion()
> '3.0'
>>>> s.supervisor.stopProcess( "foo" )
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "xmlrpclib.py", line 1199, in __call__
>    return self.__send(self.__name, args)
>  File "xmlrpclib.py", line 1489, in __request
>    verbose=self.__verbose
>  File "xmlrpclib.py", line 1243, in request
>    headers
> xmlrpclib.ProtocolError: <ProtocolError for
> username:passw...@localhost:9001/RPC2: -1 >
> 
> 
> Is anyone else having success on 2.6.1 (I'm on Ubuntu 9.04 x86_64
> pre-release)
> 
> thanks,
> -- David
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
> 

_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to