[Pythonmac-SIG] gensuitemodule.py application selection window does not take focus

Matt Duignan mattduignan at yahoo.com
Fri Sep 26 20:30:30 EDT 2003


Hello,

I think I may have run into a bug, or big usability
problem with gensuitemodule. Any assistance would be
greatly appreciated.

----

I was hoping to use Python's OSA support for accessing
OS X's Address Book.

I believe that as a first step I need to generate a
python package for Address Book with  gensuitemodule.

(Note, I am using MacPython V 2.3 on OS X 10.2.6)

When I run:

python
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/gensuitemodule.py

the "Choose a File" dialogue opens, for "Select
scriptable application". The problem is that this
window seems to refuse to take focus i.e. the window
decoration is transparent, buttons and sliders do not
respond to the mouse or keyboard, and the window
cannot be brought into the foreground over other
application windows. However, this dialogue does let
you select an application, but since double clicks or
the choose button don't work, it is impossible to make
the dialogue complete.

Is this a known bug, or am I going about this the
wrong way?

(Note, my "python" command is symlinked to the
MacPython rather then OS X's included python. I've had
no problems with MacPython, including using it with
the PyObjC bridge)

Thanks in advance,
Matt Duignan


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the Pythonmac-SIG mailing list