Skip to content

"NotFound" Error #3

Open
Open

Description

@qinxiao1990

Hello, thanks for making this tool! I've manage to install it but got the following error message when running:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Could you please help me out? Thanks!

Activity

  1. GeorgeHahn commented on Oct 31, 2023

    @GeorgeHahn
    Owner

    Hey @qinxiao1990! Could you share the full output? That will give me a better idea of where it's crashing.

    To confirm, did you set the readwise token and install percollate? What happens when you run the percollate command?

  2. egegunes commented on Nov 1, 2023

    @egegunes

    the problem is it tries to percollate using percollate.cmd command: https://github.com/GeorgeHahn/readwise-epub/blob/main/src/main.rs#L217

    Official Percollate installation instructions don't create the executable with .cmd prefix. I fixed it using sudo ln -s /usr/bin/percollate /usr/bin/percollate.cmd but this should be fixed in the code.

  3. GeorgeHahn commented on Nov 1, 2023

    @GeorgeHahn
    Owner

    Thanks, that's helpful. This is a difference between npm on Windows and elsewhere. That should be an easy fix.

  4. qinxiao1990 commented on Nov 1, 2023

    @qinxiao1990
    Author

    Thanks @egegunes and @GeorgeHahn! I installed percollate through homebrew so ln -s /opt/homebrew/bin/percollate /opt/homebrew/bin/percollate.cmd solved the problem.

  5. beesinblenders commented on Dec 14, 2023

    @beesinblenders

    I met the same problem and solved it by replacing percollate.cmd with percollate in main.rs.
    Thank you @GeorgeHahn, this is a fine project!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions