shubhamkumar27 / Face_recognition_based_attendance_system

A python GUI integrated attendance system using face recognition to take attendance.
MIT License
169 stars 93 forks source link

tkinter error and registration error #7

Open vrundorion opened 1 year ago

vrundorion commented 1 year ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\vrund\AppData\Local\Programs\Python\Python37\lib\tkinter__init.py", line 1702, in call__ return self.func(*args) File "C:\Users\vrund\AppData\Local\Temp\Temp3_Face_recognition_based_attendance_system-master.zip\Face_recognition_based_attendance_system-master\main.py", line 167, in TakeImages Id = (txt.get()) File "C:\Users\vrund\AppData\Local\Programs\Python\Python37\lib\tkinter__init__.py", line 2679, in get return self.tk.call(self._w, 'get') _tkinter.TclError: invalid command name ".!frame2.!entry"

please help when I click on take image error occurs that some files are missing

Kaustubh-3105 commented 11 months ago

Step1- First of all added the “global txt, txt2” to make variables global in clear(),TakeImages(),clear2() functions. Step 2- (Important) Then changed the path directory to that of the project before running to ensure that all files will be available . Step 3 - Then made certain GUI changes to take the data properly for registration purpose.