[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-23 Thread STINNER Victor
STINNER Victor added the comment: """ > Fatal Python error: _PySys_BeginInit: can't initialize sys module I have no idea why you get this error. You should try to run this function in a debugger like gdb and run the code step by step to see what happens. """ I pushed 3 changes to get working

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset ab67281e95de1a88c4379a75a547f19a8ba5ec30 by Victor Stinner in branch 'master': bpo-35713: Reorganize sys module initialization (GH-11658) https://github.com/python/cpython/commit/ab67281e95de1a88c4379a75a547f19a8ba5ec30 -- ___

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11454, 11455, 11456 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11454 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11454, 11455 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6d43f6f081023b680d9db4542d19b9e382149f0a by Victor Stinner in branch 'master': bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) https://github.com/python/cpython/commit/6d43f6f081023b680d9db4542d19b9e382149f0a -- _

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435, 11436, 11437 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435, 11436 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset bf4ac2d2fd520c61306b2676db488adab9b5d8c5 by Victor Stinner in branch 'master': bpo-35713: Rework Python initialization (GH-11647) https://github.com/python/cpython/commit/bf4ac2d2fd520c61306b2676db488adab9b5d8c5 -- ___

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430, 11431 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430, 11431, 11432 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread Tasy
Tasy added the comment: compiling without optimizations worked. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Hum. Are you aware that PGO with GCC is broken on such old and unsupported Ubuntu version? My old note about that: "PGO is broken on Ubuntu 14.04 LTS with GCC 4.8.4-2ubuntu1~14.04: Modules/socketmodule.c:7743:1: internal compiler error: in edge_badness, at

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread Tasy
Tasy added the comment: Compiler: $ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4 OS: $ uname -a Linux machine 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Home directory is of type nfs in case that is relevant. I'll try to d

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-17 Thread STINNER Victor
STINNER Victor added the comment: What is your OS (name and version)? What is your compiler (name and version)? > Fatal Python error: _PySys_BeginInit: can't initialize sys module I have no idea why you get this error. You should try to run this function in a debugger like gdb and run the c

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-15 Thread Tasy
Tasy added the comment: Configuration Options: ../configure --prefix=$HOME --enable-shared --enable-optimizations --with-system-expat --with-system-ffi --with-ensurepip=yes Make throws the following warning: *** WARNING: renaming "_curses_panel" since importing it failed: No module na

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please attach the full build log too along with the command executed. -- nosy: +xtreak ___ Python tracker ___ _

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: Because it's late, I will say it shortly: if you don't elaborate how you get this error, I will simply close the issue. You have to describe what you are trying to do, your OS, etc. (It works for me!) -- ___ Pyth

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-10 Thread Tasy
Tasy added the comment: Sorry for the confusion. The three dots were for many lines of successful compilation output from make. The rest is the final few lines where the compilation fails. -- ___ Python tracker

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: > . > . > . Hello. Can you elaborate this part? -- nosy: +vstinner ___ Python tracker ___ ___ Py

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-10 Thread Tasy
New submission from Tasy : . . . ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi Fatal Python error: _PySys_BeginInit: can