ifera-mc / VirionTools

A handy plugin for developers who wish to compile and inject virions without using Poggit.
GNU General Public License v3.0
18 stars 4 forks source link

PharException: unable to write contents of file #3

Closed fuyutsuki closed 5 years ago

fuyutsuki commented 5 years ago

Maybe related #2 ...?

Actual log:

iv libasynql EnderChestEverywhere_v0.2.0
[10:27:32] [Server thread/INFO]: [VirionTools] Initiating virion injection process
[10:27:32] [Server thread/INFO]: [VirionTools] Using antibody net\ddns\bearserver\enderchesteverywhere\libs\poggit\libasynql for virion libasynql (poggit\libasynql)
[10:27:33] [Server thread/CRITICAL]: PharException: "unable to write contents of file "src/poggit/libasynql/generic/GenericVariable.php" to new phar "D:/Repository/pmmp_dev/plugin_data/VirionTools/builds/libasynql.phar"" (EXCEPTION) in "plugins/VirionTools.phar/src/JackMD/VirionTools/utils/VirionInjectScript" at line 172
[10:27:33] [Server thread/DEBUG]: #0 plugins/VirionTools.phar/src/JackMD/VirionTools/utils/VirionInjectScript(172): Phar->stopBuffering()
[10:27:33] [Server thread/DEBUG]: #1 plugins/VirionTools.phar/src/JackMD/VirionTools/commands/InjectVirionCommand(115): JackMD\VirionTools\utils\VirionInjectScript::virion_infect(object pocketmine\command\ConsoleCommandSender, string[14] libasynql.phar, object Phar, string[32] EnderChestEverywhere_v0.2.0.phar, object Phar)
[10:27:33] [Server thread/DEBUG]: #2 src/pocketmine/command/SimpleCommandMap(270): JackMD\VirionTools\commands\InjectVirionCommand->execute(object pocketmine\command\ConsoleCommandSender, string[2] iv, array[2])
[10:27:33] [Server thread/DEBUG]: #3 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[40] iv libasynql EnderChestEverywhere_v0.2.0)
[10:27:33] [Server thread/DEBUG]: #4 src/pocketmine/Server(1616): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[40] iv libasynql EnderChestEverywhere_v0.2.0)
[10:27:33] [Server thread/DEBUG]: #5 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
[10:27:33] [Server thread/DEBUG]: #6 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[10:27:33] [Server thread/DEBUG]: #7 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1565657852.2327)
[10:27:33] [Server thread/DEBUG]: #8 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[10:27:33] [Server thread/DEBUG]: #9 src/pocketmine/Server(1784): pocketmine\Server->start()
[10:27:33] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[23] D:\Repository\pmmp_dev\, string[31] D:\Repository\pmmp_dev\plugins\)
[10:27:33] [Server thread/DEBUG]: #11 src/pocketmine/PocketMine(299): pocketmine\server()
[10:27:33] [Server thread/DEBUG]: #12 (1): require(string[78] phar://D:/Repository/pmmp_dev/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

crash archive

Ifera commented 5 years ago

Have you tried using the latest dev builds?

fuyutsuki commented 5 years ago

Yes, I tried 86503c457e94a32c486628ce7e057aa73bf63990 (latest dev build) I'm sorry looks like I was using a release build (v3.2.0)

Ifera commented 5 years ago

@fuyutsuki can you confirm that the issue is fixed in the latest dev build and before this how many times were you able to reproduce this issue? Occasionally or did it happen all the time. Also please do mention the OS you are using. Thanks.

fuyutsuki commented 5 years ago
Ifera commented 5 years ago

Alright thanks for confirming 😍