Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing code fails on SSH server #199

Open
mwiesnero2c opened this issue Jan 7, 2025 · 1 comment
Open

Executing code fails on SSH server #199

mwiesnero2c opened this issue Jan 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mwiesnero2c
Copy link

Describe the bug
The extension successfully connects to MATLAB on an SSH server, but some commands do not work, e.g.

  • Command window opened with 'Matlab: Open Command Window' does not respond
  • 'MATLAB: Run File' does nothing
  • 'MATLAB: Open File' raises error message 'Cannot read properties of undefined (reading 'fsPath')' (see screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. Use Remote - SSH Extension (ms-vscode-remote.remote-ssh) to connect to SSH server
  2. Wait until MATLAB is connected
  3. Use the command 'Matlab: Open Command Window' to create a new MATLAB file
  4. See the error message 'Cannot read properties of undefined (reading 'fsPath')'

Expected behavior

  • 'Matlab: Open Command Window' should open a responsive command window
  • 'MATLAB: Run File' should execute the file
  • 'MATLAB: Open File' should open a new file

Screenshots
error

Useful Information

  • OS Version: Ubuntu 22.04.5 LTS
  • VS Code Version: 1.96.2
  • MATLAB Version: R2022a
  • MATLAB Extension Version: 1.3.0
  • Remote - SSH Extension Version: 0.116.1
@mwiesnero2c mwiesnero2c added the bug Something isn't working label Jan 7, 2025
@philipb314
Copy link
Member

Thank you for reporting this issue. This is something we will look into and work on resolving in a future release. It seems to be an issue specifically with running against MATLAB R2022a in the latest version of the extension (v1.3.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants