Skip to content

A spacetime application without declarations crashes #74

@arthur00

Description

@arthur00

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions