reorproject / reor

Private & local AI personal knowledge management app.
https://reorproject.org
GNU Affero General Public License v3.0
6.91k stars 424 forks source link

Error: Could not start a chart with model #16

Open timuryung opened 8 months ago

timuryung commented 8 months ago

When trying to use chat feature got this error: Error invoking remote method 'create-session': Error: fatal: could not create leading directories of 'C:\Program Files\Reor\resources\app.asar\node_modules\node-llama-cpp\llama\llama.cpp': Not a directory

OS: Windows 11

samlhuillier commented 8 months ago

Hey thanks for reporting this! Looking into it now...Could you confirm which version of Reor you are on?

timuryung commented 8 months ago

Latest version

timuryung commented 8 months ago

V0.1.37

samlhuillier commented 8 months ago

Hey so I suspect this error was related to a change I made yesterday with native modules for apple silicon. I've fixed this in the new release. Would you be able to download it and confirm whether it works? :)

timuryung commented 8 months ago

Nope, the error still exists. I suspect it's because Program Files has a whitespace in it.

samlhuillier commented 7 months ago

Hey there. I did not manage to reproduce this...Installing Reor into "Program Files" works fine for me. Perhaps there is something else about your system that is causing this. Do you have any other ideas?

guptarohit commented 7 months ago

Hey! I'm facing same issue, downloaded binary from https://www.reorproject.org/ Running it on MacO 14.3.1/ reor version 0.1.43

Kimbbakar commented 7 months ago

Same issue facing here. MacOS BigSur 11.6 version: 0.1.45

FirendEndlire commented 7 months ago

Windows 11 llama-2-7b-chat.Q4_K_M.gguf reor version 0.1.46 image

samlhuillier commented 7 months ago

Strange. Perhaps that model is kind of weird. Could you try with phi-2? (You'll need to close and reopen the chat window after you attach the model in settings)

Kimbbakar commented 7 months ago

@samlhuillier still same error for phi-2

FirendEndlire commented 7 months ago

I switched model, and this works. thanks