# Unspecified javascript error: but I only have one page of text and that is it

**URL:** <https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280>\
**Category:** Online experiments\
**Created:** [February 7, 2021, 7:15pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280 "2021-02-07T19:15:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cat500](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/cat500/32/7508_2.png) [@cat500](https://discourse.psychopy.org/u/cat500)\
**Post date:** [February 7, 2021, 7:15pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/1 "2021-02-07T19:15:14Z")

</div>

URL of experiment: [https://run.pavlovia.org/cmfo/msc-debrief](https://run.pavlovia.org/cmfo/msc-debrief)

Description of the problem: I am experiencing this error but this task is just the debrief, which only entails one page with page and nothing else. Why should this be giving issues?

---

<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:** [February 7, 2021, 7:45pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/2 "2021-02-07T19:45:33Z")

</div>

Probably a text size of a decimal number of pixels

---

<div class="post-metadata">

**Author:** ![cat500](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/cat500/32/7508_2.png) [@cat500](https://discourse.psychopy.org/u/cat500)\
**Post date:** [February 7, 2021, 8:09pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/3 "2021-02-07T20:09:05Z")

</div>

How do you suggest going about it?

---

<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:** [February 7, 2021, 10:35pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/4 "2021-02-07T22:35:12Z")

</div>

What units are you using?

I usually now use Height for experimental trials and Norm for instructions.

---

<div class="post-metadata">

**Author:** ![cat500](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/cat500/32/7508_2.png) [@cat500](https://discourse.psychopy.org/u/cat500)\
**Post date:** [February 7, 2021, 11:12pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/5 "2021-02-07T23:12:16Z")

</div>

I would be inclined to think that something else is happening. I used exactly the same specifications that I have used before. I am wondering if one cannot do an experiment with just a page of text without any response.

---

<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:** [February 7, 2021, 11:19pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/6 "2021-02-07T23:19:28Z")

</div>

I’m sure you can.

Please could you show a screenshot of your text component (including the advanced units options) and the units options in experiment settings?

I just tried clicking your link on my phone and saw a black screen which I suspect was due to black text on a black background.

---

<div class="post-metadata">

**Author:** ![cat500](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/cat500/32/7508_2.png) [@cat500](https://discourse.psychopy.org/u/cat500)\
**Post date:** [February 7, 2021, 11:38pm UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/7 "2021-02-07T23:38:04Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/9/d/9dfdb0094b0cfc6f6609b4d91792129627555e25.jpeg)

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/2/82c90a1f0b07156cf9fadbed4380b438bcb6867a.jpeg)

---

<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:** [February 8, 2021, 9:22am UTC](https://discourse.psychopy.org/t/unspecified-javascript-error-but-i-only-have-one-page-of-text-and-that-is-it/20280/8 "2021-02-08T09:22:27Z")

</div>

On my PC I’m not getting an error but I’m not seeing any text either.

I’d recommend changing the Units to Norm from “from exp settings”.

I can see from your JS file that your expInfo settings are in height units, so I’m still not sure why the text is blank. It’s as if the global setting is being ignored. However, I’m also seeing a black screen rather than grey so it’s as if the text is being displayed as black on black instead of white on grey.

Is there a reason why you are giving them 20 seconds to read the debrief rather than just leaving it on screen?

The only other thoughts I have – but I don’t see why you should need them are:

> If the experiment works on some browsers but not others try editing the index.html file directly to replace `<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.3.3/pixi.min.js"></script>`

Also, I would have the “use version” blank rather than specifying 2020.2.10 (if you are).
