-
Notifications
You must be signed in to change notification settings - Fork 9
Description
This is disturbing, I think I need help. I have tried a clean install of Thonny 4.1.7. portable on Windows 10 Pro (I also checked for stuff at /AppData/Local/Programs/ and /AppData/Roaming/Thonny).
After installing the thonny-py5mode plugin version 0.4.7a (which installs py5 0.10.7a0) Thonny won't launch anymore (silently crashing on launch).
I'm guessing some of our dependencies updates or something on py5 0.10.7a0 is causing this problem, because my older zipped portable (available at https://github.com/villares/thonny-portable-with-py5/releases/download/2025-06-11/thonny-417-with-py5-0106a0-portable-r3.zip) still works.
I can also report that installing just py5 0.10.7a0 works, and when you install the plug-in, Thonny stops launching.
frontend
14:08:59.683 [MainThread] INFO thonny: Thonny version: 4.1.7
14:08:59.683 [MainThread] INFO thonny: cwd: C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable
14:08:59.683 [MainThread] INFO thonny: original argv: []
14:08:59.683 [MainThread] INFO thonny: sys.executable: C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\pythonw.exe
14:08:59.683 [MainThread] INFO thonny: sys.argv: ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\thonny.exe']
14:08:59.683 [MainThread] INFO thonny: sys.path: ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\python310.zip', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\DLLs', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages']
14:08:59.683 [MainThread] INFO thonny: sys.flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=1, no_site=0, ignore_environment=1, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=1, dev_mode=False, utf8_mode=0, warn_default_encoding=0, int_max_str_digits=-1)
14:08:59.734 [MainThread] INFO thonny.workbench: Starting Workbench
14:08:59.847 [MainThread] INFO thonny.workbench: Creating runner
14:08:59.847 [MainThread] INFO thonny.workbench: Start loading plugins
frontend_faults
Windows fatal exception: access violation
Thread 0x0000190c (most recent call first):
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\socket.py", line 293 in accept
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\workbench.py", line 552 in server_loop
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\threading.py", line 953 in run
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\threading.py", line 1016 in _bootstrap_inner
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\threading.py", line 973 in _bootstrap
Current thread 0x00005150 (most recent call first):
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 1176 in create_module
File "<frozen importlib._bootstrap>", line 571 in module_from_spec
File "<frozen importlib._bootstrap>", line 674 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\user_data\plugins\Python310\site-packages\jpype\__init__.py", line 18 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 883 in exec_module
File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 992 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\user_data\plugins\Python310\site-packages\thonnycontrib\thonny-py5mode\about_plugin.py", line 9 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 883 in exec_module
File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\user_data\plugins\Python310\site-packages\thonnycontrib\thonny-py5mode\__init__.py", line 17 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 883 in exec_module
File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
File "<frozen importlib._bootstrap>", line 1050 in _gcd_import
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\importlib\__init__.py", line 126 in import_module
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\workbench.py", line 415 in _load_plugins_from_path
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\workbench.py", line 403 in _load_plugins
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\workbench.py", line 172 in __init__
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\__init__.py", line 279 in launch
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\site-packages\thonny\__main__.py", line 4 in <module>
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\runpy.py", line 86 in _run_code
File "C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\lib\runpy.py", line 227 in run_module
File "<string>", line 3 in <module>
backend
14:07:59.833 [MainThread] INFO thonny: Thonny version: 4.1.7
14:07:59.833 [MainThread] INFO thonny: cwd: C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\user_data\leave_this_empty
14:07:59.833 [MainThread] INFO thonny: original argv: ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\python.exe', '-u', '-B', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages\\thonny\\plugins\\cpython_backend\\cp_launcher.py', 'C:\\Users\\ETA', "{'run.warn_module_shadowing': True}"]
14:07:59.833 [MainThread] INFO thonny: sys.executable: C:\Users\ETA\Downloads\thonny-4.1.7-windows-portable\python.exe
14:07:59.833 [MainThread] INFO thonny: sys.argv: ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages\\thonny\\plugins\\cpython_backend\\cp_launcher.py', 'C:\\Users\\ETA', "{'run.warn_module_shadowing': True}"]
14:07:59.849 [MainThread] INFO thonny: sys.path: ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages\\thonny\\plugins\\cpython_backend', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\python310.zip', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\DLLs', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages']
14:07:59.849 [MainThread] INFO thonny: sys.flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0, dev_mode=False, utf8_mode=0, warn_default_encoding=0, int_max_str_digits=-1)
14:07:59.849 [MainThread] INFO thonny: TIME/MODS 0.031 Before constructing backend (+21 modules)
14:07:59.849 [MainThread] INFO thonny: NEW MODS ['_heapq', '_queue', 'encodings.ascii', 'errno', 'faulthandler', 'fnmatch', 'heapq', 'importlib._abc', 'importlib.util', 'msvcrt', 'pathlib', 'posixpath', 'queue', 'signal', 'subprocess', 'thonny.backend', 'thonny.plugins', 'thonny.plugins.cpython_backend', 'thonny.plugins.cpython_backend.cp_back', 'urllib', 'urllib.parse']
14:07:59.849 [MainThread] INFO thonny: TIME/MODS 0.000 Before MainBackend
14:07:59.849 [MainThread] INFO thonny: TIME/MODS 0.000 After MainBackend
14:07:59.893 [MainThread] INFO thonny.backend: Loading plugins
14:07:59.893 [MainThread] INFO thonny: TIME/MODS 0.044 Before loading plugins (+4 modules)
14:07:59.893 [MainThread] INFO thonny: NEW MODS ['pkgutil', 'platform', 'pydoc', 'sysconfig']
14:07:59.893 [MainThread] INFO thonny.common: Using THONNY_FRONTEND_SYS_PATH ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\python310.zip', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\DLLs', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\user_data\\plugins\\Python310\\site-packages']
14:07:59.893 [MainThread] INFO thonny.backend: Loading plugin 'thonny.plugins.backend.birdseye_backend'
14:07:59.909 [MainThread] INFO thonny.backend: Loading plugin 'thonny.plugins.backend.dock_user_windows_backend'
14:07:59.924 [MainThread] INFO thonny.backend: Loading plugin 'thonny.plugins.backend.flask_backend'
14:07:59.940 [MainThread] INFO thonny.backend: Loading plugin 'thonny.plugins.backend.matplotlib_backend'
14:07:59.940 [MainThread] INFO thonny.backend: Loading plugin 'thonny.plugins.backend.pgzero_backend'
14:07:59.940 [MainThread] INFO thonny: TIME/MODS 0.047 After loading plugins (+6 modules)
14:07:59.940 [MainThread] INFO thonny: NEW MODS ['thonny.plugins.backend', 'thonny.plugins.backend.birdseye_backend', 'thonny.plugins.backend.dock_user_windows_backend', 'thonny.plugins.backend.flask_backend', 'thonny.plugins.backend.matplotlib_backend', 'thonny.plugins.backend.pgzero_backend']
14:07:59.956 [MainThread] INFO thonny: TIME/MODS 0.016 Beginning of mainloop
14:07:59.956 [MainThread] INFO thonny: TIME/MODS 0.000 Sending message ToplevelResponse
14:07:59.956 [MainThread] INFO thonny.backend: Loading Jedi
14:07:59.956 [MainThread] INFO thonny: TIME/MODS 0.000 Before loading Jedi
14:07:59.956 [MainThread] INFO thonny.common: Using THONNY_FRONTEND_SYS_PATH ['C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\python310.zip', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\DLLs', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\lib\\site-packages', 'C:\\Users\\ETA\\Downloads\\thonny-4.1.7-windows-portable\\user_data\\plugins\\Python310\\site-packages']
14:08:01.224 [MainThread] INFO thonny: TIME/MODS 1.269 After loading Jedi (+132 modules)
14:08:01.224 [MainThread] INFO thonny: NEW MODS ['__future__', '_blake2', '_bz2', '_compat_pickle', '_compression', '_hashlib', '_json', '_lzma', '_pickle', '_socket', '_struct', 'binascii', 'bz2', 'difflib', 'filecmp', 'gc', 'hashlib', 'jedi', 'jedi._compatibility', 'jedi.api', 'jedi.api.classes', 'jedi.api.completion', 'jedi.api.completion_cache', 'jedi.api.environment', 'jedi.api.errors', 'jedi.api.exceptions', 'jedi.api.file_name', 'jedi.api.helpers', 'jedi.api.interpreter', 'jedi.api.keywords', 'jedi.api.project', 'jedi.api.refactoring', 'jedi.api.refactoring.extract', 'jedi.api.strings', 'jedi.cache', 'jedi.common', 'jedi.debug', 'jedi.file_io', 'jedi.inference', 'jedi.inference.analysis', 'jedi.inference.arguments', 'jedi.inference.base_value', 'jedi.inference.cache', 'jedi.inference.compiled', 'jedi.inference.compiled.access', 'jedi.inference.compiled.getattr_static', 'jedi.inference.compiled.mixed', 'jedi.inference.compiled.subprocess', 'jedi.inference.compiled.subprocess.functions', 'jedi.inference.compiled.value', 'jedi.inference.context', 'jedi.inference.docstring_utils', 'jedi.inference.docstrings', 'jedi.inference.filters', 'jedi.inference.flow_analysis', 'jedi.inference.gradual', 'jedi.inference.gradual.annotation', 'jedi.inference.gradual.base', 'jedi.inference.gradual.conversion', 'jedi.inference.gradual.generics', 'jedi.inference.gradual.stub_value', 'jedi.inference.gradual.type_var', 'jedi.inference.gradual.typeshed', 'jedi.inference.gradual.typing', 'jedi.inference.gradual.utils', 'jedi.inference.helpers', 'jedi.inference.imports', 'jedi.inference.lazy_value', 'jedi.inference.names', 'jedi.inference.param', 'jedi.inference.parser_cache', 'jedi.inference.recursion', 'jedi.inference.references', 'jedi.inference.signature', 'jedi.inference.syntax_tree', 'jedi.inference.sys_path', 'jedi.inference.utils', 'jedi.inference.value', 'jedi.inference.value.decorator', 'jedi.inference.value.dynamic_arrays', 'jedi.inference.value.function', 'jedi.inference.value.instance', 'jedi.inference.value.iterable', 'jedi.inference.value.klass', 'jedi.inference.value.module', 'jedi.inference.value.namespace', 'jedi.parser_utils', 'jedi.plugins', 'jedi.plugins.django', 'jedi.plugins.flask', 'jedi.plugins.pytest', 'jedi.plugins.registry', 'jedi.plugins.stdlib', 'jedi.settings', 'json', 'json.decoder', 'json.encoder', 'json.scanner', 'lzma', 'math', 'parso', 'parso._compatibility', 'parso.cache', 'parso.file_io', 'parso.grammar', 'parso.normalizer', 'parso.parser', 'parso.pgen2', 'parso.pgen2.generator', 'parso.pgen2.grammar_parser', 'parso.python', 'parso.python.diff', 'parso.python.errors', 'parso.python.parser', 'parso.python.pep8', 'parso.python.prefix', 'parso.python.token', 'parso.python.tokenize', 'parso.python.tree', 'parso.tree', 'parso.utils', 'pickle', 'pydoc_data', 'pydoc_data.topics', 'select', 'selectors', 'shutil', 'socket', 'struct', 'textwrap', 'zipfile', 'zlib']