stinb / UnderstandForVSCode

VS Code extension for Understand
https://www.scitools.com
MIT License
1 stars 0 forks source link

Failed to start the plugin on macOS Sonoma with M1 #20

Closed ZhaoJunnNie closed 1 month ago

ZhaoJunnNie commented 1 month ago

Sorry to bother, but i failed to start the plugin I followed the readme and link userver to

/usr/local/bin

Cause /usr/bin is a readonly filesystem. Then it shows no python3.12.dylib in

 /usr/lib or /usr/local/lib 

I linked the python3.12.dylib to

/usr/local/lib 

for the same reason. it shows

dyld[3273]: Library not loaded: @rpath/QtSql.framework/Versions/A/QtSql
  Referenced from: <5739ABA9-C00A-37BE-933D-ACD2AD2D0858> /Applications/Understand.app/Contents/MacOS/userver
  Reason: tried: '/Library/Frameworks/QtSql.framework/Versions/A/QtSql' (no such file), '/System/Library/Frameworks/QtSql.framework/Versions/A/QtSql' (no such file, not in dyld cache)
[1]    3273 abort      userver
RobbyCBennett commented 1 month ago

@ZhaoJunnNie, thank you for reporting this. I have 2 questions for you.

  1. What is your userver --version? I wonder if Understand was not properly installed and if it can be fixed by re-installing the latest version of Understand.
  2. Do the other applications have this problem, such as understand, und, and upython?

@hackhaslam, this looks like an old internal issue https://github.com/stinb/sti/issues/3124.

hackhaslam commented 1 month ago

The userver build for macOS is fixed by stinb/sti@dbb447a5573e9b67f267c4db365175ee6403040a.

RobbyCBennett commented 1 month ago

@hackhaslam, thank you.

@ZhaoJunnNie this should be fixed by build 1185 which may be available tomorrow. Never mind about this questions if the problem is fixed for you when you try build 1185.

hackhaslam commented 1 month ago

The correct commit is stinb/sti@91777a711458b166aa67c1260157f1e5e4558151.

groke commented 1 month ago

I cherry picked this for build 1185

groke commented 1 month ago

Pre-release build is available here for testing.

ZhaoJunnNie commented 1 month ago

The problem seems to have been resolved, Thanks !