Is anyone else seeing errors on a clean install? I thought I messed something up yesterday and deleted the whole folder. I pulled down the latest build, tried to do the maddavo import
trade.py import --plug maddavo --opt stations,systems
NOTE: Added new system #1559: ARGENOI [139.625,-10.9375,101.875]
NOTE: Added new system #1560: ARGESTES [21.78125,-20.15625,-58.9375]
NOTE: Traceback (most recent call last):
File "E:\trade\trade.py", line 102, in <module>
main(sys.argv)
File "E:\trade\trade.py", line 76, in main
results = cmdenv.run(tdb)
File "E:\trade\commands\commandenv.py", line 80, in run
return self._cmd.run(results, self, tdb)
File "E:\trade\commands\import_cmd.py", line 111, in run
if not plugin.run():
File "E:\trade\plugins\maddavo_plug.py", line 708, in run
self.import_systems()
File "E:\trade\plugins\maddavo_plug.py", line 302, in import_systems
commit=False,
File "E:\trade\tradedb.py", line 777, in addLocalSystem
ID, name, x, y, z
File "E:\trade\tradeenv.py", line 61, in __NOTE_ENABLED
print("NOTE:", outText.format(*args, **kwargs), file=file)
File "E:\Python34\lib\encodings\cp437.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\xc1' in position 30: character maps to <undefined>
I found it to be a single system, but cannot remove it because every time I do the pull, it gets the same data.
Anyone willing to provide me a way to load the system.csv that I have already downloaded and edited the "bad" system?
*************
How to duplicate:
Delete entire tradedangerous folder.
Clone from
https://bitbucket.org/kfsone/tradedangerous
Run trade.py import --plug maddavo --opt stations,systems (to pull in all updates)
Fails...