PYTHONDOCS

Florian Diesch diesch at spamfence.net
Mon Jan 9 18:33:28 EST 2006


J. D. Leach <jdleach04 at sbcglobal.net> wrote:
> Peter Otten wrote:
>
>> 
>> You are getting no match rather than the wrong one. Have you verified that
>> a subdirectory
>> 
>> /usr/share/doc/python-2.4/html/lib
>> 
>> exists on your system? If not, the documentation may not be properly
>> installed.
>
> I checked it Peter and rearranged the files in the python-2.4 directory
> every which way absent deleting them, all to no avail. Interestingly, the

Do
   strace -e trace=file -o /tmp/strace.log python -m pydoc 'if'
(or some other system call tracer that is available on your system) 
and check /tmp/strace.log for where python is looking for the doc files.
Here it's /usr/share/doc/python2.4-doc/html/ref/if.html


   Florian
-- 
Einen Troll zu füttern ist das gleiche als würde man einen Haufen
Hundescheisse sehen, absichtlich reinsteigen und sich dann beschweren.
(Christian Schneider in <2005-10-25T10-04-37 at bofh.my-fqdn.de>)



More information about the Python-list mailing list