I am having problems with --from and --to switches of trade.py run.
Included my input and the error output. Using either one in the cmd line below will work but not both.
Also tried with --from SELIANCIENS/Jones --to ERAVATE --credits 300000 --capacity 34 --ly-per 9.23
$ trade.py run --from SELIANCIENS/Jones --to "ERAVATE/Ackerman Market" --credits 300000 --capacity 34 --ly-per 9.23
Traceback (most recent call last):
File "./trade.py", line 102, in <module>
main(sys.argv)
File "./trade.py", line 76, in main
results = cmdenv.run(tdb)
File "c:\trade\commands\commandenv.py", line 80, in run
return self._cmd.run(results, self, tdb)
File "c:\trade\commands\run_cmd.py", line 840, in run
place.name() for place in restrictTo[0:-1]
TypeError: 'set' object is not subscriptable
I filed an issue in the tracker for you, along with a fix that works for me. I'm sure Oliver will squash it soon.