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

Plugin malfunctioning on Ubuntu Linux (22.04) when installed on NFS since plugin version 2.0.0 #726

Open
kammoji opened this issue Sep 27, 2024 · 0 comments

Comments

@kammoji
Copy link

kammoji commented Sep 27, 2024

Describe the bug
The VScode plugin doesn't load on Ubuntu 22.04 when the host's home directories are NFS mounts. The error message is:

[2024-09-27 14:31:23:454] [ERROR] Error during initialization: Runtime Error: Failed to lock file at path /home/********/.config/tmc-vscode_plugin/config.toml

I did a quick check of this and it looks like that plugin versions 1.3.4+ all have issues in acquiring the file locks in an NFS system.

To Reproduce
Steps to reproduce the behavior:

  1. Login to the Ubuntu 22.04 host where ~ is an NFS mount. NOTE! If you're in Helsinki University, our "Cubbli Linux" VMware remote desktop will apply here!
  2. Launch VScode, load plugin version 3.0.4 (latest at the time of this writing)
  3. Observe error log.

Expected behavior
Plugin loads and shows user profile options if logged and a login window if not logged in

Screenshots
I'm happy to share these privately if needed.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04, kernel version: 5.15.0-122-generic
  • VSCode Version 1.93.1
  • TMC Extension Version 3.0.4
  • Other extensions: Python: v2024.14.1, Extension Pack for Java v0.29.0, Maven for Java v0.44.0

TMC Extension logs
I'm happy to share these privately if needed.

Additional context
Issue can be circumvented by downgrading the plugin to version 1.3.4 or possibly earlier. Probably also changing the plugin install dir to a non-NFS could help here but e.g. in our Helsinki University remote desktop there's no such dir available to a standard user.

@kammoji kammoji changed the title Plugin malfunctioning on Ubuntu Linux (22.04) when installed on NFS (since version 2.0.0) Plugin malfunctioning on Ubuntu Linux (22.04) when installed on NFS since plugin version 2.0.0 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant