Hi Greg

Thanks for all the effort you are putting in on PyGUI - it shows great promise. However there appears to be a slight problem with version 2.3.2 as when I run the code from my previous email "Pixmap confusion" I get a Traceback on startup.

Cheers
Colin

Macintosh:cb colin$ python link.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ python/PyObjC/objc/_bridgesupport.py:9: UserWarning: Module site was already imported from /System/Library/Frameworks/Python.framework/ Versions/2.5/lib/python2.5/site.pyc, but /Library/Python/2.5/site- packages/Enstaller-3.0.5-py2.5.egg is being added to sys.path
  import pkg_resources
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ python/PyObjC/objc/_bridgesupport.py:9: UserWarning: Module pkg_resources was already imported from /Library/Python/2.5/site- packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py, but /Library/ Python/2.5/site-packages/Enstaller-3.0.5-py2.5.egg is being added to sys.path
  import pkg_resources
2010-12-17 19:57:03.112 Python[9990:613] PyObjCPointer created: at 0x1f7a620 of type {CGContext=}
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/GUI/Cocoa/Applications.py", line 142, in run
    GApplication.run(self)
File "/Library/Python/2.5/site-packages/GUI/Generic/ GApplications.py", line 122, in run
    self.process_args(sys.argv[1:])
File "/Library/Python/2.5/site-packages/GUI/Cocoa/Applications.py", line 138, in process_args
    GApplication.process_args(self, args)
File "/Library/Python/2.5/site-packages/GUI/Generic/ GApplications.py", line 251, in process_args
    self.open_app()
  File "link.py", line 13, in open_app
    self.new_cmd()
File "/Library/Python/2.5/site-packages/GUI/Generic/ GApplications.py", line 219, in new_cmd
    self.make_window(doc)
  File "link.py", line 17, in make_window
win = Window(size=(950,800), title='Patch Panel', document=document) File "/Library/Python/2.5/site-packages/GUI/Cocoa/Windows.py", line 53, in __init__
    ns_rect, self._ns_style_mask, AppKit.NSBackingStoreBuffered, True)
ValueError: NSInvalidArgumentException - *** -focusStack only defined for abstract class. Define -[FlippedNSGraphicsContext focusStack]!

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

Reply via email to