I'm trying to run the Python examples distributed with XCode and they
all give me the same error:
Traceback (most recent call last):
File "checktext. py", line 35, in <module>
main()
File "checktext. py", line 8, in main
pathname = EasyDialogs.Ask FileForOpen(mes sage='File to check
end-of-lines in:')
File "/usr/local/lib/python2.5/plat-mac/EasyDialogs.py" , line 650, in
AskFileForOpen
_interact()
File "/usr/local/lib/python2.5/plat-mac/EasyDialogs.py" , line 53, in
_interact
AE.AEInteractWi thUser(50000000 )
MacOS.Error: (-1713, 'no user interaction is allowed')
Googling reveals that the answer is to use pythonw, but there is no such
thing installed on my system:
[ron@mickey:~]$ pythonw
-bash: pythonw: command not found
Apparently, pythonw didn't get built when I installed Python 2.5, and I
can't find any instructions on how to build it. (The installation
instructions don't seem to mention it.)
If anyone could spare a clue I would be most grateful.
Thank,
rg
all give me the same error:
Traceback (most recent call last):
File "checktext. py", line 35, in <module>
main()
File "checktext. py", line 8, in main
pathname = EasyDialogs.Ask FileForOpen(mes sage='File to check
end-of-lines in:')
File "/usr/local/lib/python2.5/plat-mac/EasyDialogs.py" , line 650, in
AskFileForOpen
_interact()
File "/usr/local/lib/python2.5/plat-mac/EasyDialogs.py" , line 53, in
_interact
AE.AEInteractWi thUser(50000000 )
MacOS.Error: (-1713, 'no user interaction is allowed')
Googling reveals that the answer is to use pythonw, but there is no such
thing installed on my system:
[ron@mickey:~]$ pythonw
-bash: pythonw: command not found
Apparently, pythonw didn't get built when I installed Python 2.5, and I
can't find any instructions on how to build it. (The installation
instructions don't seem to mention it.)
If anyone could spare a clue I would be most grateful.
Thank,
rg
Comment