UnicodeDecodeError UTF-8 Error, how to fix?
i try to run this projecthttps://github.com/tanjeffreyz/auto-maple?tab=readme-ov-file
and i get this error.
i has already installed all requirement.
when i run prompt in folder
result like this.
[~] Retrieving latest submodules:
- Updated submodule 'resources'
[~] Started main bot loop
[~] Initializing detection algorithm:
2025-11-20 13:41:03.779698: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2025-11-20 13:41:05.674187: E external/local_xla/xla/tsl/platform/windows/windows_file_system.cc:363] ERROR: GetSymbolicLinkTarget cannot open file for \\?\C:\Users\jsp93\Desktop\auto_maple\assets\models\rune_model_rnn_filtered_cannied\saved_model\variables\variables.data-00000-of-00001 GetLastError: 2
Exception in thread Thread-5 (_main):
Traceback (most recent call last):
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\jsp93\Desktop\auto_maple\src\modules\bot.py", line 75, in _main
model = detection.load_model()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\Desktop\auto_maple\src\detection\detection.py", line 19, in load_model
return tf.saved_model.load(model_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 912, in load
result = load_partial(export_dir, None, tags, options)["root"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 1042, in load_partial
loader = Loader(object_graph_proto, saved_model_proto, export_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 226, in __init__
self._restore_checkpoint()
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 561, in _restore_checkpoint
load_status = saver.restore(variables_path, self._checkpoint_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\checkpoint\checkpoint.py", line 1463, in restore
object_graph_string = reader.get_tensor(base.OBJECT_GRAPH_PROTO_KEY)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jsp93\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\py_checkpoint_reader.py", line 66, in get_tensor
return CheckpointReader.CheckpointReader_GetTensor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 147: invalid continuation byte