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

Check failed: status.ok() Failed to open leveldb IO error: /LOCK: Permission denied #17

Open
TaihuLight opened this issue Mar 13, 2017 · 5 comments

Comments

@TaihuLight
Copy link

When run make runtest, the error as follow and the program stopped.
[----------] 1 test from LayerFactoryTest/1, where TypeParam = caffe::CPUDevice
[ RUN ] LayerFactoryTest/1.TestCreateLayer
F0313 23:35:42.028887 9699 db_leveldb.cpp:16] Check failed: status.ok() Failed to open leveldb
IO error: /LOCK: Permission denied
*** Check failure stack trace: ***
@ 0x7f636c8ce5cd google::LogMessage::Fail()
@ 0x7f636c8d0433 google::LogMessage::SendToLog()
@ 0x7f636c8ce15b google::LogMessage::Flush()
@ 0x7f636c8d0e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f636a402be3 caffe::db::LevelDB::Open()
@ 0x7f636a478466 caffe::DataReader::Body::InternalThreadEntry()
@ 0x7f636a444ac5 caffe::InternalThread::entry()
@ 0x7f636ad465d5 (unknown)
@ 0x7f6369b0a6ba start_thread
@ 0x7f636984082d clone
@ (nil) (unknown)
Makefile:523: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)
How can I do for run successfully? Thank you!

@shiyuangogogo
Copy link

Hi. Have you address this problem? If you have done, could you tell me?

@Harick1
Copy link
Owner

Harick1 commented Apr 11, 2017

Actually, I think it's not necessary to run "make runtest". If you have no errors when running "make all", then you can use this repository correctly.

@mpjlu
Copy link

mpjlu commented Apr 26, 2018

Fix this by change: src/caffe/test/test_layer_factory.cpp:line 33
if (iter->first == "Data") {
to
if(iter->first == "Data" || iter->first == "BoxData")

@shresthamalik
Copy link

@mpjlu This worked , Thank you

@shresthamalik
Copy link

This worked, thanks! :)

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

5 participants