Canvas.py

When launching canvas, I see a note that it's being dropped and canvas.py should be used in future. However, canvas.py gives me the following. Known issue?

Process: Python [3268]
Path: /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.11 (2.7.11)
Code Type: X86-64 (Native)
Parent Process: bash [658]
Responsible: Terminal [656]
User ID: 501

Date/Time: 2016-04-30 17:41:23.878 -0400
OS Version: Mac OS X 10.11.5 (15F24b)
Report Version: 11
Anonymous UUID: 8A8DACB8-87AB-49EC-4841-F5E5219F6BD1

Time Awake Since Boot: 29000 seconds

System Integrity Protection: disabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff94eaff06 pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8d1944ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff999f96e7 abort + 129
3 org.python.python 0x000000010b6b8ce2 Py_FatalError + 49
4 org.python.python 0x000000010b6b81f0 PyThreadState_Get + 28
5 org.python.python 0x000000010b6b503a Py_InitModule4_64 + 62
6 libFabricPython.2.2.0.dylib 0x000000010b41280a init_CAPI_impl + 74
7 org.python.python 0x00000001088bf973 _PyImport_LoadDynamicModule + 140
8 org.python.python 0x00000001088bf40a imp_load_module + 243
9 org.python.python 0x00000001088a9bcd PyEval_EvalFrameEx + 26858
10 org.python.python 0x00000001088ad72d fast_function + 264
11 org.python.python 0x00000001088a9af3 PyEval_EvalFrameEx + 26640
12 org.python.python 0x00000001088a30f1 PyEval_EvalCodeEx + 1583
13 org.python.python 0x00000001088a2abc PyEval_EvalCode + 54
14 org.python.python 0x00000001088bbef7 PyImport_ExecCodeModuleEx + 241
15 org.python.python 0x00000001088bec0f load_source_module + 1089
16 org.python.python 0x00000001088be671 import_submodule + 267
17 org.python.python 0x00000001088be237 load_next + 284
18 org.python.python 0x00000001088bd41b PyImport_ImportModuleLevel + 1139
19 org.python.python 0x000000010889e6f2 builtin___import
+ 135
20 org.python.python 0x0000000108829eb0 PyObject_Call + 99
21 org.python.python 0x00000001088ad06f PyEval_CallObjectWithKeywords + 165
22 org.python.python 0x00000001088a8372 PyEval_EvalFrameEx + 20623
23 org.python.python 0x00000001088a30f1 PyEval_EvalCodeEx + 1583
24 org.python.python 0x00000001088a2abc PyEval_EvalCode + 54
25 org.python.python 0x00000001088bbef7 PyImport_ExecCodeModuleEx + 241
26 org.python.python 0x00000001088bec0f load_source_module + 1089
27 org.python.python 0x00000001088be671 import_submodule + 267
28 org.python.python 0x00000001088be4a0 ensure_fromlist + 330
29 org.python.python 0x00000001088bd4d9 PyImport_ImportModuleLevel + 1329
30 org.python.python 0x000000010889e6f2 builtin___import__ + 135
31 org.python.python 0x0000000108829eb0 PyObject_Call + 99
32 org.python.python 0x00000001088ad06f PyEval_CallObjectWithKeywords + 165
33 org.python.python 0x00000001088a8372 PyEval_EvalFrameEx + 20623
34 org.python.python 0x00000001088a30f1 PyEval_EvalCodeEx + 1583
35 org.python.python 0x00000001088a2abc PyEval_EvalCode + 54
36 org.python.python 0x00000001088bbef7 PyImport_ExecCodeModuleEx + 241
37 org.python.python 0x00000001088bec0f load_source_module + 1089
38 org.python.python 0x00000001088be671 import_submodule + 267
39 org.python.python 0x00000001088be237 load_next + 284
40 org.python.python 0x00000001088bd453 PyImport_ImportModuleLevel + 1195
41 org.python.python 0x000000010889e6f2 builtin___import__ + 135
42 org.python.python 0x0000000108829eb0 PyObject_Call + 99
43 org.python.python 0x00000001088ad06f PyEval_CallObjectWithKeywords + 165
44 org.python.python 0x00000001088a8372 PyEval_EvalFrameEx + 20623
45 org.python.python 0x00000001088a30f1 PyEval_EvalCodeEx + 1583
46 org.python.python 0x00000001088a2abc PyEval_EvalCode + 54
47 org.python.python 0x00000001088c6ea1 run_mod + 53
48 org.python.python 0x00000001088c6f44 PyRun_FileExFlags + 133
49 org.python.python 0x00000001088c6a93 PyRun_SimpleFileExFlags + 698
50 org.python.python 0x00000001088d8445 Py_Main + 3137
51 libdyld.dylib 0x00007fff917be5ad start + 1

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff573e8eb8 rdx: 0x0000000000000000
rdi: 0x0000000000000a13 rsi: 0x0000000000000006 rbp: 0x00007fff573e8ee0 rsp: 0x00007fff573e8eb8
r8: 0x0000000000000040 r9: 0x00007fff7e0791e0 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x000000010b1aa6e4 r13: 0x000000010b56d0c7 r14: 0x00007fff7b320000 r15: 0x000000010b59f760
rip: 0x00007fff94eaff06 rfl: 0x0000000000000206 cr2: 0x00007fff7e077008

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Best Answer

Answers

  • philstopfordphilstopford Posts: 19

    No - that version (2.7.10, apparently) of Python is fine.

  • borjaborja Administrator, Fabric Employee Posts: 480 admin

    Interesting. I will check with the devs to see if Python 2.7.11 might break our python bindings!

    Borja Morales
    Technical Product Manager
    Fabric Software Inc.

  • borjaborja Administrator, Fabric Employee Posts: 480 admin

    After talking with the devs, Python 2.7.11 should be fine.

    Would you mind to test against the latest arbus build that can be found at http://dist.fabric-engine.com/FabricEngine/arbus/Darwin/x86_64/Release/ and let us know if you still have the same issue?

    Borja Morales
    Technical Product Manager
    Fabric Software Inc.

  • philstopfordphilstopford Posts: 19

    It still dies here :

    Process: Python [2226]
    Path: /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
    Identifier: Python
    Version: 2.7.11 (2.7.11)
    Code Type: X86-64 (Native)
    Parent Process: bash [2203]
    Responsible: Terminal [2201]
    User ID: 501

    Date/Time: 2016-05-04 11:45:30.340 -0400
    OS Version: Mac OS X 10.11.5 (15F31a)
    Report Version: 11
    Anonymous UUID: 8A8DACB8-87AB-49EC-4841-F5E5219F6BD1

    Sleep/Wake UUID: 63D49DB1-7A46-42A5-92AD-5FAAB2ECA45E

    Time Awake Since Boot: 15000 seconds
    Time Since Wake: 11000 seconds

    System Integrity Protection: disabled

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000048

    VM Regions Near 0x48:
    -->
    __TEXT 0000000105576000-0000000105578000 [ 8K] r-x/rwx SM=COW /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 org.python.python 0x0000000109cd2f2c PyErr_Occurred + 14
    1 FabricUI.so 0x0000000107f10dac initFabricUI + 5052
    2 org.python.python 0x000000010561b973 _PyImport_LoadDynamicModule + 140
    3 org.python.python 0x000000010561a671 import_submodule + 267
    4 org.python.python 0x000000010561a237 load_next + 284
    5 org.python.python 0x0000000105619453 PyImport_ImportModuleLevel + 1195
    6 org.python.python 0x00000001055fa6f2 builtin___import__ + 135
    7 org.python.python 0x0000000105585eb0 PyObject_Call + 99
    8 org.python.python 0x000000010560906f PyEval_CallObjectWithKeywords + 165
    9 org.python.python 0x0000000105604372 PyEval_EvalFrameEx + 20623
    10 org.python.python 0x00000001055ff0f1 PyEval_EvalCodeEx + 1583
    11 org.python.python 0x00000001055feabc PyEval_EvalCode + 54
    12 org.python.python 0x0000000105622ea1 run_mod + 53
    13 org.python.python 0x0000000105622f44 PyRun_FileExFlags + 133
    14 org.python.python 0x0000000105622a93 PyRun_SimpleFileExFlags + 698
    15 org.python.python 0x0000000105634445 Py_Main + 3137
    16 libdyld.dylib 0x00007fff96f365ad start + 1

    Thread 0 crashed with X86 Thread State (64-bit):
    rax: 0x0000000000000000 rbx: 0x0000000109d44920 rcx: 0x00007f8fd3d3ae00 rdx: 0x00007f8fd3d3b000
    rdi: 0x00007fff5a689060 rsi: 0x0000000107dbd4e8 rbp: 0x00007fff5a6890e0 rsp: 0x00007fff5a6890e0
    r8: 0x0000000107dbd4e8 r9: 0x0000000000000000 r10: 0x00007f8fd3d3ae00 r11: 0x000000000000001f
    r12: 0x00007f8fd4084a00 r13: 0x00007f8fd4084a00 r14: 0x0000000107dbd4e8 r15: 0x0000000109d4e280
    rip: 0x0000000109cd2f2c rfl: 0x0000000000010206 cr2: 0x0000000000000048

  • borjaborja Administrator, Fabric Employee Posts: 480 admin

    Hi @philstopford

    This has to be a problem of using a custom Python version since our libFabricPython.dylib is linked against system python:

    libFabricPython.dylib:
    @rpath/Python/2.7/FabricEngine/libFabricPython.2.2.0.dylib (compatibility version 2.2.0, current version 2.2.0)
    @rpath/lib/libFabricCore.2.2.dylib (compatibility version 2.2.0, current version 2.2.0)
    /System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.5)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

    Would you mind to try with the system python ? (use the command "/usr/bin/python canvas.py").

    Borja Morales
    Technical Product Manager
    Fabric Software Inc.

  • philstopfordphilstopford Posts: 19

    Frustratingly, this custom python version is needed for some other tools. The system Python seems to be fine.

Sign In or Register to comment.