caffe-yolo icon indicating copy to clipboard operation
caffe-yolo copied to clipboard

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

Open TaihuLight opened this issue 7 years ago • 5 comments

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!

TaihuLight avatar Mar 13 '17 16:03 TaihuLight

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

shiyuangogogo avatar Apr 11 '17 02:04 shiyuangogogo

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.

Harick1 avatar Apr 11 '17 08:04 Harick1

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")

mpjlu avatar Apr 26 '18 04:04 mpjlu

@mpjlu This worked , Thank you

shresthamalik avatar May 01 '18 01:05 shresthamalik

This worked, thanks! :)

shresthamalik avatar May 01 '18 01:05 shresthamalik