URL of experiment:
PsychoPy Version:
2020.1.1
PsychoJS Version:
2020.1
Description of the problem:
Both of these demos run on Pavlovia server without any issue. Because I want to test new local debugging feature, I run these demos from “Run JS for local debug” button on the Runner view. However, demos stopped with following error.
I tried FireFox and Chrome on Windows10 and FireFox on Ubuntu 18.04LTS, but the result was the same. I opened debug window on Firefox and found following log message. It seems that no resource files are downloaded.
DEBUG unknown | signal: {"message":"RESOURCES_REGISTERED","count":0} [log4javascript.min.js:1:40074](https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js)
DEBUG unknown | downloading the registered resources for experiment: Score_demo [log4javascript.min.js:1:40074](https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js)
DEBUG unknown | signal: {"message":"DOWNLOAD_COMPLETED"}
Then, script stopped at getResource()
.
this._resources
was empty at this time. so this._resources.get(name)
returned 'undefined'
.
{…}
context: "when importing condition: conditions.xlsx"
error: Object { origin: "ServerManager.getResource", context: "when getting the value of resource: conditions.xlsx", error: "unknown resource" }
origin: "TrialHandler.importConditions"
<prototype>: Object { … }
[core-2020.1.js:1437:12](http://localhost:12002/lib/core-2020.1.js)
onerror http://localhost:12002/lib/core-2020.1.js:1437
FATAL unknown | {"origin":"TrialHandler.importConditions","context":"when importing condition: conditions.xlsx","error":{"origin":"ServerManager.getResource","context":"when getting the value of resource: conditions.xlsx","error":"unknown resource"}} [log4javascript.min.js:1:40074](https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js)
append https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js:1
doAppend https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js:1
callAppenders https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js:1
log https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js:1
fatal https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js:1
dialog http://localhost:12002/lib/core-2020.1.js:920
onerror http://localhost:12002/lib/core-2020.1.js:1438
I’m not sure whether this is bug or my fault (something wrong with my experiments and/or my PC setup). What should I do to use local debugging?