graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

python -m graphrag.index --init --root ./ragtest issue

Open jachenms opened this issue 1 year ago • 1 comments

image graphragissue indexing-engine.log

please help me to solve the issue, why always happen.

jachenms avatar Jul 08 '24 14:07 jachenms

Most likely the input you are submitting is not utf-8 formatted due to the way you downloaded it. This package is meant to run on linux and there are some odd filesystem related issues like this that can crop up on Windows and MacOS where plain text is not truly plain text.

You can try something like this in powershell Invoke-WebRequest -Uri https://url/ -OutFile "C:\path\file" to download, although the better way would be to use WSL.

stevetru1 avatar Jul 08 '24 17:07 stevetru1

This issue have been solved , thanks a lot, you are really expert. keep in touch

jachenms avatar Jul 09 '24 02:07 jachenms

I solved this same issue by changing book.txt's file property Ecoding to utf-8。 image

acondess avatar Jul 09 '24 08:07 acondess

Amazing. I'm currently working on a fix to make sure everything is stored in utf-8.

Thabks for your updates

AlonsoGuevara avatar Jul 09 '24 23:07 AlonsoGuevara