# Error in xlsx file

**URL:** <https://discourse.psychopy.org/t/error-in-xlsx-file/27838>\
**Category:** Online experiments\
**Created:** [March 7, 2022, 11:05am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838 "2022-03-07T11:05:27Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 7, 2022, 11:05am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/1 "2022-03-07T11:05:27Z")

</div>

URL of experiment:  
[https://run.pavlovia.org/marayuso/kavcic/html](https://run.pavlovia.org/marayuso/kavcic/html)  
Description of the problem:  
After the instructions, the following error appears.

Unfortunately we encountered the following error:

- when importing condition: select\_trials.xlsx
- when getting the value of resource: select\_trials.xlsx
- **unknown resource**

Try to run the experiment again. If the error persists, contact the experiment designer.

In select\_trials.xlsx there are 2 columns.

I don’t know where is the problem in the xlsx file.  
Best regards.

---

<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:** [March 7, 2022, 1:11pm UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/2 "2022-03-07T13:11:32Z")

</div>

Please refer to this thread.

> [@"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:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 7, 2022, 1:30pm UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/3 "2022-03-07T13:30:52Z")

</div>

I did what you said but it doesn’t work.

I don’t know if ther is a problem in the file.  
[select\_trials.xlsx](https://discourse.psychopy.org/uploads/short-url/gKadVRUYBpK7kY4zU2jJoJDS4RD.xlsx) (11.8 KB)

---

<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:** [March 7, 2022, 5:13pm UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/4 "2022-03-07T17:13:06Z")

</div>

Two issues with that spreadsheet.

1. The cursor is in G58. I would recommend moving it to a cell with contents in columns A or B.

2. I would recommend using the x:y format for specifying row numbers. For example: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 becomes 0:15 (though that particular one you might need to put '0:15 to stop Excel formatting it as a time.

However, neither of these are likely to lead to an unknown resource error.

What is your new run link?

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 7:29am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/5 "2022-03-08T07:29:15Z")

</div>

Okey, I’m going to try it. The new url is this one: [RSVP [PsychoPy]](https://run.pavlovia.org/marayuso/rsvp/html)

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 8:17am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/6 "2022-03-08T08:17:30Z")

</div>

I tried what you said and I have the same error message.

---

<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:** [March 8, 2022, 9:00am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/7 "2022-03-08T09:00:11Z")

</div>

Since your new URL still has /html in it, then I think you should try following my instructions again.

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 9:07am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/8 "2022-03-08T09:07:23Z")

</div>

I did it. I changed the xlsx file, I removed the project from pavlovia, the .git and the html folders, I syncronized again the project and It doesn’t work.

I’m going to try it one more time.

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 9:17am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/9 "2022-03-08T09:17:38Z")

</div>

I tried one more time and I have the same error. I don’t know where is the mistake.  
[https://run.pavlovia.org/marayuso/rsvp/html](https://run.pavlovia.org/marayuso/rsvp/html)

---

<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:** [March 8, 2022, 9:29am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/10 "2022-03-08T09:29:08Z")

</div>

Pay close attention to step 8

1. Check that Experiment Settings / Online / Output path is blank and Export HTML is on Sync.

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 9:34am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/11 "2022-03-08T09:34:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/5/650dfbca9af0e5dd475c5119feb050b905db8d67.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:** [March 8, 2022, 10:00am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/12 "2022-03-08T10:00:19Z")

</div>

Your output path should be blank.

Your output path is not blank.

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 10:34am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/13 "2022-03-08T10:34:21Z")

</div>

Okey, I’m going to try again.

---

<div class="post-metadata">

**Author:** ![marayuso](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marayuso](https://discourse.psychopy.org/u/marayuso)\
**Post date:** [March 8, 2022, 10:41am UTC](https://discourse.psychopy.org/t/error-in-xlsx-file/27838/14 "2022-03-08T10:41:56Z")

</div>

Now it works!! Thank you so much.
