Trouble with HTMLGen, HTMLtest

Berthold Höllmann bhoel at server.python.net
Thu Jul 8 03:25:36 EDT 1999


Dave Borgelt wrote:
> 
> I am having a problem with HTMLGen that is driving me nuts.  It has to do
> with running the test code in HTMLtest.  (HTMLtest.test()).
> 
> I expect the solution is simple but I can't see it.  The path to the HTMLGen
> files is in my PythonPath (hence the import works) but as you can see the
> test fails.
> 
> -----------------------------
> 
> >>> import HTMLtest
> >>> HTMLtest.test()
> Traceback (innermost last):
>   File "<interactive input>", line 1, in ?
>   File "c:\programming\python\HTMLGen\HTMLtest.py", line 26, in test
>     'overview.html')      # manual top
>   File "c:\programming\python\HTMLGen\HTMLtest.py", line 35, in overview
>     doc = SeriesDocument('HTMLgen.rc')
>   File "c:\programming\python\HTMLGen\HTMLgen.py", line 256, in __init__
>     if resource: execfile(mpath(resource), self.__dict__)
> IOError: [Errno 2] No such file or directory
> >>>
> 
> ------------------------------
> 
> Any help will be appreciated.
> 
> Dave Borgelt

This only works in the directory where HTMLgen.rc (and probably other
files) lie. This is usually the directory generated when unpacking
HTMLge.

Greetings 

Berthold

-- 
bhoel at starship.python.net / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.




More information about the Python-list mailing list