Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

failed to open stream: phar error: internal corruption of phar #193

Copy link
Copy link
Open
@ghost

Description

After building, I am able to run my commandline application oncer, then on all subsequent commands I get an error about a filesize mismatch indicating that the PHAR is corrupted.



                Building process


   1. Moving application to production mode: ✔
   2. Compile into a single file: ✔

    Compiled successfully: /mnt/c/Users/makoto/Code/invision-dev-helper/builds/invision dev helper
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$ cp builds/invision\ dev\ helper builds/invision\ dev\ helper\ bkp
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$ ./builds/invision\ dev\ helper

  Invision dev helper  unreleased

  USAGE: invision dev helper <command> [options] [arguments]

  apps  View and manage installed IPS applications
  proxy (Re)generates all proxy classes for the application
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$ ./builds/invision\ dev\ helper
PHP Warning:  require(phar://box-auto-generated-alias-fedd654f3136.phar/.box/bin/check-requirements.php): failed to open stream: phar error: internal corruption of phar "/mnt/c/Users/makoto/Code/invision-dev-helper/builds/invision dev helper" (actual filesize mismatch on file ".box/bin/check-requirements.php") in /mnt/c/Users/makoto/Code/invision-dev-helper/builds/invision dev helper on line 12
PHP Fatal error:  require(): Failed opening required 'phar://box-auto-generated-alias-fedd654f3136.phar/.box/bin/check-requirements.php' (include_path='.:/usr/share/php') in /mnt/c/Users/makoto/Code/invision-dev-helper/builds/invision dev helper on line 12
makoto@DESKTOP-makotoH:/mnt/c/Users/makoto/Code/invision-dev-helper$

Public repository:
https://dev.taiga.sh/ips/invision-dev-helper

Builds before and after first run:
https://www.dropbox.com/s/aplqzqf88mhwaor/builds.zip?dl=0

(idh is after a fresh build, idh-bkp is after the first execution, where it therein fails further calls)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.