Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

livereload broken for Win10

Đang mở
#231 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
32/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli, operating-systems

Hướng nghiên cứu

Start with the command-line interface by reproducing livereload static on Windows 10 with Python 3.7 and livereload 2.6.3, then compare the generated launcher with the working 2.4.0 installation. Done means the 2.6.3 command runs without the non-UTF-8 syntax error and serves the requested directory.

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

Mô tả

state: needs info type: bug

I'm using livereload==2.6.3, python 3.7

When I run it with commandline interface I'm getting error:

(venv) C:\Users\Илья\Desktop\player-layout>livereload static
  File "C:\Users\Илья\Desktop\player-layout\venv\Scripts\livereload-script.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xe8' in file C:\Users\Илья\Desktop\player-layout\venv\Scripts\livereload-script.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Than I reinstalled it with 2.4 version and now it's working:

(venv) C:\Users\Илья\Desktop\player-layout>pip install livereload==2.4.0
Collecting livereload==2.4.0
  Downloading https://files.pythonhosted.org/packages/b3/7b/354d562504ca4f821c38e1a07ebda7a43ccbb8de2e875be0f3a829a56110/livereload-2.4.0-py2.py3-none-any.whl
Requirement already satisfied: six in c:\users\илья\desktop\player-layout\venv\lib\site-packages (from livereload==2.4.0) (1.15.0)
Requirement already satisfied: tornado in c:\users\илья\desktop\player-layout\venv\lib\site-packages (from livereload==2.4.0) (6.0.4)
Installing collected packages: livereload
  Found existing installation: livereload 2.6.3
    Uninstalling livereload-2.6.3:
      Successfully uninstalled livereload-2.6.3
Successfully installed livereload-2.4.0
You are using pip version 19.0.3, however version 20.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(venv) C:\Users\Илья\Desktop\player-layout>livereload static
[I 200831 20:23:53 server:271] Serving on http://127.0.0.1:35729
[I 200831 20:23:53 handlers:58] Start watching changes
[I 200831 20:23:53 handlers:60] Start detecting changes
[I 200831 20:25:48 server:291] Shutting down...

Seems like you've broke win10 compitability in a few last versions.

Ngôn ngữ chính
Python
Star
1.1k
Fork
148
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 lepture/python-livereload

Tất cả issue của lepture/python-livereload

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.