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

Error message from .bashrc #28

Closed
toniher opened this issue Apr 2, 2013 · 2 comments
Closed

Error message from .bashrc #28

toniher opened this issue Apr 2, 2013 · 2 comments
Assignees

Comments

@toniher
Copy link

toniher commented Apr 2, 2013

Hi,

I get the following error message (I think from adding in .bashrc)
I followed this: http://stackoverflow.com/questions/12626370/virtualenv-shell-errors
but no result.
No effect setting $VIRTUALENVWRAPPER_HOOK_DIR as .virtualenvs in .bashrc. It is simply ignored.
Any idea?

stevedore.extension error calling 'user_scripts': [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/initialize'
stevedore.extension [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/initialize'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/stevedore-0.8-py2.6.egg/stevedore/extension.py", line 126, in _invoke_one_plugin
response_callback(func(e, _args, *_kwds))
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/hook_loader.py", line 182, in invoke
ext.plugin(args)
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/user_scripts.py", line 143, in initialize
make_hook(get_path('$VIRTUALENVWRAPPER_HOOK_DIR', filename), comment)
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/user_scripts.py", line 124, in make_hook
f = open(filename, 'w')
IOError: [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/initialize'
stevedore.extension error calling 'project': [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/premkproject'
stevedore.extension [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/premkproject'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/stevedore-0.8-py2.6.egg/stevedore/extension.py", line 126, in _invoke_one_plugin
response_callback(func(e, _args, *_kwds))
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/hook_loader.py", line 182, in invoke
ext.plugin(args)
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/project.py", line 36, in initialize
comment)
File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper-3.7-py2.6.egg/virtualenvwrapper/user_scripts.py", line 124, in make_hook
f = open(filename, 'w')
IOError: [Errno 2] No such file or directory: '/home/toniher/$VIRTUALENVWRAPPER_HOOK_DIR/premkproject'

@saghul
Copy link
Owner

saghul commented Apr 2, 2013

What are you trying to do? Install pythonz or just run a virtualenv which one of the installed versions? Can you please put together the list of steps required to reproduce this? Thanks!

@ghost ghost assigned saghul Apr 2, 2013
@toniher
Copy link
Author

toniher commented Apr 2, 2013

My fault. It was some remaining config files of a system-wide installation in /etc/bash_completion. Now it's solved. Thanks anyway!

@toniher toniher closed this as completed Apr 2, 2013
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

2 participants