I'm running the program on RH8 Linux. I downloaded the wxWindows
and the wxPython libraries. Whenever I start it from './pyDC.sh' it gives
the following error as on output -
[ravi@localhost pydc]$ ./pyDC.sh
Traceback (most recent call last):
File "pydc.py", line 6, in ?
from MainWnd import *
File "MainWnd.py", line 7, in ?
from Settings import *
File "Settings.py", line 10, in ?
from DCSettings import DCSettings
File "/opt/pydc/pydc/pyDClib/DCSettings.py", line 12, in ?
from xml.sax.saxutils import escape, unescape
ImportError: cannot import name unescape
I also tried the CLI and this came out -
[ravi@localhost pydc]$ ./inter.sh
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
/opt/pydc/pydc/pyDClib/DCChannel.py:20: Warning: 'yield' will become a
reserved
keyword in the future
Traceback (most recent call last):
File "InterUtils.py", line 6, in ?
from DCWorker import *
File "/opt/pydc/pydc/pyDClib/DCWorker.py", line 16, in ?
from DCHub import *
File "/opt/pydc/pydc/pyDClib/DCHub.py", line 12, in ?
from DCChannel import *
File "/opt/pydc/pydc/pyDClib/DCChannel.py", line 20
yield DCChannelCommand(self.cmdBuf[:pos])
^
SyntaxError: invalid syntax
>>>
Also, should add that while installing the wxWindows lib, after the 'make
install' command, I tried 'ldconfig', but it did'nt work. So I used an
ldconfig file I found in the '/sbin' directory on my comp.
Ravster here,
Thanks
Logged In: YES
user_id=346186
Please contact me at aborder@users.sourceforge.net using
your real email address (I've tried replying to
ravster@users.sourceforge.net but I got a '550 Unrouteable
address' error!)