Skip to content

can't open the script #7

@ALXNDR02

Description

@ALXNDR02

when i digit the command python Vingod.py the terminal says this error:
Traceback (most recent call last):
File "C:\Users\alxndr\Vingod\vingod-src\Vingod.py", line 600, in
main(banner, c, w)
File "C:\Users\alxndr\Vingod\vingod-src\Vingod.py", line 560, in main
{c}[{w}1{c}]{w} Start | {c}[{w}>{c}]{w} Brand: {brand_converter(get_settings()[0])} ; {c}[{w}>{c}]{w} Decrease margin (%): {str(get_settings()[3]) + "%"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alxndr\Vingod\vingod-src\Vingod.py", line 101, in brand_converter
json_data = read_json(f"{getcwd()}\assets\brands.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alxndr\Vingod\vingod-src\Vingod.py", line 70, in read_json
data = load(json_file)
^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\json_init_.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbd in position 2088: illegal multibyte sequence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions