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 is bad when you forget to include the command name #52

Closed
alex opened this issue Jul 5, 2014 · 0 comments · Fixed by #62
Closed

Error message is bad when you forget to include the command name #52

alex opened this issue Jul 5, 2014 · 0 comments · Fixed by #62
Labels

Comments

@alex
Copy link
Member

alex commented Jul 5, 2014

$ twine cffi-0.8.3-cp*
Traceback (most recent call last):
  File "app_main.py", line 75, in run_toplevel
  File "/Users/alex_gaynor/.virtualenvs/tempenv-3aed5394482d/bin/twine", line 11, in <module>
    sys.exit(main())
  File "/Users/alex_gaynor/.virtualenvs/tempenv-3aed5394482d/site-packages/twine/__main__.py", line 24, in main
    return dispatch(sys.argv[1:])
  File "/Users/alex_gaynor/.virtualenvs/tempenv-3aed5394482d/site-packages/twine/cli.py", line 41, in dispatch
    p = subprocess.Popen(["twine-{0}".format(args.command)] + args.args)
  File "/Users/alex_gaynor/.pyenv/versions/pypy-2.3.1/lib-python/2.7/subprocess.py", line 709, in __init__
    errread, errwrite)
  File "/Users/alex_gaynor/.pyenv/versions/pypy-2.3.1/lib-python/2.7/subprocess.py", line 1330, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Would be nice if it said something like "cffi not a command name" or similar.

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

Successfully merging a pull request may close this issue.

2 participants