-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: No such file or directory (os error 2) #147
Comments
Huh, it looks like the engine is not statically included inside the tinysearch binary. Maybe I broke something during the last release... 🤔 |
Any updates on this? |
@blackary did you run into the same issues? Any additional output you could provide to narrow this down a little? Sorry for the late response. |
@mre Nothing much to add -- I used my own index.js, and got pretty much the same response:
|
@mre I saw same error messages when installing the cargo. When building from source, I see error message |
Same issue here. |
Bump:
tinysearch from master git log -1
wasm-pack 0.10.1 |
Oh! Sorry, I forgot to release 0.6.3 with the patch. Apologies. |
0.6.3 is not working for me:
Is it possible that the cargo publish release is missing this binary data? Line 7 in 4343d55
I don't see any of Line 48 in d58e8ff
Edit: I forgot to specify that I used |
Could be, yeah. Reading through the source code of At least the pre-built binary seems to work for my blog: Same for 0.6.3 installed with Can you try one of the pre-built binaries for comparison? |
This is where it fails for you: Lines 93 to 102 in 18b0dc5
It tries to unpack the engine code and if that directory doesn't exist after that, it means there was an error. So I wonder what's above
in your output. This is where it unpacks the engine code and prints the path. |
@mre thanks for taking a look.
It's just:
Local.
The temp directory doesn't exist, but /tmp/ is writeable:
The weird thing for me is still that there are none of these: Line 48 in d58e8ff
|
I'm running into the same issue locally:
I've tried downloading the source and building tinysearch locally (both debug and release mode) and both the locally built versions seemed to run successfully. Only when using the cargo installed version of tinysearch do I get the error above. |
I created a pull request here: #154. |
I just tested from a fresh install today, no issues. |
Can you try again using |
see here: #151 (comment) |
This is resolved now. The reason why it broke was a limitation by cargo: it does not allow including one crate inside another one. This is done to avoid unwanted complexity and is a sane default. In our case, however, it leads to the situation that the engine crate was missing from the tinysearch crate on crates.io. The latest tinysearch 0.8.2 fixes this issue. Apologies for the long delay to produce a fix. |
OS: ArchLinux
Tinysearch version: Tried 0.6.2 and 0.6.0
What I did
All of them gave the following output
Kindly advice as to what other info would be useful
The text was updated successfully, but these errors were encountered: