aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

reward system manual_reward button not responding sometimes #97

Open leoscholl opened 2 years ago

leoscholl commented 2 years ago

the error was something about not being able reinstate the Basic object because it's a singleton. i accidentally closed the terminal window when i was trying to copy it. unfortunately the problem isn't getting saved into runserver.log or reward.log

leoscholl commented 2 years ago

here's the error, seems to happen pretty often:

Traceback (most recent call last): File "/home/pagaiisland/code/bmi3d/riglib/reward.py", line 62, in open reward = Basic.get_instance() File "/home/pagaiisland/code/bmi3d/riglib/singleton.py", line 9, in get_instance cls() File "/home/pagaiisland/code/bmi3d/riglib/reward.py", line 25, in init super().init() File "/home/pagaiisland/code/bmi3d/riglib/singleton.py", line 17, in init raise Exception("can't reinstantiate %s because it is a singleton!" % self.class.name) Exception: can't reinstantiate Basic because it is a singleton!