Muirfield / pmimporter

PocketMine-MP map importer
27 stars 11 forks source link

IO error messages on conversion and check #2

Open MCDad opened 8 years ago

MCDad commented 8 years ago

Hi

I'm converting MCPE files (v0.12.2) and I'm getting the following:

---------- using convert ----------

./bin/php5/bin/php pmimporter_v2.0dev1.phar convert ./best ./worlds/best Number of Chunks to Copy: 246 Threads: 4 .... Fatal error: Uncaught exception 'LevelDBException' with message 'IO error: lock ./best//db/LOCK: Resource temporarily unavailable' in phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php:137 Stack trace:

0 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php(137): LevelDB->__construct('./best//db', Array)

1 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/scripts/convert.php(160): pmimporter\leveldb\LevelDB->getChunk(-1, -3, 0)

2 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/scripts/convert.php(181): copyNextChunk()

3 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/main.php(39): require_once('phar:///home/po...')

4 /home/pocketmine/pmimporter_v2.0dev1.phar(1): include('phar:///home/po...')

5 {main}

thrown in phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php on line 137

------- repeated many times ------

----------- using check ----------

./bin/php5/bin/php ./pmimporter_v2.0dev1.phar check ./best FORMAT: LevelDB SEED: 580730 Generator: Presets:
Spawn: 4,128,0

Fatal error: Uncaught exception 'LevelDBException' with message 'IO error: lock ./best/db/LOCK: Resource temporarily unavailable' in phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php:118 Stack trace:

0 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php(118): LevelDB->__construct('./best/db', Array)

1 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/scripts/check.php(53): pmimporter\leveldb\LevelDB->getChunks()

2 phar:///home/pocketmine/pmimporter_v2.0dev1.phar/main.php(39): require_once('phar:///home/po...')

3 /home/pocketmine/pmimporter_v2.0dev1.phar(1): include('phar:///home/po...')

4 {main}

thrown in phar:///home/pocketmine/pmimporter_v2.0dev1.phar/classlib/pmimporter/leveldb/LevelDB.php on line 118

Thrown just the once

Using pmimporter_v2.0dev1 and PHP5.6 on Raspberry Pi2+.

Not sure if its pmimporter or the file format. mcregion format files are appearing in the output folder.

Thanks

alejandroliu commented 8 years ago

I have not gotten this error. Can you share the files you are trying to convert?

MCDad commented 8 years ago

Alex, just sent you a Google drive link to the files. Cheers MCDad On 20 Oct 2015 13:27, "Alex" notifications@github.com wrote:

I have not gotten this error. Can you share the files you are trying to convert?

— Reply to this email directly or view it on GitHub https://github.com/alejandroliu/pmimporter/issues/2#issuecomment-149549913 .

alejandroliu commented 8 years ago

Sorry, I have not received any link.

MCDad commented 8 years ago

Does this work? https://drive.google.com/open?id=0B7EdbKx5c85vOVRnZlEyRy01UzA

MCDad commented 8 years ago

Dooh Button troubles

alejandroliu commented 8 years ago

I am having problems with the synchronisation mechanisms. (I get a deadlock somewhere). For the moment disable threading (--threads=1).

MCDad commented 8 years ago

Thanks will do. But I'm away for a few days. Will try when I get home. Cheers On 26 Oct 2015 4:49 a.m., "Alex" notifications@github.com wrote:

I am having problems with the synchronisation mechanisms. (I get a deadlock somewhere). For the moment disable threading (--threads=1).

— Reply to this email directly or view it on GitHub https://github.com/alejandroliu/pmimporter/issues/2#issuecomment-151065059 .