Hi,
I've just installed PyGUI on Snow Leopard 10.6.3, using the python
that came with it:
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin


When I try to run any of the tests, I get the following error:

brett$ python 01-application.py
  File "01-application.py", line 7, in <module>
    class TestApp(GUI.Application):
  File "/Library/Python/2.6/site-packages/GUI/__init__.py", line 78,
in __getattr__
    traceback.print_stack()
Failed to import 'Application' from Applications
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/GUI/__init__.py", line 69,
in __getattr__
    module = __import__(modname, self.__dict__, locals(), [name])
  File "/Library/Python/2.6/site-packages/GUI/Cocoa/Applications.py",
line 231, in <module>
    class _PyGui_NSApplication(NSApplication):
BadPrototypeError: Objective-C expects 1 arguments, Python argument
has 1 arguments for <unbound selector dispatch_to_app of
_PyGui_NSApplication at 0x35ee2c0>


What am I doing wrong here?

Cheers,
Brett
_______________________________________________
Pygui mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pygui

Reply via email to