<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.2">
</HEAD>
<BODY>
On Tue, 2006-07-18 at 08:23 -0400, Scott J. Henson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Gabriel M Dragffy wrote:</FONT>
<FONT COLOR="#000000">> Hi, I installed pype from the repositories. If I run from the menu and</FONT>
<FONT COLOR="#000000">> select FILE --> NEW it just exits. Running it from the terminal lets me</FONT>
<FONT COLOR="#000000">> see the following when it crashes:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> ~$ pype</FONT>
<FONT COLOR="#000000">> [ Tue Jul 18 18:54:28 2006 ] Traceback (most recent call last):</FONT>
<FONT COLOR="#000000">> File "/usr/share/pype/plugins/single_instance.py", line 63, in</FONT>
<FONT COLOR="#000000">> send_documents</FONT>
<FONT COLOR="#000000">> startup(0)</FONT>
<FONT COLOR="#000000">> File "/usr/share/pype/plugins/single_instance.py", line 85, in startup</FONT>
<FONT COLOR="#000000">> Listener()</FONT>
<FONT COLOR="#000000">> File "/usr/share/pype/plugins/single_instance.py", line 47, in __init__</FONT>
<FONT COLOR="#000000">> self.bind(('127.0.0.1', 9999))</FONT>
<FONT COLOR="#000000">> File "/usr/lib/python2.4/asyncore.py", line 304, in bind</FONT>
<FONT COLOR="#000000">> return self.socket.bind(addr)</FONT>
<FONT COLOR="#000000">> File "<string>", line 1, in bind</FONT>
<FONT COLOR="#000000">> error: (98, 'Address already in use')</FONT>
<FONT COLOR="#000000">This is kind of odd. It looks like its trying to</FONT>
<FONT COLOR="#000000">dynamically bind to a port on localhost, but it hard coded</FONT>
<FONT COLOR="#000000">9999 as the port number and somebody already has that port.</FONT>
<FONT COLOR="#000000"> So, it fails and never tries another port. You should use</FONT>
<FONT COLOR="#000000">'sudo lsof -i | grep 9999' to see who has that port and</FONT>
<FONT COLOR="#000000">consider shutting down that process.</FONT>
</PRE>
</BLOCKQUOTE>
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.<BR>
<BR>
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.
</BODY>
</HTML>