tintinweb / vscode-decompiler

Decompile things directly from VSCode
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-decompiler
155 stars 27 forks source link

decompiler doesn't get correct configuration in ssh-remote host #34

Open Iolop opened 1 year ago

Iolop commented 1 year ago

when try to decompile pyc, vscode shows this error: Failed to run decompiliation command. Check your configuration. {"code":{"errno":-2,"code":"ENOENT","syscall":"spawn uio","path":"uio","spawnargs":["-o","/tmp/tmp-57121-6slmZbroyIL4","/home/aria/Desktop/path_config.pyc"]},"type":"multi"}

however, this workspace is a folder in ssh-remote host, and uio is the value in Vscode-decompiler › Tool › Uncompyle: Path in User tab. I've correctly set the Vscode-decompiler › Tool › Uncompyle: Path as uncompyle6 which is located at /home/aria/.local/bin/uncompyle6 here are the terminal, configuration screenshots image 1672130544617 1672130552036

It seems that decompiler doesn't get correct setting from ssh-remote host. I've check the src code but i don't know vscode's extension API for getting configuration in remot-host, so i doubt this line doesn't get my configuration. https://github.com/tintinweb/vscode-decompiler/blob/fb499bd90e8bb0607e5581659d602cc7af5d90e3/src/settings.js#L12