Logic 2.2.11 not opening on macOS High Sierra

Hey there,

I just updated to the latest version 2.2.11 and since then I cannot open the App anymore. It keeps being in the dock with the active application dot beneath it. But no visible window is appearing. (Rightclick > Show all windows reveals nothing)

I’ve hit ‘open’ on the Security & Privacy Dialog that appears when opening a new app for the first time.
Also I’ve cleared the ~/Library/Application Support/Logic folder.

EDIT: I’ve installed several versions. v2.2.4 is the newest version that runs on my machine (macOS 10.13.6).

Any ideas? Thank you!

Sorry for the trouble!

We have an open issue with the Python redistributable we added to the software earlier this year, we think it depends on a few functions that are only in the latest MacOS SDK. This is causing a few problems for us, and we plan to replace it soon - but I don’t have an estimate on when yet.

Can you try launching it from the terminal and sending us any console output you see?

To get terminal output, you can’t just use open Logic2.app, you will need to run the contained executable.

/Applications/Logic2.app/Contents/MacOS/Logic

You should see output that looks like this:

Environment
  Executable path: /Applications/Logic2.app/Contents/MacOS/Logic
  Executable directory: /Applications/Logic2.app/Contents/MacOS
  Original working directory: /Users/mark/Software/monorepo
  Current working directory: /Applications/Logic2.app/Contents/MacOS
Python Home: /Applications/Logic2.app/Contents/Resources/osx/pythonlibs
/Users/mark/Library/Logs/Logic2/graphio-2020-04-14--09-07-04.log
2020-04-14 09:07:04.219035:[0x0000000113101dc0]: boost::log::keywords::file_name: /Users/mark/Library/Logs/Logic2/graphio-2020-04-14--09-07-04.log [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char *) ]
2020-04-14 09:07:04.219035:[0x0000000113101dc0]: boost::log::keywords::file_name: /Users/mark/Library/Logs/Logic2/graphio-2020-04-14--09-07-04.log [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char *) ]
2020-04-14 09:07:04.220592:[0x0000000113101dc0]: boost::log::keywords::target_file_name: /Users/mark/Library/Logs/Logic2/graphio-2020-04-14--09-07-04--%5N.log [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char *) ]
2020-04-14 09:07:04.220592:[0x0000000113101dc0]: boost::log::keywords::target_file_name: /Users/mark/Library/Logs/Logic2/graphio-2020-04-14--09-07-04--%5N.log [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char *) ]
2020-04-14 09:07:04.220612:[0x0000000113101dc0]: boost::log::keywords::target: /Users/mark/Library/Logs/Logic2 [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char *) ]
2020-04-14 09:07:04.220612:[0x0000000113101dc0]: boost::log::keywords::target: /Users/mark/Library/Logs/Logic2 [ /Users/travis/build/saleae/graph-io/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char *) ]
Server: Opened connection 0x7fc275fe8b40

No worries :slight_smile:
Here’s your console output:

➜  MacOS ./Logic
Environment
  Executable path: /Applications/Logic 2-2-11.app/Contents/MacOS/Logic
  Executable directory: /Applications/Logic 2-2-11.app/Contents/MacOS
  Original working directory: /Applications/Logic 2-2-11.app/Contents/MacOS
  Current working directory: /Applications/Logic 2-2-11.app/Contents/MacOS
Python Home: /Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs
(node:2568) UnhandledPromiseRejectionWarning: Error: Dynamic Linking Error: dlopen(/Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib
    at new DynamicLibrary (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/node_modules/ffi-napi/lib/dynamic_library.js:74:11)
    at Object.Library (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/node_modules/ffi-napi/lib/library.js:45:14)
    at startGraphServer (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/dist/index.js:67:13)
    at App.<anonymous> (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/dist/index.js:179:48)
    at App.emit (events.js:208:15)
(node:2568) UnhandledPromiseRejectionWarning: Error: Dynamic Linking Error: dlopen(/Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Applications/Logic 2-2-11.app/Contents/Resources/osx/pythonlibs/lib/libpython3.8.dylib
    at new DynamicLibrary (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/node_modules/ffi-napi/lib/dynamic_library.js:74:11)
    at Object.Library (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/node_modules/ffi-napi/lib/library.js:45:14)
    at startGraphServer (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/dist/index.js:67:13)
    at App.<anonymous> (/Applications/Logic 2-2-11.app/Contents/Resources/app.asar/dist/index.js:179:48)
    at App.emit (events.js:208:15)
(node:2568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2568) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2568) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Yup, that’s the error we’re seeing right there. Sorry for the trouble! We’re planning on fixing it (should fix Ubuntu 20 problems we’re seeing too) but it’s a bit of a project.

Pretty sure that was introduced in the MacOS 10.15 SDK.

Alright!
So there’s nothing I can do?
Like install another Python version or something like that?

MacOS 10.15 SDK

I am running 10.13.6 but I guess that does not matter?

Nothing to do until we fix it, besides updating to MacOS 10.15. Sorry for the trouble!

I am fully aware that v2 is in an alpha stage and that things like this happen from time to time.
Keep up the good work. I have no doubt you guys will figure something out :slight_smile:

Until then I’ll stick with 2.2.4

Happy hacking!

1 Like

I get this:
Environment
Executable path: /Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/MacOS/Logic
Executable directory: /Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/MacOS
Original working directory: /Users/dev1
Current working directory: /Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/MacOS
Python Home: /Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/Resources/osx/pythonlibs
/Users/dev1/Library/Logs/Logic2/graphio-2020-04-14–20-10-53.log
2020-04-14 20:10:53.480248:[0x00000001132255c0]: boost::log::keywords::file_name: /Users/dev1/Library/Logs/Logic2/graphio-2020-04-14–20-10-53.log [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char *) ]
2020-04-14 20:10:53.480248:[0x00000001132255c0]: boost::log::keywords::file_name: /Users/dev1/Library/Logs/Logic2/graphio-2020-04-14–20-10-53.log [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:150: void Saleae::SetLogFileName(const char *) ]
2020-04-14 20:10:53.480475:[0x00000001132255c0]: boost::log::keywords::target_file_name: /Users/dev1/Library/Logs/Logic2/graphio-2020-04-14–20-10-53–%5N.log [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char *) ]
2020-04-14 20:10:53.480475:[0x00000001132255c0]: boost::log::keywords::target_file_name: /Users/dev1/Library/Logs/Logic2/graphio-2020-04-14–20-10-53–%5N.log [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:151: void Saleae::SetLogFileName(const char *) ]
2020-04-14 20:10:53.480498:[0x00000001132255c0]: boost::log::keywords::target: /Users/dev1/Library/Logs/Logic2 [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char *) ]
2020-04-14 20:10:53.480498:[0x00000001132255c0]: boost::log::keywords::target: /Users/dev1/Library/Logs/Logic2 [ /Users/runner/runners/2.165.2/work/1/s/core/saleae_base/src/saleae_log.cpp:152: void Saleae::SetLogFileName(const char *) ]
Python path configuration:
PYTHONHOME = ‘/Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/Resources/osx/pythonlibs’
PYTHONPATH = (not set)
program name = ‘saleae’
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = ‘/Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/MacOS/Logic’
sys.base_prefix = ‘/Applications/LogicAnalyzers ’
sys.base_exec_prefix = ’ Scopes/Logic2.app/Contents/Resources/osx/pythonlibs’
sys.executable = ‘/Applications/LogicAnalyzers : Scopes/Logic2.app/Contents/MacOS/Logic’
sys.prefix = ‘/Applications/LogicAnalyzers ’
sys.exec_prefix = ’ Scopes/Logic2.app/Contents/Resources/osx/pythonlibs’
sys.path = [
‘/Applications/LogicAnalyzers /lib/python38.zip’,
‘/Applications/LogicAnalyzers /lib/python3.8’,
’ Scopes/Logic2.app/Contents/Resources/osx/pythonlibs/lib/python3.8/lib-dynload’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Current thread 0x00000001132255c0 (most recent call first):

logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

@Jurgen Is that a colon character “:” in the application path? That might be the problem. Could you try relocating the Logic2.app to a location that does not have a “:” character in the path?
I didn’t realize that was a valid directory name. I tried it over here, and MacOS would not let me create it:
image