1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 19:37:39 +03:00

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.
Athanasius 2021-05-27 16:32:14 +01:00
parent f4d5f162d2
commit 56e49899f1

@ -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
<!-- vim-markdown-toc Redcarpet -->
<a name='opening-plugins-location-doesn-39-t-work-under-39-runas-39'></a>
<!-- vim-markdown-toc -->
## 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).
<!-- vim-markdown-toc Redcarpet -->
<a name='error-wrong-cmdr'></a>
<!-- vim-markdown-toc -->
## 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