Skip to content
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

Hashing: [Hasher #1] : Error hashing * : No such file or directory #470

Open
slrslr opened this issue Jun 28, 2024 · 6 comments
Open

Hashing: [Hasher #1] : Error hashing * : No such file or directory #470

slrslr opened this issue Jun 28, 2024 · 6 comments

Comments

@slrslr
Copy link

slrslr commented Jun 28, 2024

I am seeing these popups:

06:00:24
Hashing: [Hasher #1] : Error hashing /a/b/_c d/e f/_g h/i - 1_j_k_1.l.m.mp4: No such file or directory

when I request a refresh of a shared directory. But why it is looking for that file, i assume that the refresh should mean to remove no longer existing files/folders from share and such event can not be considered an error.

Application version AirDC++w 2.12.1-8-gaa1d x86_64
Web UI version 2.12.0

@maksis
Copy link
Member

maksis commented Jun 28, 2024

Is it a file that you have deleted or does the path still exist? How many errors there are?

@slrslr
Copy link
Author

slrslr commented Jun 28, 2024

That file has been deleted by me like one week ago (likely before establishing this AirDC session)...
My AirDC GUI produced 15 of these Hashing: [Hasher #1] : Error hashing filenamehere: No such file or directory
messages today. All are around the time i clicked a refresh button on one of the shared folders. Files are from various directories.

I have found that some of the "no such file" files are a symbolic links to a file which has been relocated to a different subfolder of the directory tree that I have refreshed using AirDC. As I have mentioned, "i assume that the refresh should mean to remove no longer existing files/folders from share and such event can not be considered an error".

When i do second refresh of same shared folder, it again spams errors for the same files.

@maksis
Copy link
Member

maksis commented Jun 28, 2024

So the issue is that there are outdated symbolic links pointing to non-existing files? That sounds like an error to me.

@slrslr
Copy link
Author

slrslr commented Jun 28, 2024

No, you have wrongly read. I have written "some of the", not all. And even if all, then it is not error. I have told you 2 times, that the no longer found file (incl. symlink) should be just removed from share, it is logical. Instead of spamming user screen every time a file is removed/moved/not found.

@maksis
Copy link
Member

maksis commented Jun 28, 2024

And even if all, then it is not error

No, I don't consider symlinks pointing to removed files to be so normal that the errors shouldn't even be reported.

This also has nothing to do with removing deleted files from share, the hashing error indicates that the application tries to add those files in share because there's something on the disk pointing to them.

If there's a generic issue regarding deleted files that doesn't involve broken symlinks, you should use the bug reporting template and include all the requested information, including the steps to reproduce the issue. I can delete files just fine without any errors.

@slrslr
Copy link
Author

slrslr commented Jun 28, 2024

Thank you. Then I think that it is working as expected - symbolic links with missing target spams the screen bothering user instead of considering such link as a non existing file and skipping it with a NOTICE or WARNING without SPAMming the screen.

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

No branches or pull requests

2 participants