From: Tim L. <tl...@ve...> - 2003-04-04 04:23:39
|
> You are welcome to write some code that actually figures out available > com port names for the Mac :-) I currently have seperate code in > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/bitpim/comscan/ > comscan.py I found some code via the Python mailing list that enumerates the serial ports. It's called OSXSerialPorts and written by Pascal Oberndoerfer. I actually haven't used it yet, but it contains a C file and a Python wrapper. >> PythonIDE looks quite powerful with a module browser and debugger, so >> when I have more time I'll have to reexamine what I was doing wrong. > > There is also pycrust that is part of wxPython. It is an interactive > environment. The interactive environment for PythonIDE seems to work ok. >> Currently, the application hangs when I attempt >> to expand the file directory. It says "Retrieving..." and the lower >> left corner says "BUSY". I started looking into this again. It appears to be hanging in OnDirListingResults in gui.py -- an infinite loop in "while cookie!=0" statement. The path is a null string. I verified that getfilesystem is returning a proper dictionary containing file system info. Any thoughts before I look into this further? Also, what's the deal with subtracting 10000 in the initial cookie calculation? Tim |