JaxkDev / MCPEToDiscord

ARCHIVED PLUGIN !
Apache License 2.0
7 stars 16 forks source link

Could not load latest phar release #14

Closed teracube closed 6 years ago

teracube commented 6 years ago

Describe the bug Could not load latest phar release

To Reproduce Steps to reproduce the behavior: Install https://poggit.pmmp.io/r/38638/MCPE_DISCORD.phar https://jenkins.pmmp.io/job/PocketMine-MP/1339/artifact/PocketMine-MP.phar Start server

Expected behavior Could not load latest phar release phar has a broken signature

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Pocketmine Version Accurate details run the command '/version'

MCPEToDiscord Version Run '/discord version'

Additional context Add any other context about the problem here.

2018-08-05 [22:29:11] [Server thread/ERROR]: Could not load '/home/myservertest/plugins/MCPE_DISCORD.phar' in folder '/home/myservertest/plugins/': phar "/home/myservertest/plugins/MCPE_DISCORD.phar" has a broken signature
2018-08-05 [22:29:11] [Server thread/CRITICAL]: UnexpectedValueException: "phar "/home/myservertest/plugins/MCPE_DISCORD.phar" has a broken signature" (EXCEPTION) in "src/pocketmine/plugin/PharPluginLoader" at line 60
2018-08-05 [22:29:11] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PharPluginLoader(60): Phar->__construct(string /home/myservertest/plugins/MCPE_DISCORD.phar)
2018-08-05 [22:29:11] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(255): pocketmine\plugin\PharPluginLoader->getPluginDescription(string /home/myservertest/plugins/MCPE_DISCORD.phar)
2018-08-05 [22:29:11] [Server thread/DEBUG]: #2 src/pocketmine/Server(1648): pocketmine\plugin\PluginManager->loadPlugins(string /home/myservertest/plugins/)
2018-08-05 [22:29:11] [Server thread/DEBUG]: #3 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myservertest/, string /home/myservertest/plugins/)
2018-08-05 [22:29:11] [Server thread/DEBUG]: #4 /home/myservertest/PocketMine-MP.phar(1): require(string phar:///home/myservertest/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
JaxkDev commented 6 years ago

Hi there, I see you’ve downloaded the latest phar from poggit and so I’ve gone ahead and tested that release on my side all is good, i then got in contact with dktapps (maintainer of pocketmine) and he says it’s because it’s a corrupt file. To fix this simply re download it and all should be good ! Please get back to me if this worked or didn’t.

teracube commented 6 years ago

@jackthehack21 you're right it worked on the third try thanks

JaxkDev commented 6 years ago

No problem, any other issues just get back in touch !