[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: I suggest to: - Print path to the .pth file, which causes exception. Current traceback doesn't help in finding the cause of problem: # echo import nonexistent /usr/lib64/python3.2/site-packages/some_file.pth #

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I like the suggestion of turning it into a warning, myself, but you are right that at the least the error message should be improved. -- resolution: invalid - stage: committed/rejected - needs patch status: closed - open

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Aren’t there studies that show that people don’t read warnings? I’m +0 on a warning and +1 on an error. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Yes, I patched the C code to not clear exceptions anymore at startup: r78826 (issue #3137). But this issue is different: here the bug is in the 3rd party module (loaded by site.py), not in Python, and Donald proposes to *ignore*

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642 ___

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - components: +Library (Lib) -Distutils2 type: crash - behavior versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642 ___

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If the problem is in site.py it doesn't sound like a distutils bug at all. I remember Victor doing something that changed the error handling/reporting when importing site.py, so I'm adding him as nosy. I thought that was only in 3.x,

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-06 Thread Donald Wallace Rouse II
New submission from Donald Wallace Rouse II python-bugs-as92...@dwr2.org: Python 2.7 programs crash on startup due to a defective third-party package installed in site-packages. starting python 2.7 yields the following error message: Traceback (most recent call last): File