Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PharException: unable to write contents of file #3

Closed
fuyutsuki opened this issue Aug 13, 2019 · 5 comments
Closed

PharException: unable to write contents of file #3

fuyutsuki opened this issue Aug 13, 2019 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@fuyutsuki
Copy link

fuyutsuki commented Aug 13, 2019

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
Copy link
Member

Ifera commented Oct 10, 2019

Have you tried using the latest dev builds?

@fuyutsuki
Copy link
Author

fuyutsuki commented Oct 11, 2019

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

@Ifera
Copy link
Member

Ifera commented Oct 11, 2019

@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.

@Ifera Ifera added Status: Debugged duplicate This issue or pull request already exists and removed Status: Debugged labels Oct 11, 2019
@fuyutsuki
Copy link
Author

  • Fixed on latest dev build
  • 100% reproduce this on latest release
  • Win10 (x64) Home 1903

@Ifera
Copy link
Member

Ifera commented Oct 11, 2019

Alright thanks for confirming 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants