-
Notifications
You must be signed in to change notification settings - Fork 166
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
bug: no such file or directory #869
Comments
So the issue itself can be easily fixed by not failing if the directory exists but the db file is not in there. Then you just create it. The question is: should we do something more clever when finding an old iroh dir, like refusing to start? |
Tbh we're so early in establishing "our dir" that going the simplest, least friction route is probably best as we will probably change stuff around in the near term. |
After some manual scrubbing, seems like this will be a hard requirement for netsim. |
Yeah, don't have a real clue on why it keeps happening. I used to encounter it a lot on CI. Nowadays I just delete the persisted folder and move on. It seems to come from unexpected starts/stops of iroh and it's persistence procedures. It's been like this since the first PR for it. @rklaehn lmk how/if I can add anything that helps debugging this. |
@Arqu is this still happening with the new new persistence? |
Afaik, it's good now been a while since we dropped that nuke dir line from netsim. I still have to get to implementing proper use of IROH_DATA_DIR, but other than that haven't seen any issues recently. |
@Arqu, think we can close this now? |
Yes! Done in n0-computer/chuck#30 |
Since the merge of the persistence PR I've been consistently getting
Error: No such file or directory (os error 2)
and just terminating the app locally and on the CI (netsim) runners.Error/Trace
The text was updated successfully, but these errors were encountered: