question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin can't initialize in multi-user setup

See original GitHub issue

Upon startup, I’m getting:

Plugin 'com.vladsch.idea.multimarkdown' failed to initialize and will be disabled.  Please restart RubyMine.

java.lang.ExceptionInInitializerError
...
Caused by: com.intellij.diagnostic.PluginException: /tmp/multimarkdown_taskitems.ttf (Permission denied) [Plugin: com.vladsch.idea.multimarkdown]
    ... 59 more
Caused by: java.io.FileNotFoundException: /tmp/multimarkdown_taskitems.ttf (Permission denied)

Sure enough, file /tmp/multimarkdown_taskitems.ttf exists and is owned by another user with 644 rights. Since the current user should thereby be allowed to read, I’m guessing the plugin tries to write the file without checking for existence, which is then denied.

Please fix by adhering to “tmp hygiene” standards: use a session-/user-unique folder for all things (e.g. File.createTempDirectory).

FWIW, under GNU/Linux, a cache folder in the home directory may be the ideal solution, e.g. via XDG_CACHE_HOME (available on many modern distributions, afaik). It’s probably a pain to get it to work in every scenario, and I don’t know if there’s a good Java wrapper for those things, so I feel for you.

Related, but old so I don’t think fixes apply: #87, #95

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vschcommented, Jul 11, 2018

@reitzig, now temp files are always put into user’s home directory under .markdownNavigator subdirectory.

1reaction
vschcommented, Jul 3, 2018

@reitzig, I add a temp folder under the user directory. I agree that this is a more portable solution.

Another option is to use an embedded web server to eliminate the need for file URIs to the file system.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-User Editing Local Server Issues - Unreal Engine Forums
Hello, I am having an issue with Multi-User Editing. My main problem is that I cannot even start a Local server. Below is...
Read more >
Error after updating · Issue #132 · moroen/IKEA-Tradfri-plugin
Hello I have errors after updating the plugin (IKEA TRADFRI) Failed to initialize tradfri module. (IKEA TRADFRI) Unable to find tradfricoap ...
Read more >
2. Installation - Modelur User Guide
Upon installation, Modelur is saved to Sketchup's default Plugins folder, ... Modelur installation for every user of the computer when it is initialized....
Read more >
Troubleshooting guide for testing with the Performance SDK
Error example - Certificate thumbprint errors. Initialization method MS.Dynamics.Performance.Application.TaskRecorder.TestRecord1Base.TestSetup ...
Read more >
cakephp - CakePHP4 - How to create multiple user login with ...
public function initialize() { parent::initialize(); // . ... How can I do the same thing in CakePHP4 version with Authentication plugin?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found