Test of standard Transcrypt install fails

Đang mở
#741 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, python
Lĩnh vực
compilers, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
2.9k
Fork
218
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TranscryptOrg/Transcrypt

Tất cả issue của TranscryptOrg/Transcrypt

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.