[OT] Yum and other internet cr@p

Longman, Bill yellowdog-general@lists.terrasoftsolutions.com
Fri Jun 18 10:33:01 2004


> 
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 36, in ?
>     if not os.path.exists('/proc/' + oldpid):
>   File "/usr/lib/python2.2/posixpath.py", line 171, in exists
>     st = os.stat(path)
> TypeError: stat() argument 1 must be (encoded string without NULL
> bytes), not str

I find it odd that it's complaining about stuff in /proc and that "path" is
returning as a string. It seems from the error message that it's dying
somewhere when it figures out the library path. Got the python code handy?
You might be able to follow it.