OpenSesame icon indicating copy to clipboard operation
OpenSesame copied to clipboard

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

Open behinger opened this issue 4 years ago • 2 comments

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.

behinger avatar Jan 20 '22 08:01 behinger

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?

  • https://github.com/open-cogsci/pyqode.core
  • https://osdoc.cogsci.nl/3.3/download/#anaconda-cross-platform

smathot avatar Jan 20 '22 08:01 smathot

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

behinger avatar Jan 20 '22 12:01 behinger