Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

restore broken installation

Mario Frasca edited this page Jun 8, 2015 · 1 revision

this is a description of something that happened today, and that I'm sure will happen again:

the computer just went down while it was doing a git pull. right: I was updating bauble and the power went off. result: a corrupt repository.

switch the computer back on, try again, git says this was not a valid repository.

in case it happens again, what is that you need do?
maybe not all of the following are necessary, but this looks to me as the most simple approach:
remove everything as if you wanted to uninstall bauble, repeat the installation.

  1. remove the cloned repository,
  2. remove the virtual environment,
  3. download the installation script for your platform,
  4. run the installation script.

starting from your $HOME directory (on Windows: %HOMEDRIVE%%HOMEPATH%),

the cloned repository is in Local/github/Bauble/bauble.classic.
remove the whole directory.

the virtual environment is in .virtualenvs/bacl.
remove the whole directory, too.

  • the windows installation script:
    https://raw.githubusercontent.com/Bauble/bauble.classic/master/scripts/devinstall.bat
  • the unix (Linux/MacOSX) installation script:
    https://raw.githubusercontent.com/Bauble/bauble.classic/master/scripts/devinstall.sh

you better run it after downloading from the repository than save and run a previously saved possibly oldish version.

Clone this wiki locally