This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ``make htmlview`` for docs fails on OS X
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, brett.cannon, georg.brandl
Priority: low Keywords:

Created on 2008-08-22 03:36 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg71720 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-08-22 03:36
Running ``make htmlview`` on OS X Leopard causes the following::

> make htmlview                                        
~/Dev/python/3.x/scratch/Doc
mkdir -p build/html build/doctrees
python2.5 tools/sphinx-build.py -b html -d build/doctrees -D
latex_paper_size=  . build/html 
Sphinx v0.5, building html
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
no targets are out of date.

Build finished. The HTML pages are in build/html.
python2.5 -c "import webbrowser; webbrowser.open('build/html/index.html')"
0:42: execution error: An error of type -2110 has occurred. (-2110)
msg71744 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-08-22 13:12
This is probably actually a problem with the webbrowser module. Try
running "import webbrowser; webbrowser.open('build/html/index.html')" on
the plain Python shell.
msg71762 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-08-22 18:07
On Fri, Aug 22, 2008 at 6:12 AM, Benjamin Peterson
<report@bugs.python.org> wrote:
>
> Benjamin Peterson <musiccomposition@gmail.com> added the comment:
>
> This is probably actually a problem with the webbrowser module. Try
> running "import webbrowser; webbrowser.open('build/html/index.html')" on
> the plain Python shell.
>

Yep, it is webbrowser thing.
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 47894
2008-12-29 09:49:07georg.brandlsetstatus: open -> closed
resolution: works for me
2008-08-22 18:07:06brett.cannonsetmessages: + msg71762
2008-08-22 13:12:54benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg71744
components: + Library (Lib), - Documentation
2008-08-22 03:36:56brett.cannoncreate