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

Python exception trying to display an image with no tags #1

Open
cmihai opened this issue Jun 9, 2017 · 0 comments
Open

Python exception trying to display an image with no tags #1

cmihai opened this issue Jun 9, 2017 · 0 comments
Assignees

Comments

@cmihai
Copy link
Owner

cmihai commented Jun 9, 2017

Traceback (most recent call last):
  File "/usr/bin/docktree", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 115, in main
    Docktree(**vars(args)).draw_tree()
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 103, in draw_tree
    draw_branch(prune(tree()))
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 79, in tree
    return [(Image(img_dict, self.show_size), tree(img_dict['Id'])) for img_dict in children(root_id)]
  File "/usr/lib/python2.7/site-packages/docktree/__init__.py", line 45, in __init__
    self.tags = [t for t in img_dict['RepoTags'] if t != '<none>:<none>']
TypeError: 'NoneType' object is not iterable

@cmihai cmihai self-assigned this Jun 9, 2017
@cmihai cmihai changed the title Python exception when calling docktree Python exception trying to display an image with no tags Jun 9, 2017
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

1 participant