Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

[BlocksConverter] ErrorException: Undefined index: color #7

Closed
ver24436 opened this issue Sep 28, 2019 · 3 comments
Closed

[BlocksConverter] ErrorException: Undefined index: color #7

ver24436 opened this issue Sep 28, 2019 · 3 comments
Labels

Comments

@ver24436
Copy link

Issue description

  • Expected Result: World to successfully be converted.

  • Actual result: Process is Aborted with the error [BlocksConverter] ErrorException: Undefined index: color

Steps to reproduce the issue

  1. Start the server
  2. Once loaded type cq add spawn and wait for World "spawn" has been added in queue.
  3. type /convert queue - process starts converting until it's aborted with an error

OS and versions

  • PocketMine-MP: 3.9.4(v1.12.0) (protocol version 361)
  • PHP: 7.3
  • Server OS: Window 10 Pro (Build 18362.10022)
  • Game version: Win10 1.12.1

Plugins

BlocksConverter v2.0.0

Error Message in Console

[23:36:11] [Server thread/CRITICAL]: [BlocksConverter] ErrorException: Undefined index: color in phar://D:/Users/jcgau/Desktop/PMMP/plugins/BlocksConverter.phar/src/matcracker/BlocksConverter/world/WorldManager.php:142 Stack trace: #0 phar://D:/Users/jcgau/Desktop/PMMP/plugins/BlocksConverter.phar/src/matcracker/BlocksConverter/world/WorldManager.php(142): pocketmine\utils\Utils::errorExceptionHandler(8, 'Undefined index...', 'phar://D:/Users...', 142, Array) #1 phar://D:/Users/jcgau/Desktop/PMMP/plugins/BlocksConverter.phar/src/matcracker/BlocksConverter/commands/Convert.php(56): matcracker\BlocksConverter\world\WorldManager->startConversion() #2 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/command/SimpleCommandMap.php(270): matcracker\BlocksConverter\commands\Convert->execute(Object(pocketmine\command\ConsoleCommandSender), 'convert', Array) #3 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/Server.php(2029): pocketmine\command\SimpleCommandMap->dispatch(Object(pocketmine\command\ConsoleCommandSender), 'convert queue') #4 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/Server.php(1616): pocketmine\Server->dispatchCommand(Object(pocketmine\command\ConsoleCommandSender), 'convert queue') #5 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/vendor/pocketmine/snooze/src/SleeperHandler.php(123): pocketmine\Server->pocketmine\{closure}() #6 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/vendor/pocketmine/snooze/src/SleeperHandler.php(85): pocketmine\snooze\SleeperHandler->processNotifications() #7 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/Server.php(2348): pocketmine\snooze\SleeperHandler->sleepUntil(1569652552.2456) #8 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/Server.php(2205): pocketmine\Server->tickProcessor() #9 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/Server.php(1784): pocketmine\Server->start() #10 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/PocketMine.php(275): pocketmine\Server->__construct(Object(BaseClassLoader), Object(pocketmine\utils\MainLogger), 'D:\\Users\\jcgau\\...', 'D:\\Users\\jcgau\\...') #11 phar://D:/Users/jcgau/Desktop/PMMP/PocketMine-MP.phar/src/pocketmine/PocketMine.php(299): pocketmine\server() #12 D:\Users\jcgau\Desktop\PMMP\PocketMine-MP.phar(1): require('phar://D:/Users...') #13 {main} [23:36:11] [Server thread/DEBUG]: [BlocksConverter] Conversion finished! Printing full report... [23:36:11] [Server thread/INFO]: [BlocksConverter] --- Conversion Report --- Status: Aborted World name: spawn Execution time: 19.2 second(s) Analyzed chunks: 1173 Analyzed sub-chunks: 41758 Blocks converted: 3419 Signs converted: 1 ----------

@matcracker matcracker added the bug label Sep 28, 2019
@matcracker
Copy link
Owner

Is there any problem if you give me the world? I want to see the sign text format.

@ver24436
Copy link
Author

ver24436 commented Sep 28, 2019

Is there any problem if you give me the world? I want to see the sign text format.

My license does not allow me to redistribute copies. Is there a way I can extract the info for you?

Hmm deleted the sign and conversion works perfectly now... thanks

@matcracker
Copy link
Owner

Ok, no problem, I'll fix it anyway. I was just curious to see the sign array data.

@logannn61 logannn61 mentioned this issue May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants