|
From: Kaleb P. <kal...@gm...> - 2007-10-19 06:05:32
|
I went ahead and committed it to the tests folders, but it fails with the
following:
$ ./testrunner.py
Loading module testrunner...
Loading module testdaisysmilhandler...
Loading module parsesmil...
Traceback (most recent call last):
File "./testrunner.py", line 133, in ?
(errors, failures) = loadAndRunTests()
File "./testrunner.py", line 116, in loadAndRunTests
loadTestModules('',['testrunner\\.py'])
File "./testrunner.py", line 105, in loadTestModules
exec('import %s' % fullmod)
File "<string>", line 1, in ?
File "/home/kibab/work/lips/trunk/tests/parsesmil.py", line 9, in ?
xml.sax.parse("test.smil", dshandler)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/__init__.py", line 31,
in parse
parser.parse(filename_or_stream)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line
103, in parse
source = saxutils.prepare_input_source(source)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/saxutils.py", line 523,
in prepare_input_source
f = urllib2.urlopen(source.getSystemId())
File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 350, in open
protocol = req.get_type()
File "/usr/lib/python2.4/urllib2.py", line 233, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: test.smil
Apparently the test.smil file, which is in a sibling directory, needs to be
present, but that's not sufficient:
...
======================================================================
ERROR: testStartPar1 (testdaisysmilhandler.testDaisySmilHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/kibab/work/lips/trunk/tests/testdaisysmilhandler.py", line 130,
in testStartPar1
self.assertRaises(daisysmil.SmilError, self.h.startPar,
self.makeAttrs({}))
NameError: global name 'daisysmil' is not defined
...
As you're familiar with the config, I'll let you move things around a bit. I
did add ../daisyhandlers to the path, so it picks those up as a starting
point.
BTW, I'm in #qt on freenode most days during regular work hours as most of the
time I'm working on Qt.
--Kaleb
On Thursday 18 October 2007, Aaron Cannon wrote:
> The attachment was scrubbed by the list software. I've fixed that, so if
> you'd like to send again, it should come through.
>
> Thanks.
>
> Aaron
|