_tkinter.TclError: invalid command name ".54600176" error, what is going on?
<p>I am new to python and am trying to code a simple game, but am continuously receiving this error message after updating the main game loop. </p>

<pre><code> Traceback (most recent call last):
  File "D:\python shell\Bubble Blaster.py", line 75, in &lt;module&gt;
    move_bubbles()
  File "D:\python shell\Bubble Blaster.py", line 67, in move_bubbles
    c.move(bub_id[i], -bub_speed[i], 0)
  File **not displaying for privacy**
\lib\tkinter\__init__.py", line 2430, in move
    self.tk.call((self._w, 'move') + args)
_tkinter.TclError: invalid command name ".54600176"
</code></pre>

<p>the lines which apparently have an error are this one:</p>

<pre><code>#MAIN GAME LOOP
while True:
    if randint(1, BUB_CHANCE) == 1:
        create_bubble()
    move_bubbles()
    window.update()
    sleep(0.01) 
</code></pre>

<p>move_bubbles() is line 75</p>

<p>and this:</p>

<pre><code>def move_bubbles():
    for i in range(len(bub_id)):
        c.move(bub_id[i], -bub_speed[i], 0)
</code></pre>

<p>def move_bubbles(): is line 67</p>

<p>So far the 'bubbles' I created do as they are supposed to, but when I tried to create a collision event that causes the bubbles to 'pop' when they hit the submarine controller I created, I get this error message. I have checked every line of code and compared it to the tutorial book I am using and I haven't made an error, can someone please help me or explain what the error means? It is a very frustrating issue!</p>