Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
435 views
in Technique[技术] by (71.8m points)

python - Weird thonny error when running any code on RPI4

When i want to run any code on my RPI4 trough the Thonny IDE I keep gettings this error message:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/thonny/workbench.py", line 1598, in event_generate
    handler(event)
  File "/usr/lib/python3/dist-packages/thonny/shell.py", line 439, in _handle_toplevel_response
    self._discard_old_content()
  File "/usr/lib/python3/dist-packages/thonny/shell.py", line 1356, in _discard_old_content
    self._clear_content(proposed_cut)
  File "/usr/lib/python3/dist-packages/thonny/shell.py", line 1361, in _clear_content
    btn_pos = float(self.index(btn))
ValueError: could not convert string to float: 

Does anyone know what is causing this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...