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

dcmstack --list-translators broken #35

Closed
mih opened this issue Sep 5, 2015 · 0 comments
Closed

dcmstack --list-translators broken #35

mih opened this issue Sep 5, 2015 · 0 comments

Comments

@mih
Copy link
Contributor

mih commented Sep 5, 2015

Result:

% dcmstack --list-translators
Traceback (most recent call last):
  File "/usr/bin/dcmstack", line 9, in <module>
    load_entry_point('dcmstack==0.7.0.dev0', 'console_scripts', 'dcmstack')()
  File "/usr/lib/python2.7/dist-packages/dcmstack/dcmstack_cli.py", line 161, in main
    for translator in translators:
UnboundLocalError: local variable 'translators' referenced before assignment

Most likely, line 161 should be something like this:

for translator in extract.default_translators:
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