Error message appears, resolves itself, then re-appears again

URL of experiment: Rej_WTP_legacy [PsychoPy]

Description of the problem:

Hi all,

I am currently debugging a task where participants share their social media photos via Qualtrics, which then get uploaded by us to Pavlovia. Throughout the task, participants get to see their photos displayed followed by feedback. When I get to the first instance of that event in the task, I am met with this error message:

Using the below line of code, the value of “participantimage_image” is determined by a column in the trial spreadsheet called “Photos” which contains the image path.

  participantimage_image.setImage(Photos);

I had run an earlier iteration of this task containing the same code and paths where I didn’t have this issue. Further, the error mesage will sometimes resolve itself and I am able to advance in the task past this point, but then later the error message appears again.

Any ideas as to what this could be?

Thank you so much in advance.

You probably have a blank row at the bottom of your spreadsheet.


This is what the bottom of my csv looks like. I also went in to the csv and manually “cleared” all of the rows below the ones being used to try and account for that, but that message still appeared. could this be a hidden character/ encoding issue as well? i have re-uploaded the csv and it has worked, only for the message to pop back up again. Not sure how to address that with javascript though, any thoughts?

Thank you!

sorry, my above comment was meant to be a direct reply to this. Thank you in advance!

Is there a space after Photos in your column title?

Here’s what the start of the spreadsheet looks like-- It doesn’t seem like that is the case. I have a feeling there may be hidden characters somewhere in the rows but it’s hard to say if that is what’s happening.

I guess I made the mistake of not directly replying again-- sorry! Please see my above comment, thank you so much

It’s not that. I do see your replies anyway, but I don’t have any particular ideas.

You could try changing the name of the column in case that name is also being used for something else.

I’d recommend that you try to make a minimal demo to narrow down the cause.