Test of standard Transcrypt install fails

Aperta
#741 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
javascript, python
Ambito
compilers, testing

Direzione di ricerca

Start in ../transcrypt/development/automated_tests/transcrypt/ and reproduce the installation test with the two transcrypt commands from the report. Inspect the generated autotest.html files and the browser error in div_issues.issue559.mylib.mylib.js, then run the webserver test again. Done means the standard installation test displays its table without the reported ReferenceError.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

STATE: under consideration

After installing transcrypt 3.7.16. I try to test the installation (as described in the doco):

In the directory ../transcrypt/development/automated_tests/transcrypt/ I run transcrypt -b -c -da autotest. This succeeds.

Then I run transcrypt -r -c autotest. This succeeds as well (but strangely I have afterwards two autotest html files: An old autoTest.html from install time, and a new autotest.html from the transcrypt run. (Note teh different capitalisation.)

Finally I start the webserver and go to http://localhost:8000/autotest.html. but I get an empty table and the browser console shows the following error log:

div_issues.issue559.mylib.mylib.js:4 Uncaught ReferenceError: __all__ is not defined
    at div_issues.issue559.mylib.mylib.js:4
    at div_issues.issue559.mylib.mylib.js:4
    at Function.<anonymous> (org.transcrypt.__runtime__.js:3)
    at run559 (div_issues.issue559.js:3)
    at Object.run (div_issues.js:35)
    at org.transcrypt.autotester.js:15
    at Function.<anonymous> (org.transcrypt.__runtime__.js:3)
    at autotest.js:18

My environment:

Tool Version
OS Linux RHEL 7
Python Version 3.7.4
Browser Google Chrome 75.0.3770.142
Lingua principale
Python
Stelle
2.9k
Fork
218
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TranscryptOrg/Transcrypt

Tutte le issue di TranscryptOrg/Transcrypt

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.