# Can not run experiment on Pavlovia

**URL:** <https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158>\
**Category:** Online experiments\
**Tags:** online, pavlovia\
**Created:** [September 30, 2021, 1:09am UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158 "2021-09-30T01:09:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 1:09am UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/1 "2021-09-30T01:09:00Z")

</div>

Hi all,

I posted about an earlier problem, but I’ve been able to get all of my resources to load before launching the online experiment. However, now I get this new error message, and I’m not sure how to resolve it. Any advice would be appreciated. Thanks!

Nick

![Screen Shot 2021-09-29 at 8.59.40 PM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/f/e/fef55637446a463b896fc1c07a19d9791ac745d3.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 30, 2021, 12:37pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/2 "2021-09-30T12:37:46Z")

</div>

Does your experiment have /html in the URL?

> Leave the Outpath in Experiment Settings / Online blank or you may run into resource errors with PsychoPy 2021.2 onwards. If you have already exported the HTML files to an html folder you may need to copy your psyexp and resources to a new local folder and use that to create a new project online.

> **[PsychoPy Python to Javascript crib sheet 2021](https://docs.google.com/document/d/183xmwDgSbnJZHMGf3yWpieV9Bx8y7fOCm3QKkMOOXFQ/edit#)**
>
> This document contains a crib sheet for PsychoPy version 2021.1.3 and 2021.2.2. It contains instructions for adding a JavaScript only code component to a routine and for using it to sync the Python code to Pavlovia.

---

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 2:10pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/3 "2021-09-30T14:10:50Z")

</div>

The output path in experiment settings/online was blank for this experiment. I also got this error message after copying my psyexp and resources to a new local folder and then using that to create a new project online, so I’m not sure what the issue is

---

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 2:57pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/4 "2021-09-30T14:57:00Z")

</div>

Here’s my study URL: [OiTNB\_Task\_PsychoPy [PsychoPy]](https://run.pavlovia.org/nfendinger/nyu-attention-and-memory-study-2)

I fiddled with it a little bit, and now I get the following error message. So it looks like the condition files are being read, but for some reason the issue is with reading in the image files themselves, if that makes sense.

 ![Screen Shot 2021-09-30 at 10.53.25 AM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/8/28ce48ddff1218bdccbc8a4ce42e456a22d3d834.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 30, 2021, 3:12pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/5 "2021-09-30T15:12:28Z")

</div>

You are trying to load a png file from your desktop. Check that the paths in the conditions files are relative to the location of the psyexp file.

---

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 3:18pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/6 "2021-09-30T15:18:49Z")

</div>

so to clarify, I have everything in the same folder on my desktop (i.e., the psyexp file is with all the other study materials). Are you suggesting I update the paths so that it just would be  
OiTNB\_Instructions1.png?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 30, 2021, 3:22pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/7 "2021-09-30T15:22:21Z")

</div>

Yes – you certainly shouldn’t be mentioning the absolute location in your experiment or spreadsheets.

Also, I tend to avoid syncing from the desktop in the first place - all my experiments are in folders within My Documents/Pavlovia.

---

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 3:28pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/8 "2021-09-30T15:28:57Z")

</div>

perfect, thanks for your help! I’ll give that a try and let you know if it works.

---

<div class="post-metadata">

**Author:** ![nfendinger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/nfendinger/32/34377_2.png) [@nfendinger](https://discourse.psychopy.org/u/nfendinger)\
**Post date:** [September 30, 2021, 3:35pm UTC](https://discourse.psychopy.org/t/can-not-run-experiment-on-pavlovia/25158/9 "2021-09-30T15:35:49Z")

</div>

just wanted to quickly circle back and say everything works now – thank you again for all your help!
