From 56e49899f10b48848188f0104879bd8ba391d37e Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 27 May 2021 16:32:14 +0100 Subject: [PATCH] Troubleshooting: "plugins dir open no worky under runas" Also fixed the header level for 'Error: Wrong Cmdr', which was inside Multi-Accounting when it shouldn't have been. --- Troubleshooting.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 3969da5..50dc0cc 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -83,7 +83,8 @@ Then to add it back :GenTocRedCarpet * [Multi-Accounting](#multi-accounting) * [I run two instances of E:D simultaneously, but I can't run two instances of EDMC](#i-run-two-instances-of-e-d-simultaneously-but-i-can-39-t-run-two-instances-of-edmc) * [Linux](#linux) - * [Error: Wrong Cmdr](#error-wrong-cmdr) + * [Opening plugins location doesn't work under 'runas'](#opening-plugins-location-doesn-39-t-work-under-39-runas-39) +* [Error: Wrong Cmdr](#error-wrong-cmdr) * [Kill Switches](#kill-switches) * [I see a popup when I start EDMC, or errors in the status line saying something was disabled](#i-see-a-popup-when-i-start-edmc-or-errors-in-the-status-line-saying-something-was-disabled) @@ -928,12 +929,32 @@ EDMC respects `XDG_DATA_HOME` and `XDG_CONFIG_HOME` for its plugin and config di Running multiple instances of EDMC simply requires that you change the two environment variables to point to new directories; `XDG_DATA_HOME=./my_cmdr XDG_CONFIG_HOME=./my_cmdr python3 ./EDMarketConnector.py` is sufficient + + + + + + +## Opening plugins location doesn't work under 'runas' + +As per +[Can't open plugins folder when running EDMC under other user](https://github.com/EDCD/EDMarketConnector/issues/1113) +this is a known issue on Windows when you `runas` another user. +Our working assumption is that the root issue is either with Python's +`webbrowser` module under these circumstances, or else a Windows OS issue +relating to "the visible desktop is another user". + +Work around this by just manually opening up the path in a Windows File +Explorer window instead. The path shown in our Settings > Plugins tab will +be under the 'runas' user's home folder, e.g. `c:\Users\SomeOtherUser\`. +The default [is documented](./Plugins.md#more-info). + -## Error: Wrong Cmdr +# Error: Wrong Cmdr The Frontier server that supplies data to this app is supplying data for a different Cmdr than the one that you're currently playing. You are redirected to Frontier's authentication website and prompted again for your username and password. Either: 1. You have multiple accounts and the username/password setting is not for the account that you're currently playing; or