[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread Andreas Jung
New submission from Andreas Jung : Building 3.9.0b3 fails on Ubuntu 19 and 20 in same way: ./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 Coul

[issue34224] python 3.7 inside venv tries to write back to read-only installation directory (Grammar3.7.0.final.0.pickle)

2019-07-21 Thread Andreas Jung
Andreas Jung added the comment: This issue is still true for 3.8.0b1, Ubuntu 19.04, umask is 0077, Python 3.8 is installed using "sudo make install". !bin/python bin/python setup.py develop running develop running egg_info writing fs.webdavfs.egg-info/PKG-INFO writing dependenc

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2019-06-25 Thread Andreas Jung
Andreas Jung added the comment: Typical traceback: WARNING:plone.app.contenttypes.indexers:Lookup of PrimaryField failed for http://nohost/plone_portal/microscopycentre/img/fotos-specialist-course2018.htm/demo10-jpg If renaming or importing please reindex

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2019-06-25 Thread Andreas Jung
New submission from Andreas Jung : I am using Python 3.6 and 3.7 (always latest minor releases) with Plone 5.2 and I various issues with Fatal Python error: Cannot recover from stack overflow. and do not make much sense to me. Some related tracebacks are documented here https://github.com

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
Andreas Jung added the comment: invalid -- ___ Python tracker <https://bugs.python.org/issue37361> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
Change by Andreas Jung : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37361> ___ ___ Python-bugs-list

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
New submission from Andreas Jung : Python 3.7.3 The following code is support to add a retry to the requests module. "total" is correctly initialized with 5 here but internally self.total becomes an instation of "Session" import requests from requests.adapters imp

[issue34224] python 3.7 inside venv tries to write back to read-only installation directory (Grammar3.7.0.final.0.pickle)

2018-07-25 Thread Andreas Jung
New submission from Andreas Jung : I installed Python 3.7.0 from source inside /opt/python-3.7.0 (make install as root). Then I created a virtual environment for a package and tried to develop the package. Python 3.7.0 tries to create a file /opt/python-3.7.0/lib/python3.7/lib2to3

[issue34224] python 3.7 inside venv tries to write back to installation directory

2018-07-25 Thread Andreas Jung
Change by Andreas Jung : -- components: Installation nosy: ajung priority: normal severity: normal status: open title: python 3.7 inside venv tries to write back to installation directory ___ Python tracker <https://bugs.python.org/issue34

[issue33142] Fatal Python error: Py_Initialize: Unable to get the locale encoding on Debian/Python 3.6.4 source build

2018-03-26 Thread Andreas Jung
Change by Andreas Jung : -- components: +Installation ___ Python tracker <https://bugs.python.org/issue33142> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33142] Fatal Python error: Py_Initialize: Unable to get the locale encoding on Debian/Python 3.6.4 source build

2018-03-26 Thread Andreas Jung
Change by Andreas Jung : -- title: Fatal Python error: Py_Initialize: Unable to get the locale encoding -> Fatal Python error: Py_Initialize: Unable to get the locale encoding on Debian/Python 3.6.4 source build ___ Python tracker <

[issue33142] Fatal Python error: Py_Initialize: Unable to get the locale encoding

2018-03-26 Thread Andreas Jung
New submission from Andreas Jung : Unable to build Python 3.6.4 from sources on a fresh Debian system: @plone /tmp/Python-3.6.4 $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (

[issue31316] Frequent *** stack smashing detected *** with Python 3.6.2/meinheld WSGI server

2017-08-31 Thread Andreas Jung
New submission from Andreas Jung: We are currently testing Python 3.6.2 with a BottlePY based with "meinheld" WSGI server and we see frequently these crashesis this related to Python or meinheld in particular? Linux unknown-device 4.7.0-1-amd64 #1 SMP Debian 4.7.2-1 (2016-08-

[issue30633] Python 3.6.1 installation issues on OpenSuse 42.1: ModuleNotFoundError: No module named 'encodings'

2017-06-12 Thread Andreas Jung
Andreas Jung added the comment: --enable-optimizations is not the issue Seems to be somehow related to the locales. My env is: ALSA_CONFIG_PATH=/etc/alsa-pulse.conf AUDIODRIVER=pulseaudio AUTOJUMP_ERROR_PATH=/home/ajung/.local/share/autojump/errors.log COLORTERM=1 CONFIG_SITE=/usr/share/site

[issue30633] Python 3.6.1 installation issues on OpenSuse 42.1: ModuleNotFoundError: No module named 'encodings'

2017-06-12 Thread Andreas Jung
Andreas Jung added the comment: Just the standard ./configure --prefix=... --enable-optimizations dance -- nosy: +ajung ___ Python tracker <http://bugs.python.org/issue30

[issue30633] Python 3.6.1 installation issues on OpenSuse 42.1: ModuleNotFoundError: No module named 'encodings'

2017-06-12 Thread Andreas Jung
New submission from Andreas Jung: Installing Python 3.6.1 from the sources on OpenSuse 42.1 gives me: o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pyhash.o Python/pylifecycle.o Python/pymath.o Python/pystate.o Python

[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-28 Thread Andreas Jung
Changes by Andreas Jung : -- components: +Build ___ Python tracker <http://bugs.python.org/issue18092> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-28 Thread Andreas Jung
New submission from Andreas Jung: I tried to install 2.7.5 on my OpenSuse 12.2 (latest patches) ajung@blackmoon2:~/sandboxes/mib.portal> cat /etc/issue Welcome to openSUSE 12.2 "Mantis" - Kernel \r (\l). Compilation went fine (no visible errors). Starting the interpreter giv

[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread Andreas Jung
Changes by Andreas Jung : -- type: -> compile error ___ Python tracker <http://bugs.python.org/issue14981> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread Andreas Jung
New submission from Andreas Jung : ranlib: file: libpython3.3m.a(dynamic_annotations.o) has no symbols ranlib: file: libpython3.3m.a(pymath.o) has no symbols gcc -framework CoreFoundation -o python.exe Modules/python.o libpython3.3m.a -ldl -framework CoreFoundation gcc -framework

[issue7551] SystemError/MemoryError/OverflowErrors on encode() a unicode string

2009-12-20 Thread Andreas Jung
Andreas Jung added the comment: Both systems are Linux system running a narrow Python build. The problem does not occur with Python 2.5 or 2.6. Unfortunately this error occurs with Zope 2 which is tied (at least with versions prior to Zope 2.12 to Python 2.4). -- status: pending

[issue7551] SystemError/MemoryError/OverflowErrors on encode() a unicode string

2009-12-20 Thread Andreas Jung
New submission from Andreas Jung : We encountered a pretty bizarre behavior of Python 2.4.6 while decoding a 600MB long unicode string 'data': Python 2.4.6 (8GB RAM, 64 bit) (Pdb) type(data) (Pdb) len(data) 601794657 (Pdb) data2=data.encode('utf-8') *** SystemError:

[issue924806] email.Header.Header() produces wrong headers with utf8 enc.

2009-02-08 Thread Andreas Jung
Andreas Jung added the comment: No idea - this bug is five years old! ___ Python tracker <http://bugs.python.org/issue924806> ___ ___ Python-bugs-list mailing list Unsub