New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pydocs module docs server not working on Windows. #58717
Comments
3.2.3rc2 and 3.3.0a2, freshly downloaded and installed, Win7, 64 bit This worked sometime last year on earlier 3.2, maybe on xp box. I thought there might be an issue already, but I searched for 'pydoc' and 'modole docs' and found nothing. |
Hmm, we changed a few things with the way the back end server for pydoc works in 3.2. I didn't realise there was a Windows shortcut though, and I don't know how it gets generated. It sounds like it is still using the "-g" option, which is now deprecated. If you run "pydoc -b" from a command line window, does that work correctly? ("-g" should still work as well, even though it's deprecated, but knowing whether or not "-b" is also broken may help diagnose the problem) |
C:\Programs\Python32\Tools\Scripts>..\..\pythonw pydocgui.pyw -b The shortcut has been part of the Windows installation for many versions. It obviously uses pydocgui.py. C:\Programs\Python32\Lib>pydoc.py -b C:\Programs\Python32\Lib>pydoc.py -w difflib So what it seems is not working in either case is opening the html page in the browser or connecting it to the server. C:\Programs\Python32\Lib>webbrowser.py python.org When I re-ran pydoc and tried to open localhost:50695 in IE, it gave me the result of a Bing search (one help forum post), so neither browser can find anything at that url. |
On current 3.3.4 and 3.4.0 start menus, clicking Module Docs does nothing that I can see except add a useless entry to the Frequent Programs list. I think the entry should be removed from the menu until it is made to work. All it does now is frustrate people and make Python look bad. |
We're also having the same issue here as well - I will delete the shortcut as a temporary fix! Thanks, Hq. |
Nick: the menu entry currently launches tools\scripts\pydocgui.pyw, with no command line options. |
New changeset de81e0fe4905 by Martin v. Löwis in branch 'default': |
cherry-picking request in bpo-20834. I will personally not backport this to 3.3. |
FTR: the server itself works fine for me. I don't see an empty window, but the proper library index. Terry, if the issue persists for you even after the change to pydoc -b, please submit *another* issue. |
New changeset fa34ea4e9e47 by Martin v. Löwis in branch '3.4': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: