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

Crash when no arguments passed #1205

Closed
tstackhouse opened this issue Jan 6, 2015 · 1 comment
Closed

Crash when no arguments passed #1205

tstackhouse opened this issue Jan 6, 2015 · 1 comment

Comments

@tstackhouse
Copy link

After upgrading, running beet with no arguments yeilds a Python error:

Traceback (most recent call last):
  File "/usr/local/bin/beet", line 9, in <module>
    load_entry_point('beets==1.3.10', 'console_scripts', 'beet')()
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/__init__.py", line 945, in main
    _raw_main(args)
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/__init__.py", line 927, in _raw_main
    if subargs[0] == 'config' and ('-e' in subargs or '--edit' in subargs):
IndexError: list index out of range

beet version output:

beets version 1.3.10
plugins: copyartifacts, fetchart, duplicates, chroma, lastgenre, fromfilename, ftintitle

python --version:

Python 2.7.6
@brunal
Copy link
Collaborator

brunal commented Jan 6, 2015

This was caused by the recent addition of a special case for beets config --edit.

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