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

rebuild when python interpreter is broken #24

Open
ctheune opened this issue May 28, 2021 · 0 comments
Open

rebuild when python interpreter is broken #24

ctheune opened this issue May 28, 2021 · 0 comments

Comments

@ctheune
Copy link
Contributor

ctheune commented May 28, 2021

I accidentally rsynced an .appenv directory from Mac to Linux and appenv didn't automatically recover from that:

subprocess.CalledProcessError: Command '['./.appenv/unclean/bin/python -m pip install -r requirements.txt --upgrade']' returned non-zero exit status 126.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./batou", line 444, in <module>
    main()
  File "./batou", line 438, in main
    appenv.run(application_name, sys.argv[1:])
  File "./batou", line 234, in run
    self._prepare()
  File "./batou", line 253, in _prepare
    cmd('{env_dir}/bin/python -m pip install -r requirements.txt --upgrade'
  File "./batou", line 43, in cmd
    raise ValueError(e.output.decode("ascii"))
ValueError: /nix/store/9ywr69qi622lrmx5nn88gk8jpmihy0dz-bash-4.4-p23/bin/sh: ./.appenv/unclean/bin/python: cannot execute binary file: Exec format error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant