[Python-projects] Re: apycot

Julien Jehannet julien.jehannet at logilab.fr
Tue Apr 21 17:24:52 CEST 2009


> * Didrik Pinte <lists at dipole-consulting.com> [21-avr-2009 16:58]:
> On Tue, 2009-04-21 at 16:38 +0200, Sylvain Thénault wrote:
> > apycotbot -D
> 
> Hi Sylvain,
> 
> That solved the problem :
> 
> 2009-04-21 17:00:52 - (Pyro.140319060259832) INFO: PYROAdapter **
> connection failed to URI PYROLOC://127.0.1.1:9090/:Pyro.NameServer
> 2009-04-21 17:00:52 - (Pyro.140319060259832) INFO: NameServerLocator **
> Trying host localhost
> 2009-04-21 17:00:52 - (Pyro.140319060259832) INFO: PYROAdapter **
> connection failed to URI PYROLOC://127.0.0.1:9090/:Pyro.NameServer
> Traceback (most recent call last):
>   File "/usr/bin/apycotbot", line 3, in <module>
>     server.run()
>   File "/usr/lib/python2.5/site-packages/apycotbot/server.py", line 421,
> in run
>     server.start()
>   File "/usr/lib/python2.5/site-packages/apycotbot/server.py", line 160,
> in start
>     self._daemon = self._pyro_register()
>   File "/usr/lib/python2.5/site-packages/apycotbot/server.py", line 239,
> in _pyro_register
>     daemon.useNameServer(self._pyro_nameserver(nsgroup))
>   File "/usr/lib/python2.5/site-packages/apycotbot/server.py", line 252,
> in _pyro_nameserver
>     self['pyro-ns-port'])
>   File "/usr/lib/python2.5/site-packages/Pyro/naming.py", line 178, in
> getNS
>     reply = self.sendSysCommand(NS_SYSCMD_LOCATION,host,port,trace)
>   File "/usr/lib/python2.5/site-packages/Pyro/naming.py", line 86, in
> sendSysCommand
>     raise errors.NamingError("could not find NameServer")
> Pyro.errors.NamingError: could not find NameServer
> 
> 
> Should I have to have a local NameServer ? 
> 
> Didrik

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.

Cordially,
-- 
Julien JEHANNET                                          LOGILAB, Paris (France)
http://www.logilab.org             Dépôt des logiciels libres conçus par Logilab
http://www.logilab.fr       Informatique scientifique & Gestion de connaissances
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090421/520fef77/attachment-0270.sig>


More information about the Python-Projects mailing list