Message122051
| Author |
bbi5291 |
| Recipients |
bbi5291 |
| Date |
2010年11月22日.00:59:47 |
| SpamBayes Score |
4.019622e-05 |
| Marked as misclassified |
No |
| Message-id |
<1290387591.59.0.788816465526.issue10496@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This bug is Linux-specific.
When Python cannot find the home directory of the user invoking it, it prints "'import site' failed; use -v for traceback".
This occurs only when both of these conditions are met:
1. /etc/passwd contains no entry for the current real UID
2. the HOME environment variable does not exist
To duplicate this bug, compile and run the attached program as root.
(Note that this will fail if 12345 is a legitimate user on your system, or if Python is not at /usr/bin/python.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月24日 11:05:32 | ned.deily | unlink | issue10496 messages |
| 2010年11月22日 00:59:52 | bbi5291 | set | recipients:
+ bbi5291 |
| 2010年11月22日 00:59:51 | bbi5291 | set | messageid: <1290387591.59.0.788816465526.issue10496@psf.upfronthosting.co.za> |
| 2010年11月22日 00:59:48 | bbi5291 | link | issue10496 messages |
| 2010年11月22日 00:59:48 | bbi5291 | create |
|