aussig / BGS-Tally

A tool to track and report your Background Simulation (BGS) and Thargoid War (TW) activity in Elite Dangerous, implemented as an EDMC plugin. BGS Tally counts all the work you do for any faction, in any system.
https://discord.gg/YDNVtjPnnm
MIT License
31 stars 9 forks source link

The settings page is not available. #258

Closed netchild closed 4 months ago

netchild commented 4 months ago

Describe the bug BGS-tally-in-EDMC As you can see, BGS Talyy 4.0 is installed (updated from 3.x).

EDMC-Settings But there is no settings page for it.

Windows 11, most recent EDMC (updated yesterday), German desktop language.

aussig commented 4 months ago

You havent filled in the full bug report - I’ll need your log files attached please.

netchild commented 4 months ago

Seems there is an hardcoded path?

2024-06-08 10:59:10.852 UTC - ERROR - 12960:24804:24804 plug.Plugin.get_prefs:151: Failed for Plugin "BGS-Tally" Traceback (most recent call last): File "plug.pyc", line 146, in get_prefs File "C:\Users\Alexa\AppData\Local\EDMarketConnector\plugins\BGS-Tally-3.1.0\load.py", line 47, in plugin_prefs return this.ui.get_prefs_frame(parent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Alexa\AppData\Local\EDMarketConnector\plugins\BGS-Tally-3.1.0\bgstally\ui.py", line 170, in get_prefs_frame self.languages: dict[str: str] = available_langs() ^^^^^^^^^^^^^^^^^ File "C:\Users\Alexa\AppData\Local\EDMarketConnector\plugins\BGS-Tally-3.1.0\bgstally\utils.py", line 52, in available_langs available:set[str] = {x[:-len('.strings')] for x in listdir(plugin_path) ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: 'C:\Users\Alexa\AppData\Local\EDMarketConnector\plugins\BGS-Tally\L10n'

netchild commented 4 months ago

Yes, renaming the plugin to something without a version number makes the settings screen appear.

aussig commented 4 months ago

Good find. I’ll take a look at this as soon as I can.