pixelhumain / GoGoCartoJs

Javascript component to create terrific cartography !
https://pixelhumain.github.io/GoGoCartoJs/
GNU Affero General Public License v3.0
11 stars 4 forks source link

Script timeout #16

Closed poka-IT closed 6 years ago

poka-IT commented 6 years ago

Firefox 60 Ubuntu 16.04

Un script ralentit l'usage du site jusqu'a obligation de l'arrêter. Voici ce que j'ai en console:

Error: Script terminated by timeout at:
[62]</a</e.prototype.getElementById@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:26:16478
[2]</$</e.prototype.elementById@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:22:4165
[61]</s</e.prototype.convertJsonElements@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:26:11247
[44]</r</e.prototype.handleNewElementsReceivedFromServer@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:25:2660
e/<@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:25:1623
[16]</o</e.prototype.emit/<@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:22:26908
[16]</o</e.prototype.emit@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:22:26858
success@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:25:18813
u@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:2:25558
fireWith@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:2:26326
o@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:3:29245
n/<@https://pixelhumain.github.io/GoGoCartoJs/dist/gogocarto.min.js:4:3121
seballot commented 6 years ago

Salut Poka!

Tu as eu cette erreur sur une instance locale? ou sur un site en production? si oui lequel?

On dirait que c'est la requête pour récupérer un élement qui a du mal (getElementbyId), ça viendrait donc peut être d'un problème serveur qui fournit les données... Est ce que tu arrives à reproduire ce bug?

Merci !

poka-IT commented 6 years ago

Ah c'est sur Transiscope: http://transiscope.org/ C'est Simon Louvet qui s'occupe de ce site je crois.

seballot commented 6 years ago

Ok merci, du coup ça ne vient pas de GoGoCarto, ça devait juste être un bug dans l'API qui récupère les données. Tu as toujours cette erreur? je ferme le ticket, si y'a toujours un problème tu peux re ouvrir !