A spacetime application without declarations crashes
Opened this issue · 0 comments
arthur00 commented
We should either inform that every spacetime applications needs to declare something, or fix this error. I think simulations should be allowed to use spacetime without declaring anything..
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\Arthur Valadares\Documents\My Dropbox\workspace\spacetime\python\spacetime_local\frame.py", line 250, in __run
success = self.__register_app(self.__app)
File "C:\Users\Arthur Valadares\Documents\My Dropbox\workspace\spacetime\python\spacetime_local\frame.py", line 104, in __register_app
for address, tpmap in self.__app.__declaration_map__.items():
AttributeError: 'NoneType' object has no attribute 'items'