Maybe a permission problem, try this : https://moul.re/jirafeau/f.php?h=0zdoqvpU
Merci!! ça marche!
It is crashing.
The frameworks and resources folders are empty, can that be the problem, when you were bundling?
here is the report:
Process: sakia [3179]
Path: /Users/USER/Desktop/sakia-0.11.2.app/Contents/MacOS/sakia
Identifier: sakia
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: sakia [3179]
User ID: 501
Date/Time: 2015-12-19 16:14:47.168 +0100
OS Version: Mac OS X 10.11.2 (15C50)
Report Version: 11
Anonymous UUID: 555E10C9-B4EA-BFB5-54CC-C7E6ECE79E84
Sleep/Wake UUID: 331AB1AE-C89B-4A79-8C63-BDA9AA4EF307
Time Awake Since Boot: 41000 seconds
Time Since Wake: 840 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff875ff002 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8cd635c5 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff87a096e7 abort + 129
3 Python 0x000000010bf9f274 Py_FatalError + 420
4 Python 0x000000010bf9f3d6 import_init + 342
5 Python 0x000000010bf9ee36 _Py_InitializeEx_Private + 822
6 sakia 0x000000010bd6e60c main + 284
7 libdyld.dylib 0x00007fff8e9495ad start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff53e91e38 rdx: 0x0000000000000000
rdi: 0x000000000000160b rsi: 0x0000000000000006 rbp: 0x00007fff53e91e60 rsp: 0x00007fff53e91e38
r8: 0x000000010bed1bd0 r9: 0x00007fe6837015a8 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff723c2bd0 r13: 0x000000010c401e08 r14: 0x00007fff73789000 r15: 0x000000010c41ec78
rip: 0x00007fff875ff002 rfl: 0x0000000000000206 cr2: 0x00007fff723c0008
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x10bd6d000 - 0x10bd6ffff +sakia (0) <88390B3F-75DB-3EA1-8C5B-E405E2016D8A> /Users/USER/Desktop/sakia-0.11.2.app/Contents/MacOS/sakia
0x10beac000 - 0x10c052ff7 +Python (0) <75E7AA38-2402-35D5-83CE-C1555C1F3394> /Users/USER/Desktop/sakia-0.11.2.app/Contents/MacOS/Python
0x7fff69b69000 - 0x7fff69b9ffa7 dyld (360.18) <1A7F8274-FC32-3B86-9979-66B8F2B7B5E2> /usr/lib/dyld
0x7fff81af4000 - 0x7fff81b0aff7 libsystem_coretls.dylib (83.20.8) <30AF7134-6CA7-3582-B9D3-507D6ED19A88> /usr/lib/system/libsystem_coretls.dylib
0x7fff81cbc000 - 0x7fff81d1dff7 libsystem_network.dylib (583.20.10) <1C0410F3-F66E-3B0D-B8AD-0D49AB15A529> /usr/lib/system/libsystem_network.dylib
0x7fff81df9000 - 0x7fff81e26fff libdispatch.dylib (501.20.1) <324C9189-2AF3-3356-847F-6F4CE1C6E901> /usr/lib/system/libdispatch.dylib
0x7fff826e7000 - 0x7fff826e8fff libsystem_secinit.dylib (20) /usr/lib/system/libsystem_secinit.dylib
0x7fff82905000 - 0x7fff82c67f3f libobjc.A.dylib (680) <9F45830D-F1D5-3CDF-9461-1A5477ED7D1E> /usr/lib/libobjc.A.dylib
0x7fff82e2f000 - 0x7fff82e4bff7 libsystem_malloc.dylib (67) <9EECAB18-F025-34C4-8E32-7EFFA6720EFC> /usr/lib/system/libsystem_malloc.dylib
0x7fff85933000 - 0x7fff8595cfff libxpc.dylib (756.20.4) <61AB4610-9304-354C-9E9B-D57198AE9866> /usr/lib/system/libxpc.dylib
0x7fff85962000 - 0x7fff85962ff7 libunc.dylib (29) <1D0F8265-F026-3CBD-93D3-F8DF14FFCE68> /usr/lib/system/libunc.dylib
0x7fff875e8000 - 0x7fff87606fff libsystem_kernel.dylib (3248.20.55) <0E688457-4915-36DD-8798-5C2EDEE3F1A3> /usr/lib/system/libsystem_kernel.dylib
0x7fff879ab000 - 0x7fff87a38fff libsystem_c.dylib (1082.20.4) /usr/lib/system/libsystem_c.dylib
0x7fff87b51000 - 0x7fff87b53ff7 libsystem_configuration.dylib (802.20.7) <5FD79070-36CC-3D02-BEA7-BB5D2AE97D5D> /usr/lib/system/libsystem_configuration.dylib
0x7fff88f63000 - 0x7fff88f7afff libsystem_asl.dylib (322) <3C2D3ACD-0DD1-337A-8247-44A910D67A65> /usr/lib/system/libsystem_asl.dylib
0x7fff8a78d000 - 0x7fff8ac03fff com.apple.CoreFoundation (6.9 - 1256.14) <068D1BA9-3859-34C7-986A-97EDF739C5C8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8ae7a000 - 0x7fff8ae82ffb libsystem_dnssd.dylib (625.20.4) <945B5FB1-DA91-3D45-A961-A8FAD53C1E7E> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8af4d000 - 0x7fff8af4efff libsystem_blocks.dylib (65) <49D42329-7DE9-3413-92C3-A473A7E9CF35> /usr/lib/system/libsystem_blocks.dylib
0x7fff8c0a0000 - 0x7fff8c0a0ff7 liblaunch.dylib (756.20.4) /usr/lib/system/liblaunch.dylib
0x7fff8c0ae000 - 0x7fff8c0b6fff libsystem_networkextension.dylib (385.20.6) /usr/lib/system/libsystem_networkextension.dylib
0x7fff8cd0b000 - 0x7fff8cd51ff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff8cd5e000 - 0x7fff8cd67ff7 libsystem_pthread.dylib (138.10.4) <327CECD0-B881-3153-8FCC-4FD4818B7F16> /usr/lib/system/libsystem_pthread.dylib
0x7fff8dade000 - 0x7fff8dadfffb libremovefile.dylib (41) /usr/lib/system/libremovefile.dylib
0x7fff8dafc000 - 0x7fff8db73fe7 libcorecrypto.dylib (335.20.1) /usr/lib/system/libcorecrypto.dylib
0x7fff8e3ae000 - 0x7fff8e3ddffb libsystem_m.dylib (3105) <26655445-CA97-321E-B221-801CB378D1AA> /usr/lib/system/libsystem_m.dylib
0x7fff8e946000 - 0x7fff8e949ffb libdyld.dylib (360.18) <5F3777A7-F07E-3D5F-BFA3-A920FF4170ED> /usr/lib/system/libdyld.dylib
0x7fff8f22c000 - 0x7fff8f439ffb libicucore.A.dylib (551.41) /usr/lib/libicucore.A.dylib
0x7fff8f49b000 - 0x7fff8f49eff7 libsystem_sandbox.dylib (460.20.9) <1C891336-1B25-365D-B43E-96D5B3BE66B0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8f6d2000 - 0x7fff8f6dafff libcopyfile.dylib (127) /usr/lib/system/libcopyfile.dylib
0x7fff908cb000 - 0x7fff908f4fff libsystem_info.dylib (477.20.1) <6513635B-4ADE-3B45-BF63-ED7AC565B0C9> /usr/lib/system/libsystem_info.dylib
0x7fff908f5000 - 0x7fff908f9fff libcache.dylib (75) <6B245C0A-F3EA-383B-A542-5B0D0456A41B> /usr/lib/system/libcache.dylib
0x7fff9197a000 - 0x7fff91985ff7 libcommonCrypto.dylib (60075.20.1) <766BC3F5-41F3-3315-BABC-72718A98EA92> /usr/lib/system/libcommonCrypto.dylib
0x7fff91ebe000 - 0x7fff91ecfff7 libsystem_trace.dylib (201.10.3) /usr/lib/system/libsystem_trace.dylib
0x7fff9248c000 - 0x7fff92494fe7 libsystem_platform.dylib (74.10.3) /usr/lib/system/libsystem_platform.dylib
0x7fff92495000 - 0x7fff9249eff3 libsystem_notify.dylib (150.20.3) <243FADE1-255A-3B78-8033-F336CD64B817> /usr/lib/system/libsystem_notify.dylib
0x7fff92a18000 - 0x7fff92a41fff libc++abi.dylib (125) /usr/lib/libc++abi.dylib
0x7fff93976000 - 0x7fff93976ff7 libkeymgr.dylib (28) <09397E01-6066-3179-A50C-2CE666FDA929> /usr/lib/system/libkeymgr.dylib
0x7fff94228000 - 0x7fff9422aff7 libquarantine.dylib (80) <163CF63A-7455-3D1F-AE57-8C4475A9204C> /usr/lib/system/libquarantine.dylib
0x7fff949c9000 - 0x7fff94a1cff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff954c6000 - 0x7fff954c7ffb libSystem.B.dylib (1226.10.1) <54388DF0-3813-33E4-BE8D-7743A81ACF4D> /usr/lib/libSystem.B.dylib
0x7fff96051000 - 0x7fff96062ff7 libz.1.dylib (61.20.1) /usr/lib/libz.1.dylib
0x7fff962f1000 - 0x7fff962f8ff7 libcompiler_rt.dylib (62) /usr/lib/system/libcompiler_rt.dylib
0x7fff96457000 - 0x7fff9645cff3 libunwind.dylib (35.3) <124E0F05-2350-3774-A32C-7F5BF38EDE73> /usr/lib/system/libunwind.dylib
0x7fff96da4000 - 0x7fff96da5fff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9764b000 - 0x7fff97650ff7 libmacho.dylib (875.1) /usr/lib/system/libmacho.dylib
0x7fff97b11000 - 0x7fff97b13fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 15727
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=107.6M resident=0K(0%) swapped_out_or_unallocated=107.6M(100%)
Writable regions: Total=49.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=49.3M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 2048K 2
Kernel Alloc Once 4K 2
MALLOC 36.9M 10
MALLOC guard page 16K 4
Process Corpse Info 2048K 2
STACK GUARD 56.0M 2
Stack 8192K 2
VM_ALLOCATE 4K 2
__DATA 4620K 47
__LINKEDIT 91.9M 5
__TEXT 15.7M 47
__UNICODE 552K 2
shared memory 8K 3
=========== ======= =======
TOTAL 217.6M 117
Shall we open a discussion on github?
Can you take a look in this zip file and start “sakia” from the app folder ?
https://moul.re/jirafeau/f.php?h=19ITYjXJ
We will start a discussion on github after we tested this. Which version of OSX do you use by the way ?
Hi,
Same problem on my side :
➜ /Applications ./sakia-0.11.2.app/Contents/MacOS/sakia
Traceback (most recent call last):
File “/Users/travis/.pyenv/versions/3.5.0/Python.framework/Versions/3.5/lib/python3.5/importlib/_bootstrap.py”, line 1140, in _install
File “/Users/travis/.pyenv/versions/3.5.0/Python.framework/Versions/3.5/lib/python3.5/importlib/_bootstrap.py”, line 969, in _find_and_load
File “/Users/travis/.pyenv/versions/3.5.0/Python.framework/Versions/3.5/lib/python3.5/importlib/_bootstrap.py”, line 956, in _find_and_load_unlocked
ImportError: No module named '_frozen_importlib_external’
Fatal Python error: Py_Initialize: importlib install failed
Current thread 0x00007fff72470000 (most recent call first):
[1] 40995 abort ./sakia-0.11.2.app/Contents/MacOS/sakia
Can you run otool -L ./sakia-0.11.2.app/Contents/MacOS/sakia
and copy/paste its output please ?
➜ /Applications otool -L ./sakia-0.11.2.app/Contents/MacOS/sakia
./sakia-0.11.2.app/Contents/MacOS/sakia:
@executable_path/Python (compatibility version 3.5.0, current version 3.5.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.17.0)
I am currently on the latest: OS Version: Mac OS X 10.11.2 (15C50)
otool gives me the same error from Charles
Can you run the file “sakia” available in the folder “build/exe…” ?
EDIT : Nevermind, it won’t work. I’ll try to fix it and let you know when we can test again travis builds ! Thanks for answering that fast thought
Here is a new build. There are two zips. Could you try the two builds and tell me if one is working correctly ?
https://moul.re/jirafeau/f.php?h=0zRGaUoG
https://moul.re/jirafeau/f.php?h=3wLWSvQq
Thanks !
Both start up now, for a few seconds and then quit again.
Can you call it with the parameter “-d” please ? To see what stops it. A friend tried the same file and no problem happened, he could connect and everything needed…
Do you have any dev tool installed also ? (homebrew, xcode…)
I have brew installed, how do I use it to help you with debugging? With which command do I call the sakia app with the -d parameter?
here is what my console log will give:
With this command:
./sakia -d
Samuels-Air:MacOS Samuel$ ./sakia -d
Traceback (most recent call last):
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/libnacl/init.py”, line 51, in _get_nacl
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/ctypes/init.py”, line 429, in LoadLibrary
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/ctypes/init.py”, line 351, in init
OSError: dlopen(tweetnacl.dylib, 6): image not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py”, line 27, in
File “src/sakia/main.py”, line 18, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/build/ucoin-io/sakia/src/sakia/gui/mainwindow.py”, line 16, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/build/ucoin-io/sakia/src/sakia/gui/process_cfg_account.py”, line 8, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2212, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 321, in _call_with_frames_removed
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/ucoinpy/init.py”, line 27, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2284, in _handle_fromlist
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 321, in _call_with_frames_removed
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/ucoinpy/key/init.py”, line 1, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/ucoinpy/key/signing_key.py”, line 9, in
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2212, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 321, in _call_with_frames_removed
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/Users/travis/.pyenv/versions/3.4.3/Python.framework/Versions/3.4/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/libnacl/init.py”, line 89, in
File “/Users/travis/.pyenv/versions/sakia-env/lib/python3.4/site-packages/libnacl/init.py”, line 55, in _get_nacl
OSError: Could not locate nacl lib, searched for libsodium, tweetnacl
This one should fix this bug !
https://moul.re/jirafeau/f.php?h=2hoo01Pw&d=1
But you’ll have to run sakia from the folder containing the binary, not the App folder. There is a problem with libsodium.dylib
not being found if it’s started from somewhere else than the local directory of sakia
binary.
One fix can be to set the variable DYLD_LIBRARY_PATH
to the directory containing the file libsodium.dylib
A cleaner solution could be to install libsodium
via Homebrew. But I’m not sure if this is a good way to do things, to depend of homebrew… I’m not an expert of mac environment.
@charles : Any idea about it ?
This one did it Thank you very much!! Pure awesomeness!
When installing libsodium via brew, I can start it without any problems
A solution was found. I’m waiting for a PR to be accepted and then we won’t need brew anymore to run sakia https://github.com/jvarho/pylibscrypt/pull/16