Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 214965

Summary: wrong path for $PYTHONDOCS
Product: Gentoo Linux Reporter: thierry volpiatto <thierry.volpiatto+gentoobug>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thierry volpiatto 2008-03-26 20:10:22 UTC
Hi,
by default, gentoo set environment variable PYTHONDOCS
to :
,----
| /usr/share/doc/python-docs-2.5.1/html/lib 
`----

with python 2.4 it was the same.
Thats never work for me and i saw on french forums similar case.

I set this variable to:

,----
| /usr/share/doc/python-docs-2.5.1/html 
`----

And like that it's work:

May be that can be changed in ebuild.

Thierry.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-26 20:28:27 UTC
You'll have to tell us what 'never work' exactly means, since the path is correct as it is.
Comment 2 thierry volpiatto 2008-03-26 20:55:25 UTC
Don't work mean that if you try to get doc of any primitive
you have an error like:

,----
| >>> help('print')
| 
| Sorry, topic and keyword documentation is not available because the Python
| HTML documentation files could not be found.  If you have installed them,
| please set the environment variable PYTHONDOCS to indicate their location.
`----

setting PYTHONDOCS to 

,----
| /usr/share/doc/python-docs-2.5.1/html
`----

solve the problem.