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

Re: Pyla on OS X



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. 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.

Then the gui comes up, but without the normal connection information and/or job list.

This same codebase is working fine on Linux and Windows XP workstations, connecting to the same server, leading me to believe it's a Panther issue. I'll see if I can give it a try on a Jaguar box here later and see if I have better results.

On Nov 12, 2003, at 1:47 PM, Adam Augustine wrote:
Maybe. The version of Python included in Mac OS X (10.2 anyway) is, well, incomplete (missing tkinter support as well as other things) and old (version 2.2 I think). You need later and more complete versions to get pyla to work properly.
--
Daniel E. Markle