Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
behinger opened this issue Jan 20, 2022 · 2 comments
Open

Comments

@behinger
Copy link

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
Copy link
Collaborator

smathot commented Jan 20, 2022

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants