Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Bloop compiled on Windows can't access file on repo #1279

Description

@wenwade

Describe the bug
I built Bloop on Windows 10. It can't read files on repo. It will notice "File not indexed
This might be because the file is too big or it has one of bloop's excluded file types.".

Expected behavior
I can read file on repo

To Reproduce

  1. build bloop on Windows10. Arch is x86_64.
  2. run Bloop on local
  3. New a project
  4. Add a local repo
  5. Click files on repo.

Screenshots or output
image

Additional context
Bloop release version can run.

Activity

  1. Seumi commented on Jun 20, 2024

    @Seumi

    which rust version do you use

  2. wenwade commented on Jun 21, 2024

    @wenwade
    Author

    which rust version do you use
    rustc 1.79.0 (129f3b996 2024-06-10)

  3. watreyoung commented on Aug 5, 2024

    @watreyoung

    I met the same issue.
    rustc 1.80.0 (051478957 2024-07-21)

  4. watreyoung commented on Aug 5, 2024

    @watreyoung

    1.70.0 and 1.75.0 cannot work, too.

  5. ForSeason commented on Aug 8, 2024

    @ForSeason

    1.80.0 also meet same issue
    I just found that i cannot retrieve file by calling by_path[src/indexes/file.rs] with args that query[src/query/execute.rs] returns. But it works on macos.
    That's confusing. Hope it is not the matter of tantivy...

  6. watreyoung commented on Aug 8, 2024

    @watreyoung

    I looked up the source code and suspected that there is an issue in the process of fetching or storing the file path (especially for relative path) in tantivy.

    For Windows, you might get UNC paths when using rust (Thanks for an anonymous geek to provide the reference). Such a path may not occur in Unix-like systems, maybe you can try deleting the data folder (cache data) and re-opening the software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions