Error: cannot run autotest using CPython: name 'dashed_numbers' is not defined

Đang mở
#688 1 bình luận 0 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
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
compilers, testing-qa

Hướng nghiên cứu

Reproduce the report in a Python 3.8 virtual environment by running transcrypt -r -c autotest from the automated-tests Transcrypt entry point. Compare the result with Python 3.7.5, where the report says it works, and trace the dashed_numbers NameError; done means the autotest command runs without that error.

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

Mô tả

New user... just installed Python 3.8.0 for the purpose of installing Transcrypt.
Working in a virtual environment.
Followed the instructions on the first page https://www.transcrypt.org/docs/html/installation_use.html. Got this:

(test_venv380) mike@M17A ~/python_venvs/test_venv380/lib/python3.8/site-packages/transcrypt/development/automated_tests/transcrypt $  transcrypt -r -c autotest

Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.7.16
Copyright (C) Geatec Engineering. License: Apache 2.0


Error: cannot run autotest using CPython: name 'dashed_numbers' is not defined

This seems to stop me doing these autotests. Presume at the current point that this is not that important. Not clear where "dashed_numbers" comes from: is it a Transcrypt module?

Is this a Python 3.8 issue perhaps?

LATER

I installed Python 3.7.5, set up a virtual env.

Things worked... no complaint about "dashed_numbers".

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.