[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ImportError: No module named ext.reader
> I am having problem in initialising the cback program. I have installed the cback suite as in install info and on successful executin if i type cback it throws errors like this
>
> [root@host root]# cback -h
> Traceback (most recent call last):
> File "/usr/local/bin/cback", line 26, in ?
> from CedarBackup2.cli import cli
> File "/usr/local/lib/python2.4/site-packages/CedarBackup2/cli.py", line 93, in ?
> from CedarBackup2.config import Config
> File "/usr/local/lib/python2.4/site-packages/CedarBackup2/config.py", line 259, in ?
> from xml.dom.ext.reader import PyExpat
> ImportError: No module named ext.reader
>
> now while installing the package i did a check which returned like this
> [root@host CedarBackup2-2.6.1]# python util/test.py
> Failed to import CedarBackup2 unit test module: No module named ext.reader
> You must either run the unit tests from the CedarBackup2 source
> tree, or properly set the PYTHONPATH enviroment variable.
>
> I have installed python 2.4.1 which is the version i got when i type python -V
>
> What / Where am i going wrong ?
You need to install the PyXML package. See:
http://cedar-solutions.com/software/cedar-backup/manual/ch03s03.html
http://cedar-solutions.com/software/cedar-backup/manual/apb.html
KEN
--
Kenneth J. Pronovici <pronovic@ieee.org>
http://www.cedar-solutions.com/
--
To unsubscribe, send mail to cedar-backup-users-unsubscribe@cedar-solutions.com.