Message329611
Yes I use homebrew.
I have done :
brew update
brew upgrade
python 3.7.1 installed :
Python 3.7.1 (default, Nov 6 2018, 18:45:35)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
but I still have the crash with this version :
2018-11-10 15:37:54.784 Python[35388:488345] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFConstantString characterAtIndex:]: Range or index out of bounds'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2b04123b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff522d2c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2b0d2d5d +[NSException raise:format:] + 205
3 CoreFoundation 0x00007fff2afbd236 -[__NSCFString characterAtIndex:] + 102
4 Tk 0x00007fff37721343 TkpInitKeymapInfo + 731
5 Tk 0x00007fff377271a1 Tk_MacOSXSetupTkNotifier + 798
6 Tcl 0x00007fff37621a50 Tcl_DoOneEvent + 300
7 _tkinter.cpython-37m-darwin.so 0x0000000106b877ab _tkinter_tkapp_mainloop + 256
8 Python 0x00000001061e3313 _PyMethodDef_RawFastCallKeywords + 496
9 Python 0x00000001061e7caa _PyMethodDescr_FastCallKeywords + 82
10 Python 0x0000000106278bd0 call_function + 801
11 Python 0x0000000106271758 _PyEval_EvalFrameDefault + 6991
12 Python 0x0000000106279432 _PyEval_EvalCodeWithName + 1835
13 Python 0x00000001061e2874 _PyFunction_FastCallKeywords + 225
14 Python 0x0000000106278ba0 call_function + 753
15 Python 0x0000000106271771 _PyEval_EvalFrameDefault + 7016
16 Python 0x0000000106279432 _PyEval_EvalCodeWithName + 1835
17 Python 0x000000010626fb81 PyEval_EvalCode + 42
18 Python 0x000000010629e6ed run_mod + 54
19 Python 0x000000010629d708 PyRun_FileExFlags + 164
20 Python 0x000000010629cdc2 PyRun_SimpleFileExFlags + 266
21 Python 0x00000001062b4adc pymain_main + 5665
22 Python 0x00000001062b50ff _Py_UnixMain + 75
23 libdyld.dylib 0x00007fff52eec015 start + 1
24 ??? 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
> Le 10 nov. 2018 à 15:26, Karthikeyan Singaravelan <report@bugs.python.org> a écrit :
>
>
> Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment:
>
> Thanks for the report. I added Ned since it seemed similar to issue32481 but from Python 3.7 the Mac installers from python.org ship with in-built Tcl/Tk 8.6.8 as in which was the reported version https://www.python.org/download/mac/tcltk/#built-in-8-6-8 . I was able to reproduce the crash with attached file on 3.6 which was installed from Homebrew. I was not able to reproduce the crash on Python 3.7.1RC2 installed from python.org. I don't know if installing 3.7 from Homebrew might cause problems with my existing virtual environments to validate my assumption.
>
> 1. @remi_bertholet Is Python 3.7 installed with Homebrew?
> 2. Ned, does Python 3.7 that is installed from Homebrew ship with in-built Tcl/Tk similar to Mac installers from python.org?
>
> ----------
> nosy: +xtreak
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue35209>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2018-11-10 14:42:30 | remi_bertholet | set | recipients:
+ remi_bertholet, ned.deily, xtreak |
2018-11-10 14:42:30 | remi_bertholet | link | issue35209 messages |
2018-11-10 14:42:30 | remi_bertholet | create | |
|