-
Notifications
You must be signed in to change notification settings - Fork 430
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
grip with virtualenv #180
Comments
@Katsuya-Tomioka
Also, when you say
Do you mean to say that using the command generates an HTML file that appears to be incorrectly formatted for you, or that an HTML file is not generated at all, or that the command simply makes your computer hang, etc. I'm running on osx 10.11.5 with the latest grip installed and working in two separate virtualenvs via homebrew's pyenv with the pyenv-virtualenv plugin. Grip appears to be working in both 2.7.11 and 3.5.1 for me, so it may be a possible issue during your installation? |
No html is written at all. I can't kill it with ctrl-c either. Looking at I'm osx 10.11.5, and python 2.7.9. centos6 and python 2.6.6 has the same issue. On Sun, Jun 26, 2016 at 4:20 AM, Jason notifications@github.com wrote:
|
So I'm testing the two python versions you listed, both 2.7.9 and 2.6.6. Replication Steps# Installs testing envs
pyenv install 2.7.9
pyenv install 2.6.6
pyenv virtualenv 2.7.9 grip-test-2.7.9
pyenv virtualenv 2.6.6 grip-test-2.6.6
## Tests (we use the grip README.md for testing)
wget https://raw.githubusercontent.com/yyuu/pyenv-virtualenv/master/README.md -O test.md
pyenv global grip-test-2.7.9
pip install grip
grip test.md
pyenv global grip-test-2.6.6
pip install grip
grip test.md ResultsBoth envs worked perfectly fine, and the result could be seen at http://localhost:6419/. Since fresh clean installs appear to be working, I'd just recommend cleaning your system, and re-installing the envs and grip again. If you don't want to do that, and prefer to just debug the current issues, can you paste which dependencies you have installed? You can do that with a Working grip depencies2.7.9
2.6.6
|
Looks like I have the same dependencies. Does "--export" work in your test? |
Hmm looks like there's an issue with the Reproduction stepswget https://raw.githubusercontent.com/yyuu/pyenv-virtualenv/master/README.md -O test.md
# Tests virtualenvs 2.6.6, 2.7.9, 2.7.11, 3.5.1
pyenv global grip-test-2.6.6
grip --export test.md
pyenv global grip-test-2.7.9
grip --export test.md
pyenv global grip-test-3.5.1
grip --export test.md
pyenv global grip-test-2.7.11
grip --export test.md
# Tests full python versions
pyenv global 2.7.11
grip --export test.md
pyenv global 3.5.1
grip --export test.md Results# For all versions running the --export command
Exporting to test.html
# Blank line and a deadlock In all cases, just using I'd recommend just using the normal |
Fixed with #184. Thanks for getting the conversation going, @Katsuya-Tomioka, and for digging much deeper, @JasonYao! I'll create a new release with the fix shortly. |
Master works great. (python 2.7.9 on mac 10.11.5 and python 2.6.6 on centos6) Thanks for your help. |
v4.3.0 was just published. Run Thanks for being patient in the meantime 😃 |
I'm trying to use grip with virtualenv on Mac and Linux with python 2.7. In both cases, grip seems to get stuck somehow. Command line "grip --export" or API (grip.main) doesn't seem to make any difference. Any suggestion?
The text was updated successfully, but these errors were encountered: