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

Bad color names in multi-label branch #24

Open
renxinhe opened this issue Jan 2, 2018 · 1 comment
Open

Bad color names in multi-label branch #24

renxinhe opened this issue Jan 2, 2018 · 1 comment

Comments

@renxinhe
Copy link

renxinhe commented Jan 2, 2018

olive and teal are not accepted color names. The third and fourth bounding boxes don't show up as a result of this. main.py line 19 need to be modified to include valid Tkinter colors.

@DennisFaucher
Copy link

Same

Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1547, in call
return self.func(*args)
File "main.py", line 296, in prevImage
self.loadImage()
File "main.py", line 223, in loadImage
outline = COLORS[(len(self.bboxList)-1) % len(COLORS)])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 2337, in create_rectangle
return self._create('rectangle', args, kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 2316, in _create
*(args + self._options(cnf, kw))))
TclError: unknown color name "olive"

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