You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, you can't enter an empty password. Please try again.
[fen-vz-ruforum-stage.fen.aptivate.org] Passphrase for private key: Traceback (most recent call last):
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/main.py", line 710, in main
*args, **kwargs
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/tasks.py", line 292, in execute
multiprocessing
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/tasks.py", line 191, in _execute
return task.run(*args, **kwargs)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/tasks.py", line 113, in run
return self.wrapped(*args, **kwargs)
File "../../deploy/localfab.py", line 41, in deploy
fablib.deploy(revision=revision, keep=keep)
File "/home/daniell/git/ruforum/django/website/.ve/src/dye/dye/fablib.py", line 152, in deploy
_create_dir_if_not_exists(env.server_project_home)
File "/home/daniell/git/ruforum/django/website/.ve/src/dye/dye/fablib.py", line 134, in _create_dir_if_not_exists
if not files.exists(path):
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/contrib/files.py", line 35, in exists
return not func(cmd).failed
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/network.py", line 457, in host_prompting_wrap
per
return func(*args, **kwargs)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/operations.py", line 904, in run
return _run_command(command, shell, pty, combine_stderr)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/operations.py", line 814, in _run_command
stdout, stderr, status = _execute(default_channel(), wrapped_command, pty,
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/state.py", line 340, in default_channel
chan = connections[env.host_string].get_transport().open_session()
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/network.py", line 84, in __getitem__
self.connect(key)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/network.py", line 76, in connect
self[key] = connect(user, host, port)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/network.py", line 351, in connect
password = prompt_for_password(text)
File "/home/daniell/git/ruforum/django/website/.ve/lib/python2.6/site-packages/fabric/network.py", line 427, in prompt_for_password
new_password = getpass.getpass(password_prompt, stream)
File "/usr/lib/python2.6/getpass.py", line 71, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
File "/usr/lib/python2.6/getpass.py", line 135, in _raw_input
raise EOFError
The text was updated successfully, but these errors were encountered:
I think this is a fabric bug that I've been seeing since before we moved the deploy scripts into dye - I've tended to get around this by typing a few keys at the passphrase prompt and pressing enter. It then asks me for the login password and I can carry on. Alternatively I've run ssh-add and then it just asks me for the sudo password.
I agree it's not ideal though. I'll try and find time to work out if newer versions of fabric have this bug or not.
I'm in Daniel's session and trying to deploy. Daniel has an SSH key with a passphrase, so I try to tell
fab.py
to use my own username instead:But it still asks me for a passphrase:
And I have to press Ctrl+C at this prompt to skip it, then it asks for my login password as it should:
This may be a Fabric bug? It happens here:
The text was updated successfully, but these errors were encountered: