# Unspecified javascript error\*

**URL:** <https://discourse.psychopy.org/t/unspecified-javascript-error/22739>\
**Category:** Online experiments\
**Created:** [May 3, 2021, 12:34pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739 "2021-05-03T12:34:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yahelbb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yahelbb/32/16036_2.png) [@yahelbb](https://discourse.psychopy.org/u/yahelbb)\
**Post date:** [May 3, 2021, 12:34pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/1 "2021-05-03T12:34:23Z")

</div>

URL of experiment: [Pavlovia](https://pavlovia.org/nogac/spiders_28-4-21)

Description of the problem:  
Hi,  
I build an experiment that include a rating with slider and it work smoothly offline. When i try to pilot it in pavlovia the first block working good but the in the second block an ‘unspecified javascript error’ massage appears and stuck he experiment.

Any help would be much appreciated

---

<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:** [May 3, 2021, 12:41pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/2 "2021-05-03T12:41:09Z")

</div>

Please start by looking at the suggested solutions on my crib sheet (see pinned post in online category).

---

<div class="post-metadata">

**Author:** ![yahelbb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yahelbb/32/16036_2.png) [@yahelbb](https://discourse.psychopy.org/u/yahelbb)\
**Post date:** [May 4, 2021, 9:36am UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/3 "2021-05-04T09:36:25Z")

</div>

Hi,  
I have read the crib sheet adapting to 2021.1.3 version.  
Unfortunately I am steel stuck with the unspecified java script error.

I would like to any help

‫בתאריך יום ב׳, 3 במאי 2021 ב-15:51 מאת ‪Wakefield Morys-Carter via PsychoPy‬‏ \<‪[psychopy@discoursemail.com](mailto:psychopy@discoursemail.com)‬‏\>:‬

---

<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:** [May 4, 2021, 3:27pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/4 "2021-05-04T15:27:33Z")

</div>

Does the error occur when it reaches the slider? I find I need to select Light and Dark themes in the slider in 2020.2.10.

---

<div class="post-metadata">

**Author:** ![yahelbb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yahelbb/32/16036_2.png) [@yahelbb](https://discourse.psychopy.org/u/yahelbb)\
**Post date:** [May 4, 2021, 4:45pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/5 "2021-05-04T16:45:38Z")

</div>

There is two blocks with a slider. The first block with the slider working perfectly but the second block stuck with javascript error.

בתאריך יום ג׳, 4 במאי 2021, 18:37, מאת Wakefield Morys-Carter via PsychoPy ‏\<[psychopy@discoursemail.com](mailto:psychopy@discoursemail.com)\>:

---

<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:** [May 4, 2021, 4:53pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/6 "2021-05-04T16:53:34Z")

</div>

Please could you show any tabs of the slider components that are different?

---

<div class="post-metadata">

**Author:** ![yahelbb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yahelbb/32/16036_2.png) [@yahelbb](https://discourse.psychopy.org/u/yahelbb)\
**Post date:** [May 4, 2021, 6:30pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/7 "2021-05-04T18:30:24Z")

</div>

The different betweem the sliders is that in the first block there is no ticks and lables and in the seconed block the ticks and the lables is (6,24). In addition the position in the seconed block is (0,-0.3).

‫בתאריך יום ג׳, 4 במאי 2021 ב-20:03 מאת ‪Wakefield Morys-Carter via PsychoPy‬‏ \<‪[psychopy@discoursemail.com](mailto:psychopy@discoursemail.com)‬‏\>:‬

---

<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:** [May 4, 2021, 7:36pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error/22739/8 "2021-05-04T19:36:06Z")

</div>

I’d recommend that you try setting all of the second slider components as the same as the first and then reset them to what you want one by one until you identify which one is causing the issue.

What else do you have in that routine? A common cause of this error is a component with a size of less than .5 pixels.
