Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

livereload broken for Win10

オープン
#231 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
1.1k
フォーク
148
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lepture/python-livereload のほかの issue

lepture/python-livereload の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。