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

2010-12-11 Thread Éric Araujo
Éric Araujo 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 ___ __

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

2010-12-11 Thread R. David Murray
R. David Murray 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 Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis 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 # python3.2 -c pass Traceba

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

2010-12-10 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

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

2010-12-10 Thread STINNER Victor
STINNER Victor 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* errors (where I did the opposi

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

2010-12-07 Thread R. David Murray
R. David Murray 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, though. Does this not

[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 : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2010-12-07 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> components: +Library (Lib) -Distutils2 type: crash -> behavior versions: +Python 3.1, Python 3.2 ___ Python tracker ___ __

[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 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 "/usr/lib64/python2.7/site.py", line 554, in