Test of standard Transcrypt install fails

未关闭
#741 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
javascript, python
领域
compilers, testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Python
星标
2.9k
派生
218
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TranscryptOrg/Transcrypt 的其他 Issue

查看 TranscryptOrg/Transcrypt 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。