[Python-bugs-list] [ python-Bugs-408958 ] pydoc fails on exceptions.html (win2K)

noreply@sourceforge.net noreply@sourceforge.net
Mon, 19 Mar 2001 01:50:42 -0800


Bugs item #408958, was updated on 2001-03-15 15:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=408958&group_id=5470

Category: Python Library
Group: Platform-specific
Status: Open
Priority: 5
Submitted By: Hernan Martinez Foffani (hfoffani)
Assigned to: Ka-Ping Yee (ping)
Summary: pydoc fails on exceptions.html (win2K)

Initial Comment:
Pydoc fails to show exceptions.html
Windows 2000, python 2.1b1
(FYI, I've got python 2.0 installed on the same 
machine)


----------------------------------------------------------------------

>Comment By: Hernan Martinez Foffani (hfoffani)
Date: 2001-03-19 01:50

Message:
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__'
----------------------------------------



----------------------------------------------------------------------

Comment By: Hernan Martinez Foffani (hfoffani)
Date: 2001-03-16 02:27

Message:
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)



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=408958&group_id=5470