# ReferenceError: ... is not defined

**URL:** <https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735>\
**Category:** Online experiments\
**Created:** [April 24, 2020, 1:37pm UTC](https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735 "2020-04-24T13:37:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hendrik-Jan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/hendrik-jan/32/8111_2.png) [@Hendrik-Jan](https://discourse.psychopy.org/u/Hendrik-Jan)\
**Post date:** [April 24, 2020, 1:37pm UTC](https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735/1 "2020-04-24T13:37:42Z")

</div>

Hi all,

I recently set up an experiment in Psychopy which runs perfectly fine on my computer. However, when running the experiment on Pavlovia, I run into the following error:

Description of the problem: ![Error](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/0/1043fba0a10d26157efff052f42a16ea0d0fee48.png)

Any ideas on how I can resolve this?

My repository: [Sign in · GitLab](https://gitlab.pavlovia.org/Hendrik-Jan/klinstudv3)

Thanks!

---

<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:** [April 24, 2020, 2:12pm UTC](https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735/2 "2020-04-24T14:12:39Z")

</div>

Do you have a variable called displayneg\_memory ?

Do you give it a value in a Begin Experiment code block?

---

<div class="post-metadata">

**Author:** ![Hendrik-Jan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/hendrik-jan/32/8111_2.png) [@Hendrik-Jan](https://discourse.psychopy.org/u/Hendrik-Jan)\
**Post date:** [April 24, 2020, 3:00pm UTC](https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735/3 "2020-04-24T15:00:44Z")

</div>

Yes I do:

 ![Error2](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/a/3a65238d434311ec8e45e4b96c1291601ca5f16d.png)

The tab “Begin Routine\*” contains the same code.

---

<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:** [April 24, 2020, 8:35pm UTC](https://discourse.psychopy.org/t/referenceerror-is-not-defined/12735/4 "2020-04-24T20:35:41Z")

</div>

Your screen shot suggests that you’ve typed javascript into the left hand Python window and there has not been any auto translation into javascript on the right.  
Python code doesn’t have semi colons, does it?
