Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

livereload broken for Win10

Aperta
#231 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
32/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
1.1k
Fork
148
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lepture/python-livereload

Tutte le issue di lepture/python-livereload

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.