# Counterbalancing and Resource Loading

**URL:** <https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544>\
**Category:** Online experiments\
**Tags:** resources, pavlovia\
**Created:** [August 13, 2021, 8:50pm UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544 "2021-08-13T20:50:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbj27](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fbj27](https://discourse.psychopy.org/u/fbj27)\
**Post date:** [August 13, 2021, 8:50pm UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544/1 "2021-08-13T20:50:36Z")

</div>

URL of experiment: [Pavlovia](https://pavlovia.org/jfeiler/stem_experiment)

**Description of the problem:**  
My experiment works when launched from Builder. On Pavlovia, however, when I click “Pilot”, the “resource loading bar” just stays white, and no actual loading happens. Despite no resources loading, I am able to press “Ok” to continue (see below):

 ![Screen Shot 2021-08-13 at 3.48.41 PM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/3/63df983e7cdf83a4e0efde247b44483f9c6038c3.png)

When I hit “Ok,” my experiment goes to the first stimulus (the welcome page); however, when I click “SPACE” to continue, I get an error saying the system cannot find my conditions file (see below, alone with console error):

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/7/17cd01ab389ddcd6c08b298a6364387dbd40dd4f.png)

I know the files are uploaded to Pavlovia, as they are in my repository. The only thing I can think of that might be causing an error is the fact that I’m counterbalancing according to these instructions [https://www.psychopy.org/builder/blocksCounterbalance.html](https://www.psychopy.org/builder/blocksCounterbalance.html). It seems like Pavlovia may not recognize that I in the conditions file field, I have a variable as “$“Order”+expInfo[‘group’]+”.xlsx". But then again, I could be wrong.

Thanks for the assistance in advance!

---

<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:** [August 13, 2021, 11:29pm UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544/2 "2021-08-13T23:29:59Z")

</div>

You need to either connect all possible resources in Builder via Experiment Settings / Online or use the download resources command in code.

---

<div class="post-metadata">

**Author:** ![fbj27](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fbj27](https://discourse.psychopy.org/u/fbj27)\
**Post date:** [August 14, 2021, 3:58pm UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544/3 "2021-08-14T15:58:01Z")

</div>

@wakecarter, thanks for the response! I just tried adding all the resources to the “Online” tab in the experiment settings. I cleared the browser cache, and it still won’t work. I’m still getting the same error as above.

---

<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:** [August 14, 2021, 5:52pm UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544/4 "2021-08-14T17:52:30Z")

</div>

Use an incognito tab or different browser to double check

---

<div class="post-metadata">

**Author:** ![fbj27](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fbj27](https://discourse.psychopy.org/u/fbj27)\
**Post date:** [August 15, 2021, 12:58am UTC](https://discourse.psychopy.org/t/counterbalancing-and-resource-loading/24544/5 "2021-08-15T00:58:36Z")

</div>

@wakecarter unfortunately that didn’t work either.
