FileNotFound error in python
fcoury opened this issue · comments
An unexpected error occurred. Please try again. If the error persists, you can submit the issue with the following details at GitHub:
Traceback (most recent call last):
File "/kicad/src/tasks.py", line 70, in generate_kicad_project
__upload_to_storage(task_id, log_path)
File "/kicad/src/tasks.py", line 57, in __upload_to_storage
client.fput_object(
File "/kicad/.local/lib/python3.11/site-packages/minio/api.py", line 983, in fput_object
file_size = os.stat(file_path).st_size
^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/kicad/9c83815c-b571-443e-a185-00ff24c9f8d6/logs/front.svg'
The problem was having a percentage on the keyboard name! I took it off and it now works fine.
thanks for reporting, this will be fixed in v0.6