# Can not Run online

**URL:** <https://discourse.psychopy.org/t/can-not-run-online/43308>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [December 17, 2024, 1:42pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308 "2024-12-17T13:42:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 17, 2024, 1:42pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/1 "2024-12-17T13:42:52Z")

</div>

Dear Sir or Madam,

I would like to know why the online version can not run, but the offline experiment can run properly. The link is

> **[Pavlovia](https://pavlovia.org/student_M/tapnyaponlinemac)**
>
> The place for the wide community of researchers in the behavioural sciences to run, share, and explore experiments online

 ![Screenshot 2024-12-17 114719](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/d/2d5271fd5a27916b60e0c797b581b09f788c28d1.png)

I took a screenshot about the error message.

Thanks a lot.

Yours sincerely,  
Xiaochen

---

<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:** [December 17, 2024, 2:07pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/2 "2024-12-17T14:07:38Z")

</div>

Put `Prac_Ownpace_trials_LoopBegin = 0` in a Begin Experiment code component tab

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 17, 2024, 5:59pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/3 "2024-12-17T17:59:37Z")

</div>

Dear wakecarter,

Thanks a lot for replying. After I used the method you suggesting, it show another error.

If you could help me solve it, I would be very grateful.

Yours sincerely,  
Xiaochen

 ![截屏2024-12-17 17.56.23](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/b/ebedbcfc682595930170163ff0bb94a45f111bc2.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:** [December 17, 2024, 6:16pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/4 "2024-12-17T18:16:50Z")

</div>

Please show where / how you are using this name? I thought it was a variable, but maybe it’s a loop. Or both?

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 17, 2024, 7:17pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/5 "2024-12-17T19:17:40Z")

</div>

I use it as a loop in the builder. So I think it is a loop at least. But I am not sure if it is also a variable.

 ![截屏2024-12-17 19.13.40](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/4/c/4c867e478b1262dd1073fde666d8b40c9c89533c.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:** [December 17, 2024, 7:23pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/6 "2024-12-17T19:23:07Z")

</div>

Remove the code I gave you to add.

I think the issue is that you’ve ended the loop name with an underscore. Rename it so it doesn’t end on an underscore.

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 17, 2024, 8:07pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/7 "2024-12-17T20:07:23Z")

</div>

Dear wakecarter,

Thank you very much! I have resolved that problem, and make some progresses.

However, I met another issue. It showed a picture can not download.

Yours sincerely,  
Xiaochen

 ![截屏2024-12-17 20.06.34](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/b/2b64ccbb621386976b223c0538d2021da4308f9b.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:** [December 17, 2024, 8:10pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/8 "2024-12-17T20:10:50Z")

</div>

That looks like a capitalisation error.

> [@Online experiment unable to download an image](https://discourse.psychopy.org/t/online-experiment-unable-to-download-an-image/41355):
>
> URL of experiment: [MA SPR TestA [PsychoPy] (pavlovia.org)](https://run.pavlovia.org/Najaat/versiona/? __pilotToken=1f0e3dad99908345f7439f8ffabdffc4&__ oauthToken=cd7e33c5d1eac200f07971ad89b2c2b4edbe6bd845a18179a3cedddd90b28950) Description of the problem: Error Unfortunately we encountered the following error: when setting up a preload queue unable to download resource: instructions/main\_ins2.JPG (instructions/main\_ins2.JPG) Try to run the experiment again. If the error persists, contact the experiment designer.

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 17, 2024, 8:57pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/9 "2024-12-17T20:57:31Z")

</div>

Hi, wakecarter,

I have changed the capital letter of folders to the lower letter, but it still show the same error, although different picture.

Best wishes,  
Xiaochen

 ![截屏2024-12-17 20.54.27](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/a/2a053f3889e0ff108d922d7e1a84543834d57034.png)  
 ![截屏2024-12-17 20.54.39](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/2/123b978f10cf2654a7691839622eb4eae6ecf607.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:** [December 17, 2024, 10:46pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/10 "2024-12-17T22:46:20Z")

</div>

All of your cases have to match. The time it’s the P in the folder name.

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 11:29am UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/11 "2024-12-18T11:29:00Z")

</div>

Dear wakecarter,

Thanks a lot for helping me resolve the problem. I have changed all the first capital letters of folder names to lowercase letters. I also changed the pathway in the builder to match the new folder names. But it still shows the same error.

I do not know if I understand you appropriately. Could you see it again?

The new link:

> **[Pavlovia](https://pavlovia.org/student_M/tapyap3n2%0A)**
>
> The place for the wide community of researchers in the behavioural sciences to run, share, and explore experiments online

Yours sincerely,  
Xiaochen

 ![截屏2024-12-18 11.26.17](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/4/6464c3ece944cd1d72266bae6eb983d1887b7541.png)  
 ![截屏2024-12-18 11.27.32](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/4/e491a5cbb16a7fbd5d07646af2673de776d1731e.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:** [December 18, 2024, 11:31am UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/12 "2024-12-18T11:31:17Z")

</div>

Now show the name of that file in the folder.

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 11:51am UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/13 "2024-12-18T11:51:29Z")

</div>

![截屏2024-12-18 11.49.49](https://us1.discourse-cdn.com/flex002/uploads/psychopy/optimized/3X/5/e/5eb20a6aa4fae46e3e7035d9da49ea39c4c2766e_2_690x33.png)  
The name of the file in that folder is ’ parctice\_statements\_ownpace.png’

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 12:08pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/14 "2024-12-18T12:08:53Z")

</div>

Dear wakecarter,

I find other problems. In the Excel files, the names are also Capital ones.

I will figure them out to see if it can run.

Thanks a lot.

Xiaochen

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 1:43pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/15 "2024-12-18T13:43:10Z")

</div>

Hi, it now showed an another problem.

Could you give me some suggestions? Thanks a lot!

 ![截屏2024-12-18 13.41.10](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/7/b/7b356e01b6e53d2737d87354388cf606f4bd1456.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:** [December 18, 2024, 2:11pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/16 "2024-12-18T14:11:16Z")

</div>

This is probably still the same problem. Please check / show the exact spelling of the folder and file on Gitlab.

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 5:34pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/17 "2024-12-18T17:34:11Z")

</div>

Dear wakecarter,

Thank you every much. I changed the PNG to png in some pictures, then I resolved it.

But there is an another problem. Could you help me with this?

Yours sincerely,  
Xiaochen

 ![截屏2024-12-18 17.30.37](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/3/337daa02912c823395d3bdea180fce16c622edef.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:** [December 18, 2024, 5:51pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/18 "2024-12-18T17:51:51Z")

</div>

Add it in Experiment Settings / Online / Additional Resources

---

<div class="post-metadata">

**Author:** ![XCMa](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@XCMa](https://discourse.psychopy.org/u/XCMa)\
**Post date:** [December 18, 2024, 6:50pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/19 "2024-12-18T18:50:29Z")

</div>

Dear wakecarter,

Thank you very much. It now could run to show the first screen.

But I can not press the ’ right arrow’ to move to the next screen. Even after adding all pictures in the Additional Resources, the right arrow button still does not work.

Yours sincerely,  
Xiaochen

 ![截屏2024-12-18 18.49.48](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/d/f/dfec64d68f62b1f5c994a9f3b342bf27fab180cb.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:** [December 18, 2024, 7:33pm UTC](https://discourse.psychopy.org/t/can-not-run-online/43308/20 "2024-12-18T19:33:41Z")

</div>

Please confirm the name of the right arrow button and show the mouse component.

[Next page](https://discourse.psychopy.org/t/can-not-run-online/43308.md?page=2)
