# Additional resources not uploaded to pavlovia

**URL:** <https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913>\
**Category:** Online experiments\
**Tags:** resources, pavlovia\
**Created:** [November 11, 2021, 1:27pm UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913 "2021-11-11T13:27:59Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 11, 2021, 1:27pm UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/1 "2021-11-11T13:27:59Z")

</div>

Hi,  
my problem is that I when syncing with pavlovia the images (png files) and one pdf that I need for the experiment are not added to the repository resulting in errors when running the experiment online. I added the files under additional resources in the online experiment settings and already checked that there are no upper cases or spaces. The pdf is in a folder with videos that get added to the repository and the pictures are in a seperate folder that is completely missing. I also tried setting the output path to html, but the problem persists. Is there anything else I might be doing wrong or could try to fix the problem?

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [November 12, 2021, 7:38pm UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/2 "2021-11-12T19:38:37Z")

</div>

Hi There,

what is the name of the folder that the images are saved in? please could you share a screenshot of your folder structure where your experiment is saved?

Do you get an error message when you try to push to pavlovia?

For the pdf - I am not sure that is a supported image format for online - can you try to convert it to a jpg?

Thanks,  
Becca

---

<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:** [November 12, 2021, 7:57pm UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/3 "2021-11-12T19:57:37Z")

</div>

Setting your output path to html in the latest version will I believe break your experiment.

Did you add the resources via Experiment Settings/ Online/ Additional Resources.?

Please see my crib sheet or one of my recent posts for how to recreate an experiment without an html folder.

> [@"Unknown Resource" online, but works fine offline?](https://discourse.psychopy.org/t/unknown-resource-online-but-works-fine-offline/25793/10):
>
> I have a few minutes to write a reply now. I have one experiment still using the html folder where I have set “Use PsychoPy Version” to 2020.2.3 in Experiment Settings. For another experiment what I did was: Close the experiment in Builder. Download any existing data from Pavlovia. Delete the repository from Pavlovia. Delete the local .git folder. Delete the local html folder (after removing any files than only exist in it). Delete other unnecessary local files. Open the experiment in Builde…

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 9:20am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/4 "2021-11-15T09:20:26Z")

</div>

Ok, so I just deleted the repository, and offline the html folder and all github folders/files. Also, in the experiment I removed the outout path and then synched to create a new pavlovia experiment, all together it looks like this:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/f/2fb6d17c7ef0d1037b62bc5ed285d85462b87143.png)  
The one thing that I suspect, but cannot change is the backslash in the paths. Everywhere else I had to change it to “/” in order to make it work on pavlovia, but in the additional resources I can only select the files via the windows explorer and I do not see a way to edit the path manually.

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 9:22am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/5 "2021-11-15T09:22:37Z")

</div>

Also I receive no error message when I push the experiment. Only after I close PsychoPy and reopen it, I can no longer push my experiment and have to create a new one on Pavlovia, but that is another problem that existed before the one I am currently trying to solve…

---

<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:** [November 15, 2021, 9:31am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/6 "2021-11-15T09:31:56Z")

</div>

Are your files stored in a cloud storage folder such as Onedrive?

---

<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:** [November 15, 2021, 9:34am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/7 "2021-11-15T09:34:06Z")

</div>

> [@username-hidden](#):
>
> The one thing that I suspect, but cannot change is the backslash in the paths. Everywhere else I had to change it to “/” in order to make it work on pavlovia, but in the additional resources I can only select the files via the windows explorer and I do not see a way to edit the path manually.

This isn’t an issue. PsychoPy knows to switch \ to / in this location when online.

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 9:42am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/8 "2021-11-15T09:42:15Z")

</div>

The files are stored locally.

Regarding the slashes, when e.g. setting a movie stimulus if I leave the windows backslash then I get an error on Pavlovia when running the experiment. That is why I think this might be related.

---

<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:** [November 15, 2021, 9:44am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/9 "2021-11-15T09:44:36Z")

</div>

The resources you just showed were three png files and a pdf. I don’t think pdf files will work.

If you set a location in code it needs to have forward slashes.

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 9:47am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/10 "2021-11-15T09:47:07Z")

</div>

I removed the pdf from the additional resources, but pushing the experiment still does not add the pngs

---

<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:** [November 15, 2021, 10:00am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/11 "2021-11-15T10:00:13Z")

</div>

Please could you show the error message you are getting?

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 10:06am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/12 "2021-11-15T10:06:58Z")

</div>

When pushing the experiment there is no error message, only when starting the experiment I get this:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/1/810e099efd3e6f7826f82d98fc5295f225193a37.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:** [November 15, 2021, 10:10am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/13 "2021-11-15T10:10:27Z")

</div>

Am I right in thinking that you don’t have an icons folder online?

I wonder if it is being stopped by your gitignore file.

It might be worth trying to recreate the experiment again.

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 10:15am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/14 "2021-11-15T10:15:19Z")

</div>

The icon folder still is not uploaded to pavlovia:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/8/0844761a733bce93a9707383cfc1db86d9c7afaa.png)

Is there a way I could manually add the folder?

---

<div class="post-metadata">

**Author:** ![username-hidden](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@username-hidden](https://discourse.psychopy.org/u/username-hidden)\
**Post date:** [November 15, 2021, 11:46am UTC](https://discourse.psychopy.org/t/additional-resources-not-uploaded-to-pavlovia/25913/15 "2021-11-15T11:46:45Z")

</div>

**Solved:** I saw in the .gitignore that it ignores OS generated files like icons and tried renaming the folder from icons to hints and now it was uploaded.
