Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add better message when bin_dir is not writeable #9

Open
gauthierm opened this Issue · 1 comment

2 participants

@gauthierm

Currently if a package needs to use the bin_dir and it is not writeable pyrus fails with a cryptic message.

The message should be made better and should contain the command to set the bin dir.

@demonkoryu

Yeah. The error probably is this:

Pyrus\Installer\Exception: Installation failed
Pyrus\AtomicFileTransaction\MultiException: Unable to begin transaction
Pyrus\AtomicFileTransaction\RuntimeException: Cannot begin - a backup directory still exists
Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction

and it's fixed by e.g.

php pyrus.phar . set bin_dir ./bin

But nothing in the error message tells you this. It's quite a time waster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.