[IPython-dev] Error in cocoa frontend build.

Barry Wark barrywark@gmail....
Mon Jun 16 10:33:18 CDT 2008


Hi Rob!

It looks to me like you're somehow getting PyObjC 1.4 rather than
PyObjC2. Do you have the python.org framework installed in
/Library/Frameworks and/or have you installed PyObjC 1.4 into the
system python? In my experience, Xcode and/or the compiled app gets
confused when there's the /Library/Frameworks python. I've removed
/Library/Frameowrks/Python.framework completely and haven't looked
back.

Barry

On Mon, Jun 16, 2008 at 12:04 AM, Rob Hetland <hetland@tamu.edu> wrote:
>
> I'm pretty excited about the development you've been doing on a cocoa
> frontend.  I got the code, and tried to compile, but it fails on run.
>  Here's what the concol says after a debug compile:
>
> I'm not sure how to fix this, but figure you might know.
>
> I'm on 10.5 now (previously when we were exchanging emails about kd-trees, I
> was still on 10.4), use the system python, and have successfully tried out
> ipython1 stuff (so Twisted and all that are there and working.)
>
> Any ideas?
>
> -Rob
>
>
>
> 6/16/08 8:55:58 AM IPython1Sandbox[1201] *** Terminating app due to uncaught
> exception 'NSInternalInconsistencyException', reason:
> '/Users/rob/src/python/ipython-frontend/IPython/frontend/cocoa/examples/IPython1Sandbox/main.m:44
> main() PyRun_SimpleFile failed with file
> '/Users/rob/src/python/ipython-frontend/IPython/frontend/cocoa/examples/IPython1Sandbox/build/Debug/IPython1Sandbox.app/Contents/Resources/main.py'.
>  See console for errors.'
> 6/16/08 8:55:58 AM IPython1Sandbox[1201] Stack: (
>    2497098059,
>    2518483195,
>    2497097515,
>    2497097578
> )
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> Traceback (most recent call last):
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> File
> "/Users/rob/src/python/ipython-frontend/IPython/frontend/cocoa/examples/IPython1Sandbox/build/Debug/IPython1Sandbox.app/Contents/Resources/main.py",
> line 20, in <module>
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> import IPython1SandboxAppDelegate
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> File
> "/Users/rob/src/python/ipython-frontend/IPython/frontend/cocoa/examples/IPython1Sandbox/build/Debug/IPython1Sandbox.app/Contents/Resources/IPython1SandboxAppDelegate.py",
> line 17, in <module>
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> class IPython1SandboxAppDelegate(NSObject):
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> File
> "/Users/rob/src/python/ipython-frontend/IPython/frontend/cocoa/examples/IPython1Sandbox/build/Debug/IPython1Sandbox.app/Contents/Resources/IPython1SandboxAppDelegate.py",
> line 18, in IPython1SandboxAppDelegate
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> ipythonController = objc.IBOutlet()
> 6/16/08 8:55:58 AM [0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]
> TypeError: IBOutlet() takes exactly 1 argument (0 given)
> 6/16/08 8:56:01 AM com.apple.launchd[115]
> ([0x0-0x4e04e].com.yourcompany.IPython1Sandbox[1201]) Exited abnormally:
> Trace/BPT trap
>
>
>
> ----
> Rob Hetland, Associate Professor
> Dept. of Oceanography, Texas A&M University
> http://pong.tamu.edu/~rob
> phone: 979-458-0096, fax: 979-845-6331
>
>
>
>


More information about the IPython-dev mailing list