open-cogsci / OpenSesame

Graphical experiment builder for the social sciences
http://osdoc.cogsci.nl/
GNU General Public License v3.0
234 stars 111 forks source link

AttributeError: 'BackendManager' object has no attribute '_share_id' #774

Open behinger opened 2 years ago

behinger commented 2 years ago

Some students in the lab got this error in opensesame:

Traceback (most recent call last):
  File "XXX\Lib\site-packages\pyqode\core\managers\backend.py", line 284, in _send_heartbeat
    self.send_request(echo_worker, {'heartbeat': True})
  File "XXX\Lib\site-packages\pyqode\core\managers\backend.py", line 251, in send_request
    if not BackendManager.SHARE_COUNT.get(self._share_id, []):
AttributeError: 'BackendManager' object has no attribute '_share_id'

The error appeared at least once after running an experiment, also sometimes seemingly only in the main menu.

After the error, apparently one needed to restart opensesame.

Setup

We are making use of pygaze/GazePoint3 + some basic elements. grafik

Related issues

I found #762 but it mainly talks about their other problem. @smathot seems to know something about it though

We (@llips and others) will keep this issue updated - but maybe you have an idea already what it could be.

smathot commented 2 years ago

You need to update pyqode, which consists of several packages named pyqode.*. You want to have the PyQode 3 fork, not the original PyQode. I'm 99% sure that's it, but could you confirm it so that I can close the issue?

behinger commented 2 years ago

will test it as soon as I have access to the lab (likely next week). thanks for the quick response!