Errors on text.get()

E

eneskristo

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
return self.func(*args)
File "C:/Users/User/PycharmProjects/Cesarian Codes/project.py", line 43, in gen_random
string = text.get('1.0', 'end')
File "C:\Python33\lib\tkinter\__init__.py", line 3104, in get
return self.tk.call(self._w, 'get', index1, index2)
_tkinter.TclError: invalid command name ".44500976.44544352"

I'm having a strange error. I haven't found anything online so far. If I should supply parts of the code, please post here. Thank you in advance!
 
P

Peter Otten

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
return self.func(*args)
File "C:/Users/User/PycharmProjects/Cesarian Codes/project.py", line 43,
in gen_random
string = text.get('1.0', 'end')
File "C:\Python33\lib\tkinter\__init__.py", line 3104, in get
return self.tk.call(self._w, 'get', index1, index2)
_tkinter.TclError: invalid command name ".44500976.44544352"

I'm having a strange error. I haven't found anything online so far. If I
should supply parts of the code, please post here. Thank you in advance!

Once you have destroyed a widget you can no longer access its data:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.3/tkinter/__init__.py", line 3107, in get
return self.tk.call(self._w, 'get', index1, index2)
_tkinter.TclError: invalid command name ".140692133333008"
 
E

eneskristo

Exception in Tkinter callback

Traceback (most recent call last):

File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__

return self.func(*args)

File "C:/Users/User/PycharmProjects/Cesarian Codes/project.py", line 43, in gen_random

string = text.get('1.0', 'end')

File "C:\Python33\lib\tkinter\__init__.py", line 3104, in get

return self.tk.call(self._w, 'get', index1, index2)

_tkinter.TclError: invalid command name ".44500976.44544352"



I'm having a strange error. I haven't found anything online so far. If I should supply parts of the code, please post here. Thank you in advance!

Thank you bro!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top