D:\games\Game Tools\Trade Dangerous>trade.py import -P eddblink -O clean
NOTE: Rebuilding cache file: this may take a few moments.
NOTE: Missing "D:\Games\Game Tools\Trade Dangerous\data\TradeDangerous.prices" file - no price data.
NOTE: Processing Upgrades.
NOTE: Downloading file: 'eddb\index.json'.
NOTE: Requesting
https://raw.githubusercontent.com/EDCD/coriolis-data/master/dist/index.json
NOTE: Downloaded 0.6MB of gziped data 11.5MB/s
NOTE: Processing Ships.
NOTE: Processing Systems.
NOTE: Processing Stations, this may take a bit.
NOTE: Simultaneously processing ShipVendors.
NOTE: Simultaneously processing UpgradeVendors, this will take quite a while.
Traceback (most recent call last):
File "D:\games\Game Tools\Trade Dangerous\trade.py", line 104, in <module>
main(sys.argv)
File "D:\games\Game Tools\Trade Dangerous\trade.py", line 77, in main
results = cmdenv.run(tdb)
File "D:\games\Game Tools\Trade Dangerous\commands\commandenv.py", line 81, in run
return self._cmd.run(results, self, tdb)
File "D:\games\Game Tools\Trade Dangerous\commands\import_cmd.py", line 124, in run
if not plugin.run():
File "D:\games\Game Tools\Trade Dangerous\plugins\eddblink_plug.py", line 616, in run
self.importStations()
File "D:\games\Game Tools\Trade Dangerous\plugins\eddblink_plug.py", line 329, in importStations
upgrade))
sqlite3.IntegrityError: FOREIGN KEY constraint failed