[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Pyla on OS X



On Thu, 2003-11-13 at 22:52, Daniel E.Markle wrote:
> I'm trying to get Pyla working on Panther.  I've installed the full  
> batteries included tk package and the MacPython panther supplement with  
> the tkinter binary.  
Great!!!
> Pyla works fine, comes up with a gui and  
> everything, until I enter a valid server hostname and restart.  Then,  
> whenever I start pyla again it hangs with nothing coming up, then after  
> about 5 minutes, it spits out this error:
> 
> Exception in Tkinter callback
> Traceback (most recent call last):
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/lib-tk/Tkinter.py", line 1345, in __call__
>      return self.func(*args)
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/lib-tk/Tkinter.py", line 456, in callit
>      func(*args)
>    File "pyla.py", line 869, in startup_actions
>      th_update_all()
>    File "pyla.py", line 527, in th_update_all
>      if status.update_status() and queue.update_status():
>    File "pyla.py", line 57, in update_status
>      (faxstatus,msg) = hyla.getstatus()
>    File "/Users/syntax/Program Installers/pyla/hylaproto.py", line 127,  
> in getstatus
>      self.ftp.retrlines('LIST status',self.callback)
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/ftplib.py", line 396, in retrlines
>      conn = self.transfercmd(cmd)
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/ftplib.py", line 345, in transfercmd
>      return self.ntransfercmd(cmd, rest)[0]
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/ftplib.py", line 334, in ntransfercmd
>      resp = self.sendcmd(cmd)
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/ftplib.py", line 241, in sendcmd
>      return self.getresp()
>    File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/ftplib.py", line 212, in getresp
>      raise error_temp, resp
> error_temp: 425 Cannot build data connection: Connection timed out.
This seems to be a socket problem. It's like you have a firewall
beetween the client and the server.
Actually Pyla is waiting for a ftp data connection but the client times
out. 
Try to use a normal ftp client from your Panther and see if it works.
Try to set Pyla in passive mode setti to 1 the property on line 78 in
hylaproto.py.

Bye. 
-- 

Andrea Nicolini
andrea@teamsw.it
http://www.teamsw.it
Team Software S.r.l.
Via Campagna 30
Cognento MO
Tel 059.343790