Muirfield / pmimporter

PocketMine-MP map importer
27 stars 11 forks source link

Im getting an error #8

Open jonkootje opened 8 years ago

jonkootje commented 8 years ago

Im getting the following error when im trying to import a world using the phar plugin Please tell me what im doing wrong, or please fix this bug.

`"C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\bin\php\php.exe" "C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar" "convert" "-c" "C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\ImportMap/rules.txt" "-f" "mcregion" "C:\Users\Sander\Desktop\serverworld/" "C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\worlds/serverworld/"

Notice: Constant BL_BROWN_MUSHROOM already defined in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/Blocks.php on line 46

Call Stack: 0.0005 127672 1. {main}() C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:0 0.0032 146424 2. include('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php') C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:1 0.0036 147312 3. require_once('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/autoload.php') phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php:34 0.0047 150752 4. pmimporter\Blocks::__init() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/autoload.php:47 0.0163 192912 5. define() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/Blocks.php:46

Notice: Constant BL_RED_MUSHROOM already defined in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/Blocks.php on line 46

Call Stack: 0.0005 127672 1. {main}() C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:0 0.0032 146424 2. include('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php') C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:1 0.0036 147312 3. require_once('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/autoload.php') phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php:34 0.0047 150752 4. pmimporter\Blocks::__init() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/autoload.php:47 0.0170 193008 5. define() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/Blocks.php:46

Warning: zlib_decode(): data error in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pocketmine/nbt/NBT.php on line 114

Call Stack: 0.0005 127672 1. {main}() C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:0 0.0032 146424 2. include('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php') C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:1 0.0336 211456 3. require_once('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php') phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php:37 0.0440 243056 4. pmimporter\generic\BaseFormat->__construct() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php:74 0.0479 253672 5. pocketmine\nbt\NBT->readCompressed() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/generic/BaseFormat.php:26 0.0479 253736 6. zlib_decode() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pocketmine/nbt/NBT.php:114

Notice: Undefined property: pocketmine\nbt\tag\End::$Data in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/generic/BaseFormat.php on line 28

Call Stack: 0.0005 127672 1. {main}() C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:0 0.0032 146424 2. include('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php') C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:1 0.0336 211456 3. require_once('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php') phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php:37 0.0440 243056 4. pmimporter\generic\BaseFormat->__construct() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php:74

Fatal error: Uncaught exception 'pmimporter\ImporterException' with message ' in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/generic/BaseFormat.php on line 31

pmimporter\ImporterException: Invalid level.dat in phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/classlib/pmimporter/generic/BaseFormat.php on line 31

Call Stack: 0.0005 127672 1. {main}() C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:0 0.0032 146424 2. include('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php') C:\Users\Sander\Desktop\tmpserver\PocketMine-MP\plugins\pmimporter.phar:1 0.0336 211456 3. require_once('phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php') phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/main.php:37 0.0440 243056 4. pmimporter\generic\BaseFormat->__construct() phar://C:/Users/Sander/Desktop/tmpserver/PocketMine-MP/plugins/pmimporter.phar/scripts/convert.php:74 `

fauzannet commented 7 years ago

Back to Real Post