Open Dariusz1989 opened 5 months ago
I am also having the same issue. Took fresh pull and it gave this path error. While debugging on my windows machine I found:
I thought this could be a bug in Path module but on running on command prompt for a sample, its giving correct output.
Pls see below
Essentially the issue is with PathLib module generating incorrect paths here on Windows (Atleast) machine
Pls comment if anyone resolved this
I resolved it.
You may update line 28 of ui.py to
AVATAR_BOT = Path(file).parent.relative_to(Path(file).parents[1]) / "avatar-bot.ico"
The issue was to remove additional folder name as it was an i ssue while resolving path using Pathlib through gradle blocks. so, I am sending just the file'sparent and so it working for me @imartinez : Do you find this good for a PR? so will raise one.
Hey Fresh install & run >
Something seems broken?
Im running it in pycharm via "run" main.py function, with envi arguments sent in config logic. Seems like paths don't resolve properly?![image](https://github.com/imartinez/privateGPT/assets/13185728/a36e8189-f74e-47d2-9bd8-29f072d75a20)