YOLO-series icon indicating copy to clipboard operation
YOLO-series copied to clipboard

_tkinter_tkapp has no attribute setGeometry

Open techied opened this issue 7 years ago • 6 comments

Stacktrace is as follows: Traceback (most recent call last): File "C:\Users\Paperspace\Downloads\darkflow-master\new_model_data\draw_box.py", line 52, in <module> mngr.window.setGeometry(250, 120, 1280, 1024) File "C:\Program Files (x86)\Python36-32\lib\tkinter\__init__.py", line 2095, in __getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'setGeometry'

What could be causing this?

techied avatar Feb 07 '18 03:02 techied

same issue with me

paulbf87 avatar Apr 05 '18 21:04 paulbf87

you can remove the 2 lines for setGeometry. they are not needed

markjay4k avatar Apr 05 '18 21:04 markjay4k

I am facing the same issue here

zubairahmed-ai avatar Sep 25 '18 02:09 zubairahmed-ai

i am see this error python version which we used old type of version and code will be 3.6 in python. so you can remove one line # mngr.window.setGeometry(250, 120, 1280, 1024). Enjoy!

noorkhokhar99 avatar Nov 01 '18 10:11 noorkhokhar99

write this mngr.window.setGeometry = (250, 120, 1280, 1024)

joanqwerty avatar May 24 '19 07:05 joanqwerty

@joanqwerty Thanks

biswajit-hub avatar Jul 10 '21 19:07 biswajit-hub