Python Forum
[Tkinter] How to find what causing AttributeError: '_tkinter.tkapp' ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] How to find what causing AttributeError: '_tkinter.tkapp' ?
#4
(Sep-18-2016, 09:49 AM)Ofnuts Wrote: Yes, a bit strange? I would add a print instruction in öppna_data_filer to check that it is actually executed:


    def öppna_data_filer(self):
         self.file1 = open('partmärkning.txt', 'wt')
         self.file2 = open('kabelmärking.txt', 'wt')
         print(self.file1) 

I know that its executed by watching the file getting made.
Reply


Messages In This Thread
RE: How to find what causing AttributeError: '_tkinter.tkapp' ? - by darktitan - Sep-18-2016, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] _tkinter.TclError: can't invoke "destroy" command: application has been destroyed knoxvilles_joker 6 15,671 Apr-25-2021, 08:41 PM
Last Post: knoxvilles_joker
  [Tkinter] _tkinter.TclError: bitmap "Icon.gif" not defined djwilson0495 2 12,998 Aug-05-2020, 02:27 PM
Last Post: wuf
  [Tkinter] _tkinter.TclError: image "pyimage2" doesn't exist Killdoz 1 10,689 May-30-2020, 09:48 AM
Last Post: menator01
  AttributeError: '_tkinter.tkapp' object has no attribute 'place_forget' edphilpot 5 9,214 Dec-20-2019, 09:52 PM
Last Post: joe_momma
  "ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0 programmerc 1 6,379 Oct-21-2018, 06:32 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020