Skip to content

Instantly share code, notes, and snippets.

@darwin
Created June 9, 2020 13:51
Show Gist options
  • Save darwin/a6402b5e171982cc93f821e8b533397b to your computer and use it in GitHub Desktop.
Save darwin/a6402b5e171982cc93f821e8b533397b to your computer and use it in GitHub Desktop.
❯ ./build-blender-mac.sh repl
++ dirname ./build-blender-mac.sh
+ cd .
++ pwd
+ ROOT_DIR=/Users/darwin/lab/blender-clj
+ OUR_LIB_DIR=/Users/darwin/lab/blender-clj/lib
+ BLENDER_GIT_DIR=/Users/darwin/lab/blender
+ BLENDER_LIB_DIR=/Users/darwin/lab/blender/../lib
+ BLENDER_BUILD_DIR=/Users/darwin/lab/blender/../build_darwin
+ JNA_VERSION=5.5.0
+ [[ 1 -eq 0 ]]
+ repl
+ export BPY_BIN_PATH=/Users/darwin/lab/blender/../build_darwin/bin
+ BPY_BIN_PATH=/Users/darwin/lab/blender/../build_darwin/bin
+ exec clj -r
Clojure 1.10.1
user=> (require 'blender-clj.examples.cube)
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Executing python initialize with options:{:python-executable nil, :program-name nil, :python-home nil, :library-path nil}
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Detecting startup-info for Python executable:
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Startup info detected:
{:lib-version "3.7",
:java-library-path-addendum
"/Library/Frameworks/Python.framework/Versions/3.7/lib",
:exec-prefix "/Library/Frameworks/Python.framework/Versions/3.7",
:executable "/usr/local/bin/python3",
:libnames ("python3.7m" "python3.7"),
:prefix "/Library/Frameworks/Python.framework/Versions/3.7",
:base-prefix "/Library/Frameworks/Python.framework/Versions/3.7",
:base-exec-prefix "/Library/Frameworks/Python.framework/Versions/3.7",
:python-home "/Library/Frameworks/Python.framework/Versions/3.7",
:version [3 7 7],
:platform "darwin"}
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Trying python library names ["python3.7m" "python3.7" "python3.7m" "python3.6m"]
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Setting java library path: /Library/Frameworks/Python.framework/Versions/3.7/lib:/Users/darwin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Reference thread starting
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Library python3.7m found at [:java-library-path "/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib"]
Jun 09, 2020 3:22:16 PM clojure.tools.logging$eval508$fn__511 invoke
INFO: Library c found at [:system "c"]
nil
user=> (blender-clj.examples.cube/demo)
Color management: using fallback mode for management
Color management: Error could not find role data role.
BLT_lang_init: 'locale' data path for translations not found, continuing
Color management: scene view "Filmic" not found, setting default "Standard".
blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
2020-06-09 15:22:21.418 java[46888:1639414] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff393dabe7 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff721b25bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff394033dc -[NSException raise] + 9
3 AppKit 0x00007fff36601ddc -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
4 AppKit 0x00007fff365e9842 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
5 AppKit 0x00007fff365e92b3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 bpy.so 0x000000013297f9e9 _ZN17GHOST_WindowCocoaC2EP17GHOST_SystemCocoaRK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebbbPS_ + 377
7 bpy.so 0x000000013297acdb _ZN17GHOST_SystemCocoa12createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbbPK13GHOST_IWindow + 411
8 bpy.so 0x0000000132973212 GHOST_CreateWindow + 114
9 bpy.so 0x0000000132113e01 wm_window_ghostwindow_ensure + 401
10 bpy.so 0x0000000132113c5d wm_window_ghostwindows_ensure + 109
11 bpy.so 0x00000001320e74f3 WM_check + 179
12 bpy.so 0x00000001320f5d1a wm_homefile_read + 1914
13 bpy.so 0x00000001320fe1c9 WM_init + 329
14 bpy.so 0x0000000131daf495 main_python_enter + 629
15 bpy.so 0x000000013248ec37 dealloc_obj_dealloc + 135
16 Python 0x00000001317747ec insertdict + 572
17 Python 0x00000001317783e6 PyDict_SetItemString + 134
18 Python 0x0000000131831140 PyModule_AddObject + 80
19 Python 0x000000013182ca33 _PyImport_LoadDynamicModuleWithSpec + 1203
20 Python 0x000000013182c239 _imp_create_dynamic + 329
21 Python 0x000000013174c588 _PyMethodDef_RawFastCallDict + 248
22 Python 0x000000013174c261 PyCFunction_Call + 209
23 Python 0x000000013180941f _PyEval_EvalFrameDefault + 26351
24 Python 0x000000013180cb13 _PyEval_EvalCodeWithName + 2467
25 Python 0x000000013174bf61 _PyFunction_FastCallKeywords + 257
26 Python 0x000000013180bfc2 call_function + 738
27 Python 0x0000000131808f8d _PyEval_EvalFrameDefault + 25181
28 Python 0x000000013174c3d0 function_code_fastcall + 128
29 Python 0x000000013180bfc2 call_function + 738
30 Python 0x0000000131808f73 _PyEval_EvalFrameDefault + 25155
31 Python 0x000000013174c3d0 function_code_fastcall + 128
32 Python 0x000000013180bfc2 call_function + 738
33 Python 0x000000013180902e _PyEval_EvalFrameDefault + 25342
34 Python 0x000000013174c3d0 function_code_fastcall + 128
35 Python 0x000000013180bfc2 call_function + 738
36 Python 0x000000013180902e _PyEval_EvalFrameDefault + 25342
37 Python 0x000000013174c3d0 function_code_fastcall + 128
38 Python 0x000000013180bfc2 call_function + 738
39 Python 0x000000013180902e _PyEval_EvalFrameDefault + 25342
40 Python 0x000000013174c3d0 function_code_fastcall + 128
41 Python 0x000000013174b9c4 _PyFunction_FastCallDict + 148
42 Python 0x000000013174db0c object_vacall + 316
43 Python 0x000000013174dc01 _PyObject_CallMethodIdObjArgs + 177
44 Python 0x000000013182b1bf PyImport_ImportModuleLevelObject + 1535
45 Python 0x00000001317ff6a7 builtin___import__ + 135
46 Python 0x000000013174c55e _PyMethodDef_RawFastCallDict + 206
47 Python 0x000000013174b873 _PyObject_FastCallDict + 227
48 Python 0x000000013174d056 _PyObject_CallFunctionVa + 230
49 Python 0x000000013174cf4f PyObject_CallFunction + 143
50 Python 0x000000013182aad9 PyImport_Import + 457
51 Python 0x000000013182904f PyImport_ImportModule + 31
52 jna7720933212866913404.tmp 0x000000010558ee74 ffi_call_unix64 + 76
53 ??? 0x000070000cd4d078 0x0 + 123145517584504
)
libc++abi.dylib: terminating with uncaught exception of type NSException
clojure: warning: clojure crashed, killed by SIGABRT.
clojure itself has not crashed, but for transparency,
it will now kill itself (without dumping core) with the same signal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment