Open sranasir opened 11 years ago
Il s'agit a priori d'erreurs d'exécution du javascript, qui n'empêchent nullement l'accès au contenu de la page. En ouvrant la console de Chrome sur cette page on peut voir effectivement que le javascript ne s'exécute pas correctement. Pas de conséquences donc a priori, juste de l'information. Mais je pense qu'il pourrait être utile de disposer d'un moyen de rendre silencieuses ces seules erreurs pour les exécutions de ghost.py en ligne de commande.
This causes rendering problems on page like https://www.scaleway.com. I guess this is due to a problem in the order javascript scripts are loaded or something. The problem is that it "breaks" the javascript environment in that not all libraries are loaded and code execution does not complete the way a normal browser would do. Any advice on where to get started to fix this would be most welcomed.
I am trying just to open a page and nothing else but this error keeps on coming. The parent domain opens up fine and works.
ERROR:ghost:Frame: undefined(0): TypeError: 'undefined' is not a function
The script so far in my document is just this.
from ghost import Ghost ghost = Ghost(wait_timeout = 60) ghost.open("http://www.phoenix.edu/programs/degree-programs/arts-and-sciences/associates/aacom.html")