[Python-projects] apycot

Didrik Pinte lists at dipole-consulting.com
Tue Apr 21 22:59:22 CEST 2009


On Tue, 2009-04-21 at 17:24 +0200, Julien Jehannet wrote:
> 
> Hi Didrik,
> 
> You have to launch initially a pyro name server:
> 
> 	% pyro-nsd start
> 
> You can edit the ENABLED variable in /etc/default/pyro-nsd for
> permanent system init.

Thanks Julien and Sylvain,

It works now. I am one step further ;-)

So, now cubicweb runs, the apycotbot runs too. I have a configuration
for a project named hydroplaform in cubicweb.

When starting the apycotclient, I got the following error :

homer:/tmp# apycotclient start hydroplatform
retrieving proxy to the apycot bot... done.
error while queuing task hydroplatform: ("can't start test
hydroplatform, can't connect to apycot", 'This error occured remotely
(Pyro). Remote traceback is available.')


And on the apycotbot side :

2009-04-21 22:58:35 - (apycot.cubicweb) CRITICAL: error while trying to
connect to instance 'apycot': Could not get repository
for :cubicweb.apycot (not registered in Pyro), you may have to restart
your server-side application
2009-04-21 22:58:35 - (Pyro.140695132660728) WARNING: Daemon **
Exception during processing of request from TCPConnection with
('127.0.1.1', 43267) connected=1  type <type 'exceptions.Exception'> 
--- traceback of this exception follows:
 --------------------------------------------------
 <<type 'exceptions.Exception'>> RAISED : can't start test
hydroplatform, can't connect to apycot
 Extended Stacktrace follows (most recent call last)
--------------------------------------------------
File "/usr/lib/python2.5/site-packages/Pyro/protocol.py", line (611), in
PYROAdapter::_handleInvocation2
Source code:
    res = obj[0].Pyro_dyncall(req[1],flags,req[3])	# (method,flags,args)
File "/usr/lib/python2.5/site-packages/Pyro/core.py", line (106), in
ObjBase::Pyro_dyncall
Source code:
    return getattr(self.delegate or self,method) (*args,**keywords)
Local values:
--------------------------------------------------
File "/usr/lib/python2.5/site-packages/apycotbot/server.py", line (289),
in ApycotBotServer::queue_task
Source code:
    tconfig = self._cnx_hdlr.test_config(test)
Local values:
--------------------------------------------------
File "/usr/lib/python2.5/site-packages/apycotbot/utils.py", line (188),
in ConnectionHandler::test_config
Source code:
    % (test, self.cw_pyro_appid))
Local values:
--------------------------------------------------
 <<type 'exceptions.Exception'>> RAISED : can't start test
hydroplatform, can't connect to apycot
--------------------------------------------------
 
--- end of traceback


Restarting cubicweb did not help ...

Any hint ?

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090421/7b0a7102/attachment-0270.sig>


More information about the Python-Projects mailing list