You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
File "D:\Games\RlBot\pkgs\eel__init__.py", line 199, in _process_message
return_val = _exposed_functions[message['name']](*message['args'])
File "D:\Games\RlBot\Python\lib\site-packages\rlbot_gui\gui.py", line 233, in begin_python_bot
config_file = bootstrap_python_bot(bot_name, bot_directory)
File "D:\Games\RlBot\Python\lib\site-packages\rlbot_gui\bot_management\bot_creation.py", line 36, in bootstrap_python_bot
os.rename(f"{tmpdirname}/RLBotPythonExample-master", f"{bot_directory}/{sanitized_name}")
OSError: [WinError 17] Das System kann die Datei nicht auf ein anderes Laufwerk verschieben: 'C:\Users\Main\AppData\Local\Temp\tmpkrlsijfz/RLBotPythonExample-master' -> './TestBot'
2019-03-02T21:35:53Z <Greenlet at 0x22a49961e18: _process_message({'call': 5.162969103343832, 'name': 'beginpython, <geventwebsocket.websocket.WebSocket object at 0x0)> failed with OSError
I think the main issue here is that RLBot is being ran from inside a zip without being extracted and $tmp is not at fault. The issue of having bots on a different drive is a serious issue however, but the root of that cause lies in the RLBot framework, not the new GUI.
Log by @badplayz in discord:
bot_creation.py
os.rename()
seems to be the culprit and we should useshutil.move()
instead. See: https://stackoverflow.com/questions/21116510While you're at it, I'd suggest moving to pathlib.Path rather than string-formatting paths.
The text was updated successfully, but these errors were encountered: