I am new to HappyDoc and have just installed r2_0 on a
Windows 2000 machine running Python 2.1.
Here is what happens when I try to run it:
D:\py_addons\HappyDoc-r2_0>happydocwin.py
Traceback (most recent call last):
File "D:\py_addons\HappyDoc-r2_0\happydocwin.py",
line 64, in ?
from happydoc_class import HappyDoc
ImportError: No module named happydoc_class
Here is what happens when I try to run its test:
D:\py_addons\HappyDoc-r2_0>test_happydoc.py
Traceback (most recent call last):
File "D:\py_addons\HappyDoc-r2_0\test_happydoc.py",
line 83, in ?
import happydoclib.formatter.openoffice
File "D:\py_addons\HappyDoc-r2_0
\happydoclib\formatter\openoffice.py", line 63, in ?
from xml.sax import saxlib, saxexts
ImportError: cannot import name saxlib
Any ideas what is wrong with my installation?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the 2.0 release I did some major code rearranging, and I missed this file.
In the file happydocwin.py, replace "happydoc_class" with "happydoclib" (no quotes, of course). I've checked this change into CVS, so it will be part of the next release.
Doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to HappyDoc and have just installed r2_0 on a
Windows 2000 machine running Python 2.1.
Here is what happens when I try to run it:
D:\py_addons\HappyDoc-r2_0>happydocwin.py
Traceback (most recent call last):
File "D:\py_addons\HappyDoc-r2_0\happydocwin.py",
line 64, in ?
from happydoc_class import HappyDoc
ImportError: No module named happydoc_class
Here is what happens when I try to run its test:
D:\py_addons\HappyDoc-r2_0>test_happydoc.py
Traceback (most recent call last):
File "D:\py_addons\HappyDoc-r2_0\test_happydoc.py",
line 83, in ?
import happydoclib.formatter.openoffice
File "D:\py_addons\HappyDoc-r2_0
\happydoclib\formatter\openoffice.py", line 63, in ?
from xml.sax import saxlib, saxexts
ImportError: cannot import name saxlib
Any ideas what is wrong with my installation?
Thanks.
For the 2.0 release I did some major code rearranging, and I missed this file.
In the file happydocwin.py, replace "happydoc_class" with "happydoclib" (no quotes, of course). I've checked this change into CVS, so it will be part of the next release.
Doug
Thanks Doug; that worked.