• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PyObjc Terminating app due to uncaught exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PyObjc Terminating app due to uncaught exception


  • Subject: PyObjc Terminating app due to uncaught exception
  • From: "Roger Herikstad" <email@hidden>
  • Date: Thu, 14 Feb 2008 15:47:49 +0800

Hi list,
 I'm building a data visualiser with a cocoa GUI and a python driven
data loading engine. When I run my application it (sometimes)
terminates with this output:

Traceback (most recent call last):
  File "/Users/NUS/Documents/programming/Cocoa/WaveformsViewer/build/Debug/WaveformsViewer.app/Contents/Resources/main.py",
line 10, in <module>
    import objc
  File "/Library/Python/2.5/site-packages/pyobjc_core-2.1a0-py2.5-macosx-10.5-i386.egg/objc/__init__.py",
line 21, in <module>
    from _bridgesupport import *
  File "/Library/Python/2.5/site-packages/pyobjc_core-2.1a0-py2.5-macosx-10.5-i386.egg/objc/_bridgesupport.py",
line 9, in <module>
    import pkg_resources
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/pkg_resources.py",
line 657, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/pkg_resources.py",
line 660, in Environment
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/pkg_resources.py",
line 58, in get_supported_platform
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/pkg_resources.py",
line 167, in _macosx_vers
IOError: [Errno 4] Interrupted system call
2008-02-14 15:31:48.284 WaveformsViewer[11538:813] *** Terminating app
due to uncaught exception 'NSInternalInconsistencyException', reason:
'/Users/NUS/Documents/programming/Cocoa/WaveformsViewer/main.m:44
main() PyRun_SimpleFile failed with file
'/Users/NUS/Documents/programming/Cocoa/WaveformsViewer/build/Debug/WaveformsViewer.app/Contents/Resources/main.py'.
 See console for errors.'
2008-02-14 15:31:48.287 WaveformsViewer[11538:813] Stack: (
    2426876491,
    2526736635,
    2426875947,
    2426876010,
    10341,
    9202
)
Program received signal:  "SIGTRAP".

 I'm at a loss as to what can cause this. Any ideas anyone?

~  Roger
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: PyObjc Terminating app due to uncaught exception
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Yellow breakpoints
  • Next by Date: Re: Go Run
  • Previous by thread: Re: Perforce problems: Client 'rmann-twinaero' can only be used from host 'TwinAero'
  • Next by thread: Re: PyObjc Terminating app due to uncaught exception
  • Index(es):
    • Date
    • Thread