You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Git Context provider with Git URL parameter set to local folder as file://C:\repos\myproject
Initial indexing job finished with success. Manual job execution via Run button in ui also goes well.
But sheduled indexing jobs that executes every hour - all failing with same error.
[INFO]: Building source code index: file:///C:/repos/myproject
[WARN]: Failed to refresh code index: Directory /C:/repos/myproject does not exist
[INFO]: Job failed Directory /C:/repos/myproject does not exist
I think there's some kind of windows\unix path conflict...
The error appears in this file crates/tabby-index/src/code/repository.rs at line 86.
But since initial and manual runs goes well I think there are error in sheduling module or somewhere else that handles repo path as unix path starts with /.
I'm not a rust dev and don't have much free time to dive into your codebase so I hope you'll be able to fix this issue.
In my opinion for linux file path should be file:///home/repos/myproject or so and for windows it should be file://C:/repos/myproject or file://C:\repos\myproject without / after file://
I also tried to init git context provider using next strings as Git URL
file://C:\repos\myproject
file://C:\\repos\\myproject
file://C:/repos/myproject
And I remember correctly(I did it like a week ago) all worked with manual runs but / transorms into \\ and \\ transofms into \\\\ in tabby logs while \ transforms into / ...
The text was updated successfully, but these errors were encountered:
Bug description
I'm using
Git
Context provider withGit URL
parameter set to local folder asfile://C:\repos\myproject
Initial indexing job finished with success. Manual job execution via Run button in ui also goes well.
But sheduled indexing jobs that executes every hour - all failing with same error.
Info about my tabby version and setup
Tabby:
tabby 0.26.0
tabby_x86_x64-windows-msvc-cuda124.zip
GPU:
NVIDEA GeForce RTX 4050 Laptop GPU
566.26
12.7
OS:
Windows 10 Enterprise LTSC
21H2
19044.5608
Additional context
I think there's some kind of windows\unix path conflict...
The error appears in this file
crates/tabby-index/src/code/repository.rs
at line 86.But since initial and manual runs goes well I think there are error in sheduling module or somewhere else that handles repo path as unix path starts with
/
.I'm not a rust dev and don't have much free time to dive into your codebase so I hope you'll be able to fix this issue.
In my opinion for linux file path should be
file:///home/repos/myproject
or so and for windows it should befile://C:/repos/myproject
orfile://C:\repos\myproject
without/
afterfile://
I also tried to init git context provider using next strings as
Git URL
file://C:\repos\myproject
file://C:\\repos\\myproject
file://C:/repos/myproject
And I remember correctly(I did it like a week ago) all worked with manual runs but
/
transorms into\\
and\\
transofms into\\\\
in tabby logs while\
transforms into/
...The text was updated successfully, but these errors were encountered: