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

Error in scavenger hunt node when uploading proofs #6

Open
dekent opened this issue Aug 4, 2021 · 5 comments
Open

Error in scavenger hunt node when uploading proofs #6

dekent opened this issue Aug 4, 2021 · 5 comments

Comments

@dekent
Copy link

dekent commented Aug 4, 2021

We're running into an issue (which may come from improper configuration) when using the scavenger hunt node to upload proofs. Our node is able to connect to the send proof service, but when sending a service request it gives a "Could not find file" error. I've verified that the directory exists, set by the scratch_path parameter, but there are no files written to this directory.

What are the requirements for configuring the scratch_path directory?

Additionally the send proof service returns true under this behavior, which also made it difficult for our control node to get appropriate feedback for whether a proof was successfully submitted.

@maxsvetlik
Copy link
Member

What have you set the scratch_path to? Does it have a leading slash? That could be an issue.

@dekent
Copy link
Author

dekent commented Aug 4, 2021

~/scavenger_hunt_logs. It could be that the ~ is not resolving to the home directory?

@maxsvetlik
Copy link
Member

Its possible. You can try a fully qualified path instead. Another thing to check out be the permissions on scavenger_hunt_logs.

And also, does the same issue happen if the scratch_path is left as its default value of ~ ?

@dekent
Copy link
Author

dekent commented Aug 4, 2021

Good question. I'll test both and get back to you.

@dekent
Copy link
Author

dekent commented Aug 9, 2021

It fails for the default ~ and for anything beginning with ~, but works with a fully qualified path.

I created a pull request (#9) that sets the default scratch path to a directory logs within this package, which works for me locally, if you'd like to use it.

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

No branches or pull requests

2 participants