Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用Windows Run出現UnicodeDecodeError #647

Closed
winniepopu opened this issue Feb 18, 2020 · 3 comments
Closed

用Windows Run出現UnicodeDecodeError #647

winniepopu opened this issue Feb 18, 2020 · 3 comments
Labels

Comments

@winniepopu
Copy link

Goal

修復UnicodeDecodeError的error

Description

昨天試著用Window 10 系統 run Server,發現最後會卡在UnicodeDecodeError
不確定是我環境問題還是windows系統的問題
想問有人是用windows run起來的嗎?

使用系統: window10 64位元
Branch : master , Django3 (都一樣的問題)

Error Message

File "C:\Users\Winniepopu\AppData\Local\Programs\Python\Python36\lib\site-
packages\compressor\filters\base.py", line 188, in input
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 0: invalid start byte

Screenshots

image

image

@uranusjr
Copy link
Member

你看到的錯誤是 django-compressor/django-compressor#495,不過即使你解決了這個,後面還是會有其他的錯誤(kottenator/django-compressor-toolkit#11)。目前無解,請用 Docker 或 WSL 來跑。

@winniepopu
Copy link
Author

winniepopu commented Feb 19, 2020

好的感謝!
正在嘗試中

@vyach-vasiliev
Copy link

I had a similar error.
As it turned out, I forgot to install the LESS preprocessor.
I ran a command in the CMD and all worked: npm install less -g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants