[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread INADA Naoki
Change by INADA Naoki : -- components: +Library (Lib) -Extension Modules resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.3, Python 3.4 ___ Python tracker

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread miss-islington
miss-islington added the comment: New changeset e20d31cdb33bdfee68bce059f9a9c7ce71b035fe by Miss Islington (bot) in branch '3.6': bpo-19891: Ignore error while writing history file (GH-8483) https://github.com/python/cpython/commit/e20d31cdb33bdfee68bce059f9a9c7ce71b035fe --

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread miss-islington
miss-islington added the comment: New changeset 416f3435c536c5197f5c6a23504955cf717df200 by Miss Islington (bot) in branch '3.7': bpo-19891: Ignore error while writing history file (GH-8483) https://github.com/python/cpython/commit/416f3435c536c5197f5c6a23504955cf717df200 -- nosy:

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +8180 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread INADA Naoki
INADA Naoki added the comment: New changeset b2499669ef2e6dc9a2cdb49b4dc498e078167e26 by INADA Naoki (Anthony Sottile) in branch 'master': bpo-19891: Ignore error while writing history file (GH-8483) https://github.com/python/cpython/commit/b2499669ef2e6dc9a2cdb49b4dc498e078167e26

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +8179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-07-26 Thread Anthony Sottile
Anthony Sottile added the comment: I was able to reproduce both the `PermissionError` and the `FileNotFoundError` under these circumstances: $ docker run --user 123:123 -ti python python Python 3.7.0 (default, Jul 17 2018, 11:04:33) [GCC 6.3.0 20170516] on linux Type "help", "copyright",

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2018-07-26 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +8005 stage: -> patch review ___ Python tracker ___ ___

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2017-10-28 Thread Andreas Krüger
Andreas Krüger added the comment: I can easily reproduce the problem with Docker, and it does seem to be a permission problem: $ docker run -ti --rm --user=":" python:3.6.3-jessie bash -c "python3" Python 3.6.3 (default, Oct 10 2017, 02:29:16) [GCC

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2014-05-13 Thread Eric Ongerth
Eric Ongerth added the comment: I'm getting the same PermissionError 13: Error in atexit._run_exitfuncs: PermissionError: [Errno 13] Permission denied My case is: I'm running Python 3.4.0 as a non-root user in a docker.io container built on ubuntu 14.04. This user was created during the

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-06 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, this bug is valid. I can reproduce it in Ubuntu and Fedora. bash-4.2$ ./python Python 3.4.0b1 (default:7a668179d691, Dec 6 2013, 21:44:31) [GCC 4.7.2 20121109 (Red Hat 4.7.2-8)] on linux Type help, copyright, credits or license for more information.

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-06 Thread Vajrasky Kok
Vajrasky Kok added the comment: Additional information: When I created /home/cutecat with another user account. bash-4.2$ ./python Python 3.4.0b1 (default:7a668179d691, Dec 6 2013, 21:44:31) [GCC 4.7.2 20121109 (Red Hat 4.7.2-8)] on linux Type help, copyright, credits or license for more

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: The main question here is whether interactive user without a home directory is a valid / common use case. I think silencing the FileNotFoundError would be ok. (however, the home directory with wrong permissions case sounds crazy) -- priority: normal

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread Vajrasky Kok
Changes by Vajrasky Kok sky@speaklikeaking.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19891 ___

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread R. David Murray
R. David Murray added the comment: This is presumably due to the new default enabling of readline, where it is trying to save the history file when it exits. -- nosy: +pitrou, r.david.murray ___ Python tracker rep...@bugs.python.org

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, why did you close as invalid? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19891 ___ ___

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread R. David Murray
R. David Murray added the comment: Not sure who you meant by 'you', but just in case you meant me, Vajrasky was the one who closed it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19891

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread Vajrasky Kok
Vajrasky Kok added the comment: I closed it because I could not reproduce it anymore. I think, it worked again after $ ./python -S I will open it again if I can consistently reproduce this bug. -- ___ Python tracker rep...@bugs.python.org

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-04 Thread Vajrasky Kok
New submission from Vajrasky Kok: $ sudo adduser --no-create-home cutecat Adding user `cutecat' ... Adding new group `cutecat' (1007) ... Adding new user `cutecat' (1005) with group `cutecat' ... Not creating home directory `/home/cutecat'. Enter new UNIX password: Retype new UNIX password: