[BUG] Directory path in backend startup wrong? (windows)
Author: kklockerCreated Jun 3, 2025Updated Jun 3, 2025
Labelsbug
Model not relevant
Describe the bug
Starting the python backend as in the readme with python .\main.py start --model lama --port 8080 results in "Directory not found".
I noticed that the path resolving to the web app did not actually point to the web app
Screenshots
The error:
Some modification i did to api.py (notice I added an extra .parent)
The output -- notice that the web app directory path now points to the actual web app
Current file path: C:\Users\karll\projects\IOPaint\iopaint\api.py
Current directory: C:\Users\karll\projects\IOPaint
Web app directory: C:\Users\karll\projects\IOPaint\web_appSystem Info Software version used
- iopaint: git reflog 61a759f
- pytorch: irrelevant
- CUDA: irrelevant
OS: Windows, might be something special here?
Source: Sanster/IOPaint