Guess we are getting closer...
I installed both (asttokens and jedi) on the raspi and this is what i get from Thonny now:
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/workbench.py", line 1708, in event_generate
handler(event)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 1213, in _handle_debugger_progress
_current_debugger.handle_debugger_progress(msg)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 276, in handle_debugger_progress
self._main_frame_visualizer = EditorVisualizer(msg.stack[0])
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 584, in __init__
get_workbench().get_editor_notebook().show_file(frame_info.filename, set_focus=False)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/editors.py", line 923, in show_file
editor = self.get_editor(filename, True)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/editors.py", line 1012, in get_editor
return self._open_file(filename)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/editors.py", line 996, in _open_file
if editor._load_file(filename):
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/editors.py", line 171, in _load_file
result = self._load_local_file(filename, keep_undo)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/editors.py", line 193, in _load_local_file
with open(filename, "rb") as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/python-projects/smart-timer.py'