[Pygui] PyGUI 2.2 on OS X Leopard -- demos fail

Bill Janssen janssen at parc.com
Mon Jun 14 19:42:50 CEST 2010


I just downloaded PyGUI 2.2 on my Intel Leopard machine.  I untarred it,
and ran "python setup.py build", then "python setup.py install" at the
top level.  This is with the default system Python 2.5.

I can't run either of the demos.  "python nag_box.py" gives me:

/tmp/PyGUI-2.2/Demos/NagBox 22 % python nag_box.py 
Traceback (most recent call last):
  File "nag_box.py", line 22, in <module>
    dlog.present()
  File "/Library/Python/2.5/site-packages/GUI/Generic/ModalDialogs.py", line 20, in present
    self.modal_event_loop()
  File "/Library/Python/2.5/site-packages/GUI/Generic/GWindows.py", line 256, in modal_event_loop
    application()._event_loop(self)
  File "/Library/Python/2.5/site-packages/GUI/Generic/GApplications.py", line 161, in _event_loop
    self.handle_next_event(modal_window)
  File "/Library/Python/2.5/site-packages/GUI/Cocoa/Applications.py", line 123, in handle_next_event
    NSAnyEventMask, None, ns_mode, True)
ValueError: depythonifying 'unsigned int', got 'int' of wrong magnitude
/tmp/PyGUI-2.2/Demos/NagBox 23 % 

And "python blobedit.py just hangs without putting up any windows.

Bill


More information about the Pygui mailing list