When I try to produce a JS version of my Python Psychopy experiment I get an error that contains a similar line:
for plugin in _packageIndex[‘available’][‘plugins’][‘packages’].values():
TypeError: ‘NoneType’ object is not subscriptable
Here is the whole exception traceback:
Exception in thread Thread-30 (refreshPackageIndexTask):
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\threading.py”, line 1016, in _bootstrap_inner
self.run()
File “C:\Program Files\PsychoPy\lib\threading.py”, line 953, in run
self._target(*self._args, **self._kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\packageIndex.py”, line 299, in refreshPackageIndexTask
downloadPluginAssets()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\packageIndex.py”, line 103, in downloadPluginAssets
for plugin in _packageIndex[‘available’][‘plugins’][‘packages’].values():
TypeError: ‘NoneType’ object is not subscriptable
27.8082 WARNING Could not get image from: https://secure.gravatar.com/avatar/82e0e84804fb7371d441b3948e6fbb05?s=80&d=identicon, using blank image instead.
27.8099 WARNING Could not get image from: https://secure.gravatar.com/avatar/82e0e84804fb7371d441b3948e6fbb05?s=80&d=identicon, using blank image instead.
27.8116 WARNING Could not get image from: https://secure.gravatar.com/avatar/82e0e84804fb7371d441b3948e6fbb05?s=80&d=identicon, using blank image instead.
28.9153 ERROR Package index file not found.