Open yuxiaoyuan0406 opened 3 years ago
I first report this issue in #1303
Thanks @yuxiaoyuan0406. I can reproduce, and am looking into it. I'll give an update today or tomorrow.
It seems to work if I remove ~/.fiftyone/
. But this is an ugly solution.
Yes, I believe. ~/.fiftyone/var/lib/mongo/mongod.lock
is the exact file that needs to be removed. But it is an ugly solution. Need a little more time with this.
A restart like this is a bit of a race condition because the database service is shutting down and starting up at almost the same time.
removing ~/.fiftyone/ worked for me, Hope this issue will be fixed.
how do u remove this file if you're working with a sagemaker notebook?
removing ~/.fiftyone/var/lib/mongo/mongod.lock did not work for me but removing the ~/.fiftyone/ solved the problem.
seeing this issue very frequenly happen in windows WSL2 + Vscode
seeing this issue very frequenly happen in windows WSL2 + Vscode
Me too :(
This issue can be circumvented if you configure your own MongoDB connection. Documentation can be found here.
We would like resolve this at some point, but it is hard to say how much effort it will take to debug the exact cause and provide a robust fix.
@benjaminpkane any updates on this issue? seems like it frequently happens with VSCode, any ways to prevent it?
run ps -eaf | grep mongod
then kill the process (sudo kill
run ps -eaf | grep mongod then kill the process (sudo kill )
Spot on! That solved the problem for me
Remove ~/.fiftyone/ will result in error 14, kill mongod process works for me.
any update?
Any update here pls
System information
fiftyone --version
): 0.13.3Commands to reproduce
When I debug this code.
Using
launch.json
file for vscode.Describe the problem
I was testing the code above using the
launch.json
file in vscode. The first run was successful. But still gave something.When the session was running, I changed the value of
max_samples
to50000
. And I hit the restart button on the debug bar. Then the program gave this.After this, every
import fiftyone
would give a error 100.Code to reproduce issue
See above.
Other info / logs
log file
/home/dennis/.fiftyone/var/lib/mongo/log/mongo.log.2021-10-13T07-37-01
What areas of FiftyOne does this bug affect?
App
: FiftyOne application issueCore
: Corefiftyone
Python library issueServer
: Fiftyone server issueWillingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?