kf2-magicked-admin
kf2-magicked-admin copied to clipboard
Error on initial run from 0.1.6 linux release version related to text encoding
Reproduce (0.1.6 on ubuntu server 20.0.4 LTS running python3 3.8.2): -install all requirements -run python3 -O magicked_admin/magicked_admin
error/result:
File "magicked_admin/magicked_admin", line 1 SyntaxError: Non-UTF-8 code starting with '\x88' in file magicked_admin/magicked_admin on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Additional, minor issues I ran into while trying to set this up:
-requirements.txt is not included in the linux releases and needs to be downloaded manually from the source
-instructions say to run magicked_admin.py but (at least in the linux release) it does not have a file extension
-I tried the git cloning method instead but "git clone [email protected]:th3-z/kf2-magicked-admin.git" results in
[email protected]: Permission denied (publickey). fatal: Could not read from remote repository.
Eventually, I ended up building from source. This was confusing as no instructions were given beyond the requirements. I threw in a "make" command in the folder and it seemed to do it, throwing all the needed files into magicked_admin. Although there were many various errors during make, none interrupted the process and it seems to be working.