mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 16:15:50 +03:00
[GH-ISSUE #681] DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 2 #522
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zaghost on GitHub (Feb 19, 2019).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/681
I got '500 Internal Server Error' when I clicked 'New Instance' button in a host,
I checked /var/log/supervisor/webvirtmgr.log and found there was an exception:
@zaghost commented on GitHub (Mar 22, 2019):
After debug, I found if there are file with messy code filename in user's home directory in host machine, then the page [host] -> [New Instance] will show a Error page
In django/template/base.py, it try to decode string of filenames as utf-8
[host] -> [New Instance] -> [Custom Instance] -> [HDD] list all files in home directory.