Traceback (most recent call last):


 "/lustre/ttscratch1/levesque/spack_5-15/spack/bin/spack", line 48, in <module>

sys.exit(spack.main.main())


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/spack/main.py", line 640, in main

print_setup_info(*args.print_shell_vars.split(','))


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/spack/main.py", line 576, in print_setup_info

shell_set('_sp_sys_type', spack.architecture.sys_type())


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/llnl/util/lang.py", line 184, in _memoized_function

func.cache[args] = func(*args)


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/spack/architecture.py", line 494, in sys_type

arch = Arch(platform(), 'default_os', 'default_target')


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/llnl/util/lang.py", line 184, in _memoized_function

func.cache[args] = func(*args)


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/spack/architecture.py", line 478, in platform

return platform_cls()


 "/lustre/ttscratch1/levesque/spack_5-15/spack/lib/spack/spack/platforms/cray.py", line 67, in __init__

self.add_target(name, self.targets[safe_name])
KeyError: u'haswell'

Traceback (most recent call last):


 "C:\Users\XXX\Desktop\c\trader.py", line 46, in <module>

t.run()


 "./app\Trading.py", line 448, in run

self.action(symbol)


 "./app\Trading.py", line 340, in action

self.sell(symbol, quantity, self.order_id, profitableSellingPrice, lastPrice)


 "./app\Trading.py", line 116, in sell

sell_id = Orders.sell_limit(symbol, quantity, sell_price)['orderId']
KeyError: 'orderId'
