# Designer: undefined

**URL:** <https://discourse.psychopy.org/t/designer-undefined/8246>\
**Category:** Online experiments\
**Created:** [June 25, 2019, 2:41pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246 "2019-06-25T14:41:02Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [June 25, 2019, 2:41pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246/1 "2019-06-25T14:41:02Z")

</div>

URL of experiment:

Description of the problem: Greetings, I am trying to run a study from Psychopy3 builder to Pavlovia but I get the following message after Sync is completed: “We could not find a record for experiment designer: undefined”. Any suggestions about what to do?

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [June 25, 2019, 3:01pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246/2 "2019-06-25T15:01:02Z")

</div>

Was this message in the PsychoPy app or in a browser window? Do you have a username/experiment name for us to look into it?

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [June 25, 2019, 4:48pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246/3 "2019-06-25T16:48:53Z")

</div>

It was in a browser window. The experiment is private and I do not know how to make it public or give access to anyone.

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [June 25, 2019, 5:20pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246/4 "2019-06-25T17:20:54Z")

</div>

Sharing the URL of the experiment won’t make it public. The data and the experiment will remain private but others will be able to see the address for where to run it (or not, as the case may be). But I don’t think I or @apitiot can help unless you’re prepared to share more than your current info

---

<div class="post-metadata">

**Author:** ![AlexV](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@AlexV](https://discourse.psychopy.org/u/AlexV)\
**Post date:** [July 2, 2019, 10:51am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/6 "2019-07-02T10:51:11Z")

</div>

@MarinaDorothy Did you manage to solve this? I’m having the same issue and I don’t know why or what to do, I haven’t experienced this before

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [July 3, 2019, 7:58am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/7 "2019-07-03T07:58:30Z")

</div>

Apologies for the late reply…@AlexV Unfortunately I have not found a way to fix this. I tried it again numerous times and now it is stuck at the synchronising phase… @jon Although I followed all the steps meticulously when I click on the project I have created on pavlovia, there is no URL link (that space is empty).

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 3, 2019, 8:25am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/8 "2019-07-03T08:25:03Z")

</div>

If this was in a browser then there must be a URL. It’s the address at the top of your browser. Please send that. Or send your pavlovia username. I need something more to go on than the information here

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [July 3, 2019, 8:33am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/9 "2019-07-03T08:33:05Z")

</div>

My username is MarinaDorot and the name of the project is Self-paced Reading. Thank you!

---

<div class="post-metadata">

**Author:** ![apitiot](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@apitiot](https://discourse.psychopy.org/u/apitiot)\
**Post date:** [July 3, 2019, 10:10am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/10 "2019-07-03T10:10:03Z")

</div>

Hello @MarinaDorothy,

The gitlab repository for your experiment seems to be empty. Have you perhaps deleted the experiment on your local machine? Could you resurect it so I can check what is going on on our end?  
Cheers,

Alain

---

<div class="post-metadata">

**Author:** ![apitiot](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@apitiot](https://discourse.psychopy.org/u/apitiot)\
**Post date:** [July 3, 2019, 10:10am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/11 "2019-07-03T10:10:42Z")

</div>

Hello @AlexV,

Could you give me the URL of your experiment so I can check what the issue might be?  
Cheers,

Alain

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [July 4, 2019, 12:16am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/12 "2019-07-04T00:16:32Z")

</div>

Hi @apitiot!

I went through the whole process again and managed to upload the experiment. The problem now is that it will not read the sentences from the excel file. It just shows ‘NaN’

Username: Marina Gibson  
Name of project: SPR\_Greek

---

<div class="post-metadata">

**Author:** ![AlexV](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@AlexV](https://discourse.psychopy.org/u/AlexV)\
**Post date:** [July 4, 2019, 8:45am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/13 "2019-07-04T08:45:23Z")

</div>

Here’s the link to my thread on it. If you think there is a quick fix to it, then do let me know. I actually made another pavlovia account and I’ve managed to get all my studies running from there.

> [@Undefined error message when running study online](https://discourse.psychopy.org/t/undefined-error-message-when-running-study-online/8311):
>
> URL of experiment: [Link to study](https://pavlovia.org/AlexV/01-01-02/html/) Description of the problem: I uploaded my experiment on Pavlovia to run it online. I can see all the folders are there, but when I run/pilot the study it won’t run online and I get this: We could not find a record for experiment designer: undefined Please check the name and try again. If the error persists, contact Pavlovia’s administrator. How can I solve this? Thanks in advance !

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [July 5, 2019, 6:55am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/14 "2019-07-05T06:55:21Z")

</div>

@apitiot Could the problem be that the excel file contains Greek letters?

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 5, 2019, 10:29am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/15 "2019-07-05T10:29:32Z")

</div>

OK, thanks for sharing Marina. Now I can dig into it properly.

I very much doubt that the issue is the greek letters. I think it’s the code where you have `$eval("S%s" % (example))` for text\_4 and similar for your text\_8. It’s to do with the variable not being updated correctly during the trials and I’m not sure why, but I also wonder if you really need to use variables like this. Maybe this can be handled by conditions files instead. I’m thinking that one file could contain all the words for one ‘trial’ and then you switch files for the different trials. But I’m not sure I really understand the study (given the greek instructions). @dvbridges can probably jump in and help here too

By the way, I think the issue with not synchronising before might have been due to you trying to sync the experiment directly from your desktop. When you create a project it contains all the files in the current folder so your project here contains all your pdfs and files from your desktop. Some computers won’t even allow you to do that, e.g. in computer labs where the desktop is “roaming” because of security issues. I think we might add in future a warning that studies should be in a folder and not on desktop.

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 5, 2019, 11:19am UTC](https://discourse.psychopy.org/t/designer-undefined/8246/16 "2019-07-05T11:19:12Z")

</div>

OK, here’s a fixed version of your study that does run online and locally. The issue was with the variables that were being set up and altered in your JS environment. There werew several issues that needed fixing:

- you had variables that were being set to operate locally in your JS (by including the `var` statement inside a function they only exist inside that function)
- you then specified them as belonging to window to try and get around that (which might have worked but…)
- your code to access the values in the text used the values that weren’t assigned to the window (they were just created as var and never updated)

I’ve attached below a working version where the code snippets look almost exactly the same between Py/JS and hopefully you can see how it works now.

This will hopefully be handled soon by our upcoming Py-\>JS autoconversion

[SPR\_Greek.psyexp](https://discourse.psychopy.org/uploads/short-url/CHDMkXbByXMih0UIVPmePosr4D.psyexp) (41.8 KB)

---

<div class="post-metadata">

**Author:** ![MarinaDorothy](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MarinaDorothy](https://discourse.psychopy.org/u/MarinaDorothy)\
**Post date:** [July 5, 2019, 1:25pm UTC](https://discourse.psychopy.org/t/designer-undefined/8246/17 "2019-07-05T13:25:44Z")

</div>

It works… Thank you so much for your help (and patience)!
