Message123789
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
Traceback (most recent call last):
File "/usr/lib64/python3.2/site.py", line 520, in <module>
main()
File "/usr/lib64/python3.2/site.py", line 509, in main
known_paths = addsitepackages(known_paths)
File "/usr/lib64/python3.2/site.py", line 301, in addsitepackages
addsitedir(sitedir, known_paths)
File "/usr/lib64/python3.2/site.py", line 177, in addsitedir
addpackage(sitedir, name, known_paths)
File "/usr/lib64/python3.2/site.py", line 148, in addpackage
exec(line)
File "<string>", line 1, in <module>
ImportError: No module named nonexistent
- Maybe change error into warning. |
|
Date |
User |
Action |
Args |
2010-12-11 13:46:04 | Arfrever | set | recipients:
+ Arfrever, dwr2, vstinner, tarek, eric.araujo, r.david.murray |
2010-12-11 13:46:04 | Arfrever | set | messageid: <1292075164.35.0.578651650439.issue10642@psf.upfronthosting.co.za> |
2010-12-11 13:46:01 | Arfrever | link | issue10642 messages |
2010-12-11 13:46:01 | Arfrever | create | |
|