What terrible news! Is there any chance of a fix to Nodebox 1 to run on OS X 10.7?
Hi,
I've discovered this too, and I'll look into it next week.
Kind regards,
Frederik
Hi,
Any luck with a Lion compatible distribution?
Thanks.
VV
What a bad news, i hope there will be an issue
Regards
I know this is an open-source project and your work is likely more focused on the new version of NodeBox, but it would be great if this version could be fixed or some instructions on how to use the http://nodebox.net/code/index.php/Graph">Graph library in NodeBox 2 could be provided. I'm not able to continue work as a result of this bug.
Has anyone tried recompiling the source on 10.7?
(Don't have time to try this morning, but it could be that simple.
Worst case, it's an issue with PyObjC rather than NodeBox.
I have tried to compile...
mac:nodebox didiosalvatore$ export CC=gcc-4.2
mac:nodebox didiosalvatore$ python setup.py build
running build
running build_ext
building 'cGeo' extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c nodebox/ext/cGeo.c -o build/temp.macosx-10.3-fat-2.7/nodebox/ext/cGeo.o
gcc-4.2: error trying to exec '/usr/bin/powerpc-apple-darwin11-gcc-4.2.1': execvp: No such file or directory
i686-apple-darwin11-gcc-4.2.1: nodebox/ext/cGeo.c: No such file or directory
i686-apple-darwin11-gcc-4.2.1: no input files
lipo: can't figure out the architecture type of: /var/folders/r8/f5d4mjv15jv8lgqp2n67qfww0000gn/T//cck5QYCL.out
error: command 'gcc-4.2' failed with exit status 255
If you want to get read, this is how you shulod write.
Hi,
I've created a version for Mac OS X Lion:
http://nodebox.net/download/NodeBox-1.9.7rc1.zip
Could you test this one and tell me if it works? I'm not sure if it also works on Leopard / Snow Leopard.
There are only minor new features: ellipse() is no an alias for oval(), and there is support for line cap style and line join style.
The source has moved to GitHub:
https://github.com/nodebox/nodebox-pyobjc
If you have Xcode (I use 4.1 on Lion) you can build it yourself; it should build without any problems.
Let me know if it works for you!
Grtz,
Frederik
Thank you very much Frederik you are great :-)
It works on OSX Lion
Regards
Salvatore
I confirm it works for me too. I was also able to compile on my local machine. Thanks a lot for taking the time to do this.
1.9.7rc1 also crashes for me on Lion (10.7.1), unfortunately. The crash log says:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '/Users/fdb/Dropbox/Projects/nodebox-pyobjc/main.m:36 main() PyRun_SimpleFile failed with file '/Volumes/HardDisk/Code/Others/NodeBox/NodeBox.app/Contents/Resources/macboot.py'. See console for errors.'
The relevant console output is:
9/5/11 12:51:06.019 PM [0x0-0xd80d8].net.nodebox.NodeBox: Traceback (most recent call last):
9/5/11 12:51:06.019 PM [0x0-0xd80d8].net.nodebox.NodeBox: File "macboot.py", line 6, in
9/5/11 12:51:06.019 PM [0x0-0xd80d8].net.nodebox.NodeBox: import objc
9/5/11 12:51:06.019 PM [0x0-0xd80d8].net.nodebox.NodeBox: ImportError: No module named objc
Rather weird — not being able to find the objc module seems like kind of a showstopper and I can't imagine why it's only happening to me. I know Python and I know Objective-C but I've never tried to use them together, so I'm not sure how to troubleshoot this. Any ideas?
Even weirder, I checked out the nodebox-pyobjc git repository and built the app, and that runs fine.
(Current HEAD is 059b9176, "Graphics view responds to mouse wheel scrolling".)
v1.9.5 crashes on OS X 10.7
Posted by Jens Alfke on Jul 03, 2011Sad to report that NodeBox 1.9.5 appears to be unusable on Mac OS X 10.7 "Lion". The app launches and can open files, but as soon as I try to run a script, it crashes:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000310cc4a3
VM Regions Near 0x310cc4a3:
mapped file 000000000694d000-0000000006e37000 [ 5032K] r--/r-x SM=ALI /usr/share/langid/langid.inv
-->
__TEXT 000000008fe89000-000000008febc000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld
Application Specific Information:
objc_msgSend() selector name: self
objc[553]: garbage collection is OFF
Performing @selector(runScript:) from sender NSMenuItem 0x63cbf0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x90578d47 objc_msgSend + 23
1 _objc.so 0x007af5aa pythonify_c_value + 1274
2 _objc.so 0x007a0af1 PyObjCFFI_CountArguments + 802
3 _objc.so 0x00796dbc ffi_prep_cif_machdep + 336
4 com.apple.CoreFoundation 0x92a96901 -[NSObject performSelector:withObject:] + 65
5 com.apple.AppKit 0x95f31937 -[NSApplication sendAction:to:from:] + 232
6 com.apple.AppKit 0x960251a3 -[NSMenuItem _corePerformAction] + 536