After several days of getting strange outputs from TD, it now seems to have stopped working completely. I get this in TD Helper after running the Database Update.
Command line: import -P eddblink -O listings
NOTE: Rebuilding cache file: this may take a few moments.
NOTE: Missing "D:\TDH\data\TradeDangerous.prices" file - no price data.
Traceback (most recent call last):
File "D:\Python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\Python\Scripts\trade.exe\
main.py", line 7, in <module>
File "D:\Python\lib\site-packages\tradedangerous\trade.py", line 43, in main
cli.main(sys.argv)
File "D:\Python\lib\site-packages\tradedangerous\cli.py", line 70, in main
NOTE: Checking for update to 'modules.json'.
trade(argv)
WARNING: Problem with download:
URL:
https://elite.tromador.com/files/modules.json
File "D:\Python\lib\site-packages\tradedangerous\cli.py", line 125, in trade
Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>
results = cmdenv.run(tdb)
WARNING: Problem with download (fallback enabled):
File "D:\Python\lib\site-packages\tradedangerous\commands\commandenv.py", line 83, in run
URL:
https://eddb.io/archive/v6/modules.json
return self._cmd.run(results, self, tdb)
Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>
File "D:\Python\lib\site-packages\tradedangerous\commands\import_cmd.py", line 126, in run
NOTE: Processing Upgrades: Start time = 2021-10-05 12:50:19.986325
if not plugin.run():
File "D:\Python\lib\site-packages\tradedangerous\plugins\eddblink_plug.py", line 1064, in run
self.importUpgrades()
File "D:\Python\lib\site-packages\tradedangerous\plugins\eddblink_plug.py", line 246, in importUpgrades
with open(str(self.dataPath / self.upgradesPath), "rU") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\TDH\\data\\eddb\\modules.json'
Command completed.
I get the same if I run the command directly in TD.
I don't know if its relevant but every time I start TD Helper it tells me there is a new version of TD and offers to install it via PIP (which |I always accept).
I'm not a python expert but I am reading the errors above that there is a security problem with Tromador's certificate but if I run the update with the fallback option I get this
Command line: import -P eddblink -O listings,fallback
NOTE: Rebuilding cache file: this may take a few moments.
NOTE: Missing "D:\TDH\data\TradeDangerous.prices" file - no price data.
Traceback (most recent call last):
NOTE: Checking for update to 'modules.json'.
WARNING: Problem with download (fallback enabled):
File "D:\Python\lib\runpy.py", line 197, in _run_module_as_main
URL:
https://eddb.io/archive/v6/modules.json
return _run_code(code, main_globals, None,
Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>
File "D:\Python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
NOTE: Processing Upgrades: Start time = 2021-10-05 12:58:34.743018
File "D:\Python\Scripts\trade.exe\
main.py", line 7, in <module>
File "D:\Python\lib\site-packages\tradedangerous\trade.py", line 43, in main
cli.main(sys.argv)
File "D:\Python\lib\site-packages\tradedangerous\cli.py", line 70, in main
trade(argv)
File "D:\Python\lib\site-packages\tradedangerous\cli.py", line 125, in trade
results = cmdenv.run(tdb)
File "D:\Python\lib\site-packages\tradedangerous\commands\commandenv.py", line 83, in run
return self._cmd.run(results, self, tdb)
File "D:\Python\lib\site-packages\tradedangerous\commands\import_cmd.py", line 126, in run
if not plugin.run():
File "D:\Python\lib\site-packages\tradedangerous\plugins\eddblink_plug.py", line 1064, in run
self.importUpgrades()
File "D:\Python\lib\site-packages\tradedangerous\plugins\eddblink_plug.py", line 246, in importUpgrades
with open(str(self.dataPath / self.upgradesPath), "rU") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\TDH\\data\\eddb\\modules.json'
This says (I think) that the security problem lies with EDDB. Am I reading that correctly? Even more importantly, how would I go about fixing this?