Skip to content

Occasional crash when running project(?) #11

@gsteinLTU

Description

@gsteinLTU

I'm not sure what exactly caused this, I ran a program with just some string operations and pen drawing, when I added a print statement and then tried to run it, it crashed (and unfortunately took the code with it):

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/gordon/.pyenv/versions/3.12.10/lib/python3.12/site-packages/netsblox/__main__.py", line 2, in <module>
    main()
  File "/Users/gordon/.pyenv/versions/3.12.10/lib/python3.12/site-packages/netsblox/app.py", line 2881, in main
    root.mainloop()
  File "/Users/gordon/.pyenv/versions/3.12.10/lib/python3.12/tkinter/__init__.py", line 1505, in mainloop
    self.tk.mainloop(n)
  File "/Users/gordon/.pyenv/versions/3.12.10/lib/python3.12/site-packages/netsblox/app.py", line 1361, in _proxy
    raise e
  File "/Users/gordon/.pyenv/versions/3.12.10/lib/python3.12/site-packages/netsblox/app.py", line 1354, in _proxy
    result = self.tk.call(cmd)
             ^^^^^^^^^^^^^^^^^
_tkinter.TclError: bad text index ""

It happened multiple times now, but I don't think it's dependent on the code. I recreated the code from the initial crash and it didn't crash when run, but a few modifications later running the same crash occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions