Can you help me?
I have this errors:
docker run -p 8080:8080 -p 1337:1337 -p 7900:7900 --shm-size="2g" hlohaus789/g4f:latest
View attachment 4194601
1
| | 0/? [00:00<?, ?it/s] Traceback (most recent call last):
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 1076, in searchCodes
response = getSpeaker(speaker)
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 2544, in getSpeaker
response = translateGPT(
f"{speaker}",
"Reply with the " + LANGUAGE + " translation of the NPC name.",
True,
)
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\retry\api.py", line 73, in retry_decorator
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter,
logger)
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\retry\api.py", line 33, in __retry_internal
return f()
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 2807, in translateGPT
response = translateText(system, user, history, 0.05, format)
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 2654, in translateText
response = openai.chat.completions.create(
temperature=0,
...<3 lines>...
messages=msg,
)
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\openai\_utils\_utils.py", line 303, in wrapper
return func(*args, **kwargs)
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\openai\resources\chat\completions.py", line 598, in create
return self._post(
~~~~~~~~~~^
"/chat/completions",
^^^^^^^^^^^^^^^^^^^^
...<28 lines>...
stream_cls=Stream[ChatCompletionChunk],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\openai\_base_client.py", line 1086, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\openai\_base_client.py", line 846, in request
return self._request(
~~~~~~~~~~~~~^
cast_to=cast_to,
^^^^^^^^^^^^^^^^
...<3 lines>...
remaining_retries=remaining_retries,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\mario\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\openai\_base_client.py", line 898, in _request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'detail': 'Not Found'}
Traceback (most recent call last):
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 289, in parseMap
totalTokensFuture = future.result()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\_base.py", line 449, in result
return self.__get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\_base.py", line 401, in __get_result
raise self._exception
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 2267, in searchCodes
raise Exception(str(e) + "Failed to translate: " + oldjaString) from None
Exception: Error code: 404 - {'detail': 'Not Found'}Failed to translate: \N<父>…そんな訳でしばらく家を空けることになった。
Traceback (most recent call last):
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 221, in getResultString
raise translatedData[2]
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 289, in parseMap
totalTokensFuture = future.result()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\_base.py", line 449, in result
return self.__get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\_base.py", line 401, in __get_result
raise self._exception
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.240.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\mario\Downloads\DazedMTLTool-main\modules\rpgmakermvmz.py", line 2267, in searchCodes
raise Exception(str(e) + "Failed to translate: " + oldjaString) from None
Exception: Error code: 404 - {'detail': 'Not Found'}Failed to translate: \N<父>…そんな訳でしばらく家を空けることになった。
Map001.json: [Input: 0][Output: 0][Cost: $0.0000][20.9s] ✗ Error code: 404 - {'detail': 'Not Found'}Failed to translate: \N<父>…そんな訳でしばらく家を空けることになった。
TOTAL: [Input: 0][Output: 0][Cost: $0.0000][20.9s] ✓