PyPE Segfaults

Gabriel M Dragffy dragffy at yandex.ru
Tue Jul 18 14:31:22 UTC 2006


On Tue, 2006-07-18 at 08:23 -0400, Scott J. Henson wrote:

> Gabriel M Dragffy wrote:
> > Hi, I installed pype from the repositories. If I run from the menu and
> > select FILE --> NEW it just exits. Running it from the terminal lets me
> > see the following when it crashes:
> > 
> > ~$ pype
> > [ Tue Jul 18 18:54:28 2006 ] Traceback (most recent call last):
> >   File "/usr/share/pype/plugins/single_instance.py", line 63, in
> > send_documents
> >     startup(0)
> >   File "/usr/share/pype/plugins/single_instance.py", line 85, in startup
> >     Listener()
> >   File "/usr/share/pype/plugins/single_instance.py", line 47, in __init__
> >     self.bind(('127.0.0.1', 9999))
> >   File "/usr/lib/python2.4/asyncore.py", line 304, in bind
> >     return self.socket.bind(addr)
> >   File "<string>", line 1, in bind
> > error: (98, 'Address already in use')
> 
> This is kind of odd.  It looks like its trying to
> dynamically bind to a port on localhost, but it hard coded
> 9999 as the port number and somebody already has that port.
>  So, it fails and never tries another port.  You should use
> 'sudo lsof -i | grep 9999' to see who has that port and
> consider shutting down that process.

Hi!!!!! As soon as I read your first paragraph i realized the problem. I
didn't realise that PyPE wanted port 9999 but as it happens this
computer is running apt-proxy and I can tell you that without running
lsof.

I went to pype on sourceforge and downloaded the source, it doesn't need
compiling or installing just execute the python script and it works
really well. Thank you very much for your insight.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060718/5c602a44/attachment-0001.html>


More information about the ubuntu-users mailing list