[issue37391] MacOS Touchpad scrolling crashes IDLE
New submission from George Pantazes : IDLE crashes if the user scrolls with the Mac mousepad (using two fingers, either up or down). ```$ python -m idlelib # Then I use the mousepad to scroll in the IDLE window Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/idlelib/__main__.py", line 7, in idlelib.pyshell.main() File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/idlelib/pyshell.py", line 1572, in main root.mainloop() File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 1283, in mainloop self.tk.mainloop(n) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte ``` System Info: MacOS Mojave 10.14.5 (18F132) Python: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0) ------ assignee: terry.reedy components: IDLE messages: 346445 nosy: George Pantazes, terry.reedy priority: normal severity: normal status: open title: MacOS Touchpad scrolling crashes IDLE type: crash versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue37391> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37391] MacOS Touchpad scrolling crashes IDLE
George Pantazes added the comment: Also happens when I plug in a conventional mouse and use the mouse scrollwheel (so it's not just the touchpad scrolling!). -- ___ Python tracker <https://bugs.python.org/issue37391> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37391] MacOS Touchpad scrolling crashes IDLE
George Pantazes added the comment: Alright folks, sorry there's going to be a lot of pasted blocks of output, so just look for where I @ your name to address your questions. @ned.deily, here is the output of those info commands. ``` ➜ python3 -m test.pythoninfo Python debug information CC.version: Apple LLVM version 10.0.1 (clang-1001.0.46.4) Py_DEBUG: No (sys.gettotalrefcount() missing) _decimal.__libmpdec_version__: 2.4.2 builtins.float.double_format: IEEE, little-endian builtins.float.float_format: IEEE, little-endian core_config[_disable_importlib]: 0 core_config[allocator]: None core_config[argv]: ['-m'] core_config[base_exec_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' core_config[base_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' core_config[coerce_c_locale]: 0 core_config[coerce_c_locale_warn]: 0 core_config[dev_mode]: 0 core_config[dump_refs]: 0 core_config[exec_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' core_config[executable]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/python3' core_config[faulthandler]: 0 core_config[hash_seed]: 0 core_config[home]: None core_config[ignore_environment]: 0 core_config[import_time]: 0 core_config[install_signal_handlers]: 1 core_config[malloc_stats]: 0 core_config[module_search_path_env]: None core_config[module_search_paths]: ['/Users/georgep/Documents/workspace/r-tester/venv/bin/../lib/python37.zip', '/Users/georgep/Documents/workspace/r-tester/venv/bin/../lib/python3.7', '/Users/georgep/Documents/workspace/r-tester/venv/bin/../lib/python3.7/lib-dynload'] core_config[prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' core_config[program]: 'python3' core_config[program_name]: 'python3' core_config[show_alloc_count]: 0 core_config[show_ref_count]: 0 core_config[tracemalloc]: 0 core_config[use_hash_seed]: 0 core_config[utf8_mode]: 0 core_config[warnoptions]: [] core_config[xoptions]: [] datetime.datetime.now: 2019-06-25 10:50:02.453944 expat.EXPAT_VERSION: expat_2.2.6 global_config[Py_BytesWarningFlag]: 0 global_config[Py_DebugFlag]: 0 global_config[Py_DontWriteBytecodeFlag]: 0 global_config[Py_FileSystemDefaultEncodeErrors]: 'surrogateescape' global_config[Py_FileSystemDefaultEncoding]: 'utf-8' global_config[Py_FrozenFlag]: 0 global_config[Py_HasFileSystemDefaultEncoding]: 1 global_config[Py_HashRandomizationFlag]: 1 global_config[Py_IgnoreEnvironmentFlag]: 0 global_config[Py_InspectFlag]: 0 global_config[Py_InteractiveFlag]: 0 global_config[Py_IsolatedFlag]: 0 global_config[Py_NoSiteFlag]: 0 global_config[Py_NoUserSiteDirectory]: 0 global_config[Py_OptimizeFlag]: 0 global_config[Py_QuietFlag]: 0 global_config[Py_UTF8Mode]: 0 global_config[Py_UnbufferedStdioFlag]: 0 global_config[Py_VerboseFlag]: 0 locale.encoding: UTF-8 main_config[argv]: ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/test/pythoninfo.py'] main_config[base_exec_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' main_config[base_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' main_config[exec_prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' main_config[executable]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/python3' main_config[install_signal_handlers]: 1 main_config[module_search_path]: ['/Users/georgep/Documents/workspace/r-tester', '/Users/georgep/Documents/workspace/r-tester/venv/lib/python37.zip', '/Users/georgep/Documents/workspace/r-tester/venv/lib/python3.7', '/Users/georgep/Documents/workspace/r-tester/venv/lib/python3.7/lib-dynload', '/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Users/georgep/Documents/workspace/r-tester/venv/lib/python3.7/site-packages'] main_config[prefix]: '/Users/georgep/Documents/workspace/r-tester/venv/bin/..' main_config[warnoptions]: [] main_config[xoptions]: {} os.cpu_count: 8 os.cwd: /Users/georgep/Documents/workspace/r-tester os.environ[DISPLAY]: /private/tmp/com.apple.launchd.iXqE5VioqF/org.macosforge.xquartz:0 os.environ[HOME]: /Users/georgep os.environ[LC_CTYPE]: en_US.UTF-8 os.environ[PATH]: /Users/georgep/Documents/workspace/r-tester/venv/bin:/Users/georgep/.rvm/gems/ruby-2.5.1/bin:/Users/georgep/.rvm/gems/ruby-2.5.1@global/bin:/Users/georgep/.rvm/rubies/ruby-2.5.1/bin:/Users/georgep/bin:/Users/georgep/.jenv/shims:/Users/georgep/.jenv/bin:/Users/georgep/.jenv/shims:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/munki:/opt/X11/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/georgep/.rvm/bin os.environ[SHELL]: /bin/
[issue37391] MacOS Touchpad scrolling crashes IDLE
George Pantazes added the comment: Checked against the python.org installation. In that installation's IDLE, About IDLE > Tk version 8.6.8. So my question is: - Is it on me to fix this for my own machine because I should have gotten my own more-up-to-date TK before installing Python via Homebrew? - Or is this a Homebrew installation bug? And should they include a more up-to-dat TK with their installation? -- ___ Python tracker <https://bugs.python.org/issue37391> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37391] MacOS Touchpad scrolling crashes IDLE
George Pantazes added the comment: In case anyone would like to weigh in on the Homebrew side, I've filed the homebrew issue here: https://github.com/Homebrew/homebrew-core/issues/41338 . -- ___ Python tracker <https://bugs.python.org/issue37391> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com