Closed nickanderson closed 1 year ago
Thanks for creating an issue and sharing stacktrace! I was able to investigate and fix the bug with commit https://github.com/khoj-ai/khoj/commit/e3cd8b415061c5167861c7ca8435b4eb521a712a. Now directories suffixed with .org
etc will just be ignored while indexing instead of throwing error. Any files under such directories can still be indexed with the appropriate glob (e.g /path/to/notes/**/*.org
).
Feel free to reopen this issue if the problem still persists on your end with the latest khoj server
I have some directories in my org files that are suffixed with
.org
. This causes loud errors which I think should not be so loud.Here are two offenders, they are indeed directories. Rather than ERROR, I think at most these should be something like INFO skipped parsing because it is a directory, not a file.