python runtests.py failed

Chris Sparshott sparkbouy at gmail.com
Fri Nov 28 09:50:13 EST 2008


Hi,

Running python runtests.py failed - nothing happened, initially

I tried added a path statement and I seem to have a bunch of errors - any
help appreciated.

Cheers
Chris

C:\Planet>python runtests.py
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\Planet>set path=%path%;c:\python26

C:\Planet>python runtests.py
C:\Planet\planet\reconstitute.py:16: DeprecationWarning: the md5 module is
depre
cated; use hashlib instead
  import re, time, md5, sgmllib
Genshi is not available => can't test genshi filters
sed is not available => can't test stripAd_yahoo
libxml2 is not available => can't test xpath_sifter
Traceback (most recent call last):
  File "runtests.py", line 44, in <module>
    for module in modules: __import__(module)
  File "C:\Planet\tests\test_filter_django.py", line 7, in <module>
    from planet.shell import dj
  File "C:\Planet\planet\shell\dj.py", line 5, in <module>
    import tmpl
  File "C:\Planet\planet\shell\tmpl.py", line 4, in <module>
    import htmltmpl
  File "C:\Planet\planet\vendor\htmltmpl.py", line 47, in <module>
    import portalocker  # for locking
  File "C:\Planet\planet\vendor\portalocker.py", line 46, in <module>
    import win32con
ImportError: No module named win32con
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20081128/55347f53/attachment.htm 


More information about the devel mailing list