vscode-decompiler icon indicating copy to clipboard operation
vscode-decompiler copied to clipboard

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

Open Iolop opened this issue 2 years ago • 0 comments

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

Iolop avatar Dec 27 '22 08:12 Iolop