Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Pyro "could not find NameServer"

Thread Tools

Re: Pyro "could not find NameServer"

Chuckk Hubbard
Posts: n/a
OK, I think I have it. The Manual says to start a Name Server "using
the ns command", and I figured out that means using the pyro-ns

On Mon, Nov 10, 2008 at 10:49 AM, Chuckk Hubbard
<(E-Mail Removed)> wrote:
> The docs say to try to discover the URI on my own if this happens.
> Could I get a hand doing that?
> This isn't just something I want to solve on my machine, e.g. by
> changing my network setup or what not; this is a program I hope to
> distribute and I hope my users can avoid having to deal with this,
> because I suspect they won't.
> Thankye.
> Here's what I typed and what I got:
> $ python
> Python 2.5.2 (r252:60911, Aug 6 2008, 09:17:29)
> [GCC 4.3.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import Pyro.core
>>>> import Pyro.naming
>>>> Pyro.core.initServer()
>>>> ns = Pyro.naming.NameServerLocator().getNS()

> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python2.5/site-packages/Pyro/", line
> 175, in getNS
> reply = self.sendSysCommand(NS_SYSCMD_LOCATION,host,port,t race,1,bcaddr)
> File "/usr/local/lib/python2.5/site-packages/Pyro/", line
> 76, in sendSysCommand
> raise Pyro.errors.NamingError("could not find NameServer")
> Pyro.errors.NamingError: could not find NameServer

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pyro "could not find NameServer" Chuckk Hubbard Python 0 11-10-2008 08:49 AM
Can I dyanmically add Pyro objects to a running Pyro server? writeson Python 0 03-20-2008 02:46 PM
Find.find does not find orphaned links? Wybo Dekker Ruby 1 11-15-2005 02:50 PM
[Pyro] Newbie Question Regarding Pyro John French Python 0 01-07-2005 03:56 PM
ANN: Pyro 3.3 beta Irmen de Jong Python 0 07-02-2003 09:15 PM