I can absolutely and categorically tell you that I did select to install for all users. I checked so many times before pressing the install button.On reflection I suspect that you might not have chosen to install python for all users, which is why it installed into your profile.
That is your python complaining that both my server and then the fallback server have out of date SSL certificates.
I haven't checked fallback but I have no reason to think there's any problem, mine expires at the end of March (and I will renew it before then).
I am not a TDH expert, so lets start with basics.
If you do from command line
trade import -P eddblink -O clean, skipvend
what happens?
If this works, it's a problem with TDH. If it fails, then we need to really think about why your python install is so borked.
No space after the commaC:\Users\stewa>trade import -P eddblink -O clean, skipvend
clean,skipvend
Hi nepomuk, this will be the third time of doing this and I absolutely don't mind. I really would like to stream it so someone can check what I'm doing. on the python install, I know that I selected as the instructions told me toI would uninstall everything again, including Python. This is actually quite fast.
And then install Python again with the path according to the instructions. I have started the update/upgrade via PIP.
That also worked. And earlier I did an update of the DB, also without problems.
Hi, thanks. I just copied it from the post. I will try again now.No space after the commaclean,skipvend
Hi, thanks. I just copied it from the post. I will try again now.
Microsoft Windows [Version 10.0.19043.1466]
(c) Microsoft Corporation. All rights reserved.
C:\Users\stewa>trade import -P eddblink -O clean,skipvend
NOTE: Rebuilding cache file: this may take a few moments.
NOTE: Missing "C:\Users\stewa\data\TradeDangerous.prices" file - no price data.
NOTE: Checking for update to 'modules.json'.
WARNING: Problem with download:
URL: https://elite.tromador.com/files/modules.json
Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)>
WARNING: Problem with download (fallback enabled):
URL: https://eddb.io/archive/v6/modules.json
Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)>
NOTE: Processing Upgrades: Start time = 2022-01-31 19:37:11.799051
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\stewa\AppData\Roaming\Python\Python310\Scripts\trade.exe\__main__.py", line 7, in <module>
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\trade.py", line 43, in main
cli.main(sys.argv)
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\cli.py", line 70, in main
trade(argv)
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\cli.py", line 125, in trade
results = cmdenv.run(tdb)
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\commands\commandenv.py", line 83, in run
return self._cmd.run(results, self, tdb)
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\commands\import_cmd.py", line 126, in run
if not plugin.run():
File "C:\Users\stewa\AppData\Roaming\Python\Python310\site-packages\tradedangerous\plugins\eddblink_plug.py", line 1064, in run
self.importUpgrades()
File "C:\Users\stewa\AppData\Roaming\Python\Python310\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: 'C:\\Users\\stewa\\data\\eddb\\modules.json'
C:\Users\stewa>
Hi nepomuk, this will be the third time of doing this and I absolutely don't mind. I really would like to stream it so someone can check what I'm doing. on the python install, I know that I selected as the instructions told me to
I ran the python installer as admin, as it said in the instructions. For the CMD I just got it from the start button. so I will try and run the pip from admin CMDWhen you installed python for all users did you have
when you installed python for all users were you prompted to elevatate?
According to python docs, if you install the Pyhton Launcher for all users you have to be an admin. If Python was installed under elevation then you will need to run pip under an elevated CMD (Administrator)
I had the same issue. Running CMD as an administrator allowed pip to install to the correct location defined in PATH (C:\Program Files\Python310) instead of installing it into the users roaming directory.
OK I think i have updated pip, but I still cant get the eddb stuff. I really feel its nearly there, but just not quite.Ok, the result in the first screenshot looks good.
You could also do the PIP update (last line in the screenshot). But it is not a must.
...
The next step could be done with TDHelper.
The easiest way is to create a TDH directory on the desktop and so on...
You know ... and then make an update via TDH with the switches ALL and CLEAN.
I have TDHelper on the desktop and I run the exe.OK I think i have updated pip, but I still cant get the eddb stuff. I really feel its nearly there, but just not quite.![]()
Ok I tried putting the file in the correct location and I thought it was going to run. But failed again. I will post here in case anyone can help.Very strange ...
I do not have this message. Why don't you get the modules.json file ? I do get it.
But I can put it here no problem and you copy it into the directory ...eddb
The error message at the end must look @Tromador. I have no idea about Python.
My update looks like this ... (still running)
View attachment 289086
Ok, enough for me now. Have a good night.