Comments (9)
It's unclear where and when these errors occur.
Also, using the system Python (Jessie comes with a reasonably new version) as shown in the README will likely fix this, too.
from pimp-my-box.
agreed. just wanted to bring it to your attention so that it may be looked at in the default ansible install.
from pimp-my-box.
Which still leaves us with "no clue when and where this occurs".
from pimp-my-box.
No further feedback.
from pimp-my-box.
Hey. I have been looking at this again because it has been annoying me. It seems to be a syntax issue with https://github.com/pyroscope/pimp-my-box/blob/master/roles/pyenv/files/pyenv.sh
i have been trying different things, but I can't get it to stop complaining.
i tried export PYENV_DEBUG=1
and i get the following:
+ [pyenv-sh-activate:90] new_venv=2.7.13/envs/--no-error
+ [pyenv-sh-activate:91] pyenv-virtualenv-prefix 2.7.13/envs/--no-error
+ [pyenv-sh-activate:95] '[' -z '' ']'
+ [pyenv-sh-activate:96] echo 'pyenv-virtualenv: version `--no-error'\'' is not a virtualenv'
pyenv-virtualenv: version `--no-error' is not a virtualenv
+ [pyenv-sh-activate:98] echo false
+ [pyenv-sh-activate:99] exit 1
does that shed any light?
from pimp-my-box.
ok, i've been looking at these logs some more.
++ [pyenv:120] command -v pyenv-sh-activate
+ [pyenv:120] command_path=/home/rtorrent/.local/pyenv/plugins/pyenv-virtualenv/bin/pyenv-sh-activate
+ [pyenv:121] '[' -n /home/rtorrent/.local/pyenv/plugins/pyenv-virtualenv/bin/pyenv-sh-activate ']'
+ [pyenv:123] shift 1
+ [pyenv:124] '[' --no-error = --help ']'
+ [pyenv:131] exec /home/rtorrent/.local/pyenv/plugins/pyenv-virtualenv/bin/pyenv-sh-activate --no-error --verbose
+ [pyenv-sh-activate:17] '[' -z /home/rtorrent/.local/pyenv ']'
+ [pyenv-sh-activate:25] unset FORCE
+ [pyenv-sh-activate:26] unset QUIET
+ [pyenv-sh-activate:28] '[' 2 -gt 0 ']'
+ [pyenv-sh-activate:29] case "$1" in
+ [pyenv-sh-activate:49] break
+ [pyenv-sh-activate:55] no_shell=
+ [pyenv-sh-activate:56] versions=("$@")
+ [pyenv-sh-activate:57] '[' -z --no-error ']'
+ [pyenv-sh-activate:64] '[' -z 1 ']'
+ [pyenv-sh-activate:70] venv=--no-error
+ [pyenv-sh-activate:72] '[' -n '' ']'
+ [pyenv-sh-activate:85] pyenv-virtualenv-prefix --no-error
+ [pyenv-sh-activate:87] OLDIFS='
leads me to https://github.com/pyenv/pyenv-virtualenv/blob/master/bin/pyenv-sh-activate
if i run /home/rtorrent/.local/pyenv/plugins/pyenv-virtualenv/bin/pyenv-sh-activate --no-error --verbose
I get an error line 88: pyenv-version-name: command not found
this file does exist here: ./.local/pyenv/libexec/pyenv-version-name
should libexec be in my $PATH
or is there something missing in the script?
from pimp-my-box.
One possible cause might be that that the file changed in pyenv itself, and doesn't fit anymore.
What shell did you use for those tests?
from pimp-my-box.
using bash shell from rtorrent account.
i have checked with diff that the pyenv-sh-activate and pyenv.sh do match those on github.
pyenv.sh is from august 2015. pyenv-sh-activate has had active development through 2015 and 2016...
from pimp-my-box.
See also #14, which will either uncover this, or show what's missing on your end.
from pimp-my-box.
Related Issues (20)
- error on fresh debian 8 install HOT 2
- Add 'flood' as an optional application
- Update Bintray links to 0.9.6-PS-1.0-94-g5a987ef releases
- Expand CI job to test actual installation
- Move README to Sphinx docs
- curl caused crash using rtorrent-ps from pimp-my-box HOT 2
- common role missing apt cache update task
- ruTorrent: Further RPC hardening
- Add rtxmlrpc / rtdata groups
- Does the log.messages functionality work? HOT 2
- Add test setup against a running docker container
- Change ruTorrent install to git, and add PHP7 support
- Change ffmpeg install to use static stable build
- Support for Ubuntu Bionic HOT 6
- Support for Ubuntu Bionic
- Support for Ubuntu Bionic HOT 1
- ansible box -i hosts -m setup -a "filter=*distribution*" FAILS HOT 2
- Starting rTorrent on Target Error HOT 1
- Error running ansible-playbook HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimp-my-box.