psychopy.org | Reference | Downloads | Github

Problem with Experiment in Pavlovia


#1

URL of experiment: https://gitlab.pavlovia.org/himynameisclara/ss_training_day1
Project ID: 4260

Description of the problem: I have created an experiment in PsychoPy which is running well on my machine. I uploaded it to Pavlovia from PsychoPy however, when I press Launch on Pavlovia I get a 403 Forbidden Nginx error.

Has anyone encountered the issue before? And how did you resolve it please?

Thanks in advance!


#2

It looks like your experiment didn’t sync the files properly. When you press sync in PsychoPy what happens?


#3

It gives me the following:

Synchronising…
Pulling changes from remote…
Already up to date.
done
Pushing changes from remote…
done
Successful sync at: 15:18:52, took 1.138s


#4

I don’t understand. That sounds successful, but only one file is getting pushed to the server. I’m at a loss as to why this is occurring I’m afraid.


#5

When you synced the files, did you write something in the ‘Summary of changes’ dialogue box, or did you just press OK, leaving the dialogue box blank?


#6

I left the dialogue box blank. Should I write something?


#7

I will try and upload it from a different machine and see if I have any luck with that! Thanks :slight_smile:


#8

Yes, as @unagi_pie suggests, you will need to write a commit message otherwise the sync will fail. You should see an error in your console (if Coder is open), such as

  File "C:\Users\lpzdb\psychopy\psychopy\app\builder\builder.py", line 2379, in onPavloviaSync
    pavlovia_ui.syncProject(parent=self, project=self.project)
  File "C:\Users\lpzdb\psychopy\psychopy\app\pavlovia_ui\project.py", line 477, in syncProject
    outcome = showCommitDialog(parent, project)
  File "C:\Users\lpzdb\psychopy\psychopy\app\pavlovia_ui\functions.py", line 150, in showCommitDialog
    project.commit(commitMsg)
  File "C:\Users\lpzdb\psychopy\psychopy\projects\pavlovia.py", line 950, in commit
    self.repo.git.commit('-m', message)
  File "C:\Program Files (x86)\Python36\lib\site-packages\git\cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "C:\Program Files (x86)\Python36\lib\site-packages\git\cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "C:\Program Files (x86)\Python36\lib\site-packages\git\cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
  cmdline: git commit -m 
  stderr: 'Aborting commit due to empty commit message.'```

#9

Thanks for the response. Unfortunately I tried uploading again from a different device, and also wrote a commit message but no success :frowning:


#10

Would you mind sharing your experiment and associated files so we can see if anything is happening with files?


#11

That would be of great help! Should I send them to you via email? There’s quite a few image and sound files.


#12

Great, you can just send a zip file either on this post, or by direct message on here.