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: pydoc fails on exceptions.html (win2K)
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ping Nosy List: hfoffani, ping
Priority: normal Keywords:

Created on 2001-03-15 23:13 by hfoffani, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (5)
msg3883 - (view) Author: Hernan Foffani (hfoffani) Date: 2001-03-15 23:13
Pydoc fails to show exceptions.html
Windows 2000, python 2.1b1
(FYI, I've got python 2.0 installed on the same 
machine)
msg3884 - (view) Author: Hernan Foffani (hfoffani) Date: 2001-03-16 10:27
Logged In: YES 
user_id=112690

Aditional Info:
Windows 2000 and IE 5.5 SP1 both Spanish version.

IExplorer error is "Can't find server or DNS error"
(translated by me)

(sorry for the 2nd bug report, but sourceforge keeps 
fighting me)

msg3885 - (view) Author: Hernan Foffani (hfoffani) Date: 2001-03-19 09:50
Logged In: YES 
user_id=112690

These messages, that i grab when trying to access to 
exceptions.html, may help (both in python 2.1b1 and python 
2.0):


C:\Python20\Lib>python pydoc.py
----------------------------------------
Exception happened during processing of request from 
('127.0.0.1', 1642)
Traceback (most recent call last):
  File "c:\python20\lib\SocketServer.py", line 221, in 
handle_request
    self.process_request(request, client_address)
  File "c:\python20\lib\SocketServer.py", line 247, in 
process_request
    self.finish_request(request, client_address)
  File "c:\python20\lib\SocketServer.py", line 251, in 
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\python20\lib\SocketServer.py", line 385, in 
__init__
    self.handle()
  File "c:\python20\lib\BaseHTTPServer.py", line 266, in 
handle
    method()
  File "pydoc.py", line 1116, in do_GET
    p, x = locate(path)
  File "pydoc.py", line 927, in locate
    filename = sys.modules[path].__file__
AttributeError: __file__
----------------------------------------


C:\Python21\Lib>python
Python 2.1b1 (#11, Mar  2 2001, 11:23:29) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.
>>> ^Z


C:\Python21\Lib>python pydoc.py
----------------------------------------
Exception happened during processing of request from 
('127.0.0.1', 1651)
Traceback (most recent call last):
  File "c:\python21\lib\SocketServer.py", line 214, in 
handle_request
    self.process_request(request, client_address)
  File "c:\python21\lib\SocketServer.py", line 232, in 
process_request
    self.finish_request(request, client_address)
  File "c:\python21\lib\SocketServer.py", line 244, in 
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\python21\lib\SocketServer.py", line 481, in 
__init__
    self.handle()
  File "c:\python21\lib\BaseHTTPServer.py", line 266, in 
handle
    method()
  File "pydoc.py", line 1112, in do_GET
    p, x = locate(path)
  File "pydoc.py", line 923, in locate
    filename = sys.modules[path].__file__
AttributeError: 'exceptions' module has no 
attribute '__file__'
----------------------------------------

msg3886 - (view) Author: Hernan Foffani (hfoffani) Date: 2001-03-19 10:01
Logged In: YES 
user_id=112690

These messages, that i grab when trying to access to 
exceptions.html, may help (both in python 2.1b1 and python 
2.0):


C:\Python20\Lib>python pydoc.py
----------------------------------------
Exception happened during processing of request from 
('127.0.0.1', 1642)
Traceback (most recent call last):
  File "c:\python20\lib\SocketServer.py", line 221, in 
handle_request
    self.process_request(request, client_address)
  File "c:\python20\lib\SocketServer.py", line 247, in 
process_request
    self.finish_request(request, client_address)
  File "c:\python20\lib\SocketServer.py", line 251, in 
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\python20\lib\SocketServer.py", line 385, in 
__init__
    self.handle()
  File "c:\python20\lib\BaseHTTPServer.py", line 266, in 
handle
    method()
  File "pydoc.py", line 1116, in do_GET
    p, x = locate(path)
  File "pydoc.py", line 927, in locate
    filename = sys.modules[path].__file__
AttributeError: __file__
----------------------------------------


C:\Python21\Lib>python
Python 2.1b1 (#11, Mar  2 2001, 11:23:29) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.
>>> ^Z


C:\Python21\Lib>python pydoc.py
----------------------------------------
Exception happened during processing of request from 
('127.0.0.1', 1651)
Traceback (most recent call last):
  File "c:\python21\lib\SocketServer.py", line 214, in 
handle_request
    self.process_request(request, client_address)
  File "c:\python21\lib\SocketServer.py", line 232, in 
process_request
    self.finish_request(request, client_address)
  File "c:\python21\lib\SocketServer.py", line 244, in 
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\python21\lib\SocketServer.py", line 481, in 
__init__
    self.handle()
  File "c:\python21\lib\BaseHTTPServer.py", line 266, in 
handle
    method()
  File "pydoc.py", line 1112, in do_GET
    p, x = locate(path)
  File "pydoc.py", line 923, in locate
    filename = sys.modules[path].__file__
AttributeError: 'exceptions' module has no 
attribute '__file__'
----------------------------------------

msg3887 - (view) Author: Ka-Ping Yee (ping) * (Python committer) Date: 2001-03-26 23:41
Logged In: YES 
user_id=45338

Fixed in 2.1b2, released last Friday.

Thanks!
History
Date User Action Args
2022-04-10 16:03:51adminsetgithub: 34155
2001-03-15 23:13:42hfoffanicreate