Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214965 - wrong path for $PYTHONDOCS
Summary: wrong path for $PYTHONDOCS
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 20:10 UTC by thierry volpiatto
Modified: 2008-03-26 20:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.