You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix bug in backend where we try to call a json dict. from execution on one of the Pis:
Traceback (most recent call last):
File "/home/pi/centinel/centinel.py", line 36, in
centinel.backend.sync(configuration.params)
File "/home/pi/centinel/centinel/backend.py", line 137, in sync
for experiment in (set(user.experiments) - available_experiments):
File "/home/pi/centinel/centinel/backend.py", line 37, in experiments
return self.request("experiments")["experiments"]
File "/home/pi/centinel/centinel/backend.py", line 29, in request
return req.json()
TypeError: 'dict' object is not callable
The text was updated successfully, but these errors were encountered:
@gsathya, sorry, I apparently didn't successfully post my followup. On Rasperian, the distro we are running on the Pis, the package python-requests uses version 0.2 of the requests, but the current version is 2.4. I was able to resolve this issue by installing pip and pulling down the package over pip.
fix bug in backend where we try to call a json dict. from execution on one of the Pis:
Traceback (most recent call last):
File "/home/pi/centinel/centinel.py", line 36, in
centinel.backend.sync(configuration.params)
File "/home/pi/centinel/centinel/backend.py", line 137, in sync
for experiment in (set(user.experiments) - available_experiments):
File "/home/pi/centinel/centinel/backend.py", line 37, in experiments
return self.request("experiments")["experiments"]
File "/home/pi/centinel/centinel/backend.py", line 29, in request
return req.json()
TypeError: 'dict' object is not callable
The text was updated successfully, but these errors were encountered: