Hello! There is a student in the lab running a study using her local Windows device and screensharing with participants. The study was working fine for her for the last few weeks, but all of a sudden has started to freeze frequently, though not always (about 30-50% of the time). When it does not freeze, it throws an “unhandled internal error” (rest of the Traceback screenshot) and sometimes (though not always) the data is not saved. This problem appears to be recent but there hasn’t been a clear change in her operating system or PsychoPy version when this problem started occurring. Any advice would be appreciated.
Thanks for reporting this - I have indeed seen this myself and struggled to replicate (usually because closing the experiment and reopening it alleviates the problem - but that is not an ideal long term solution of course!). I’ll flag this post to keep an eye on - sorry we don’t have an immediate solution but if you notice a pattern please do share here.
Hello, I encounter this kind of thing on trying to sync all the time. Usually it is quicker to do a full command line re-upload, but on this occasion creating the .git etc locally has also failed. This is a copy of an (otherwise unedited) normally functioning online experiment. Where should these errors be handled anyway?
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 116, in onSync
syncProject(parent=self.parent, project=self.parent.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 854, in syncProject
project.sync()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 912, in sync
self.firstPush(infoStream=infoStream)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1149, in firstPush
info = self.commit(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1315, in commit
info = self.repo.git.commit(‘-m’, message)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 1598, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 1388, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(1)
cmdline: C:\Program Files\PsychoPy\MinGit\cmd\git.exe commit -m Push initial project files
stdout: ‘On branch master
nothing to commit, working tree clean’