#72 HOME Environment not set => Trackback

defect
open
Doug Hellmann
parser (18)
5
2014-08-22
2004-02-16
Anonymous
No

I am new and test happydoc in Windows 2k. I get follow
error, because no HOME set (in Windows named
HOMEPATH). Then i use Cygwin and it worked well
(because there is HOME-Env set).

D:\HappyDoc3-r3_0_a1>python happydoc d:\_GL
HappyDoc version 3.0.a1
Scanning...
Traceback (most recent call last):
File "happydoc", line 61, in ?
HappyDoc().run()
File "D:
\HappyDoc3-r3_0_a1\happydoclib\CommandLineApp.py",
line 314, in run
exit_code = apply(self.main, tuple(self.remainingOpts))
File "D:\HappyDoc3-r3_0_a1\happydoclib\appclass.py",
line 471, in main
includeComments=self.include_comments,
File "D:\HappyDoc3-r3_0_a1\happydoclib\scanner.py",
line 119, in __init__
tree = self.buildPackageTree(dir_name)
File "D:\HappyDoc3-r3_0_a1\happydoclib\scanner.py",
line 196, in buildPackageT
ree
home_cvsignore_filename = os.path.join(os.
environ['HOME'], '.cvsignore')
File "C:\Python23\Lib\os.py", line 417, in __getitem__
return self.data[key.upper()]
KeyError: 'HOME'

Discussion