-
Notifications
You must be signed in to change notification settings - Fork 1
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
404 error in report-staged channel #1
Comments
4e6e865 |
As for the other part of the issue: "curl: (22) The requested URL returned error: 404 Not Found" This happens because Ada collects file info for the file, but it doesn't exist anymore. Our options:
|
Hi Onno, Since the error "line 978: [: =: unary operator expected" is fixed I think the 404 error can be ignored. Returning "not found" makes sense for deleted files. |
But you don't see the file name in the error, do you? It would make sense if it included the file name. |
I think we should provide information inside the scope of the channel. If a file is removed, the error "Not found " should be returned and if possible the filename too. If the file is moved to a location outside the scope of the channel then I would say not to display information on the new location. We need to test the behavior when new files are created within the scope of the channel as it would be handy to display their locality for consistency |
Fixed in c52bf90 Example output (while renaming
Leaving issue open for: "We need to test the behavior when new files are created within the scope of the channel as it would be handy to display their locality for consistency". We also may need to check what happens when you rename a subdir. |
For new files there already is an IN_ATTRIB event, so they are listed:
|
For moved/renamed files, I added Renaming a file and renaming it back (nothing else):
|
Listing new location of renamed file: d6e91d2 |
When I delete files in a directory that a report-staged channel is listening, I get this error in the channel:
curl: (22) The requested URL returned error: 404 Not Found ./ada: line 978: [: =: unary operator expected
Could you please check this bug?
The text was updated successfully, but these errors were encountered: