Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'range' object doesn't support item deletion, triggered by Utils.py:533 #1853

Open
dwrobel opened this issue Sep 22, 2023 · 0 comments

Comments

@dwrobel
Copy link
Contributor

dwrobel commented Sep 22, 2023

Version 8ef7c80 built as flatpak generated the following backtrace when exiting from the application:

Program     : bCNC
Version     : 0.9.15
Last Change : 24 June 2022
Platform    : linux
Python      : 3.10.13 (main, Nov 10 2011, 15:00:00) [GCC 12.2.0]
TkVersion   : 8.6
TclVersion  : 8.6

Traceback:
Traceback (most recent call last):
  File "/app/lib/python3.10/site-packages/bCNC/Utils.py", line 533, in __call__
    return self.func(*args)
  File "/app/lib/python3.10/site-packages/bCNC/lib/tkExtra.py", line 1384, in handleKey
    del self._pos[i]
TypeError: 'range' object doesn't support item deletion

Traceback (most recent call last):
  File "/app/lib/python3.10/site-packages/bCNC/Utils.py", line 533, in __call__
    return self.func(*args)
  File "/app/lib/python3.10/site-packages/bCNC/lib/tkExtra.py", line 3246, in popupClick
    self.unpostList()
  File "/app/lib/python3.10/site-packages/bCNC/lib/tkExtra.py", line 3197, in unpostList
    self._listbox.reset()
  File "/app/lib/python3.10/site-packages/bCNC/lib/tkExtra.py", line 1269, in reset
    del self._pos[:]
TypeError: 'range' object does not support item deletion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant