I had everything installed. I also just rechecked out the master branch from liblouis/liblouis on github. I ran the commands exactly as you sent them to me and I am still getting the same bad results. Can there be something left on my machine that is causing this? I removed liblouis out of /usr/local and out of /usr/share before I did your commands just trying to make sure nothing was left over. Ken -----Original Message----- From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Mesar Hameed Sent: Sunday, September 7, 2014 10:57 AM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: Running test harness Hi Ken, You might have installed liblouis, but not the liblouis python bindings, or you are running the runHarness script that is bundled with your old package. These are the exact steps you need to follow. cd to liblouis source ./autogen.sh --enable-ucs4 --prefix=/usr ./configure --enable-ucs4 --prefix=/usr make sudo make install cd python sudo python setup.py install sudo python3 setup.py install cd .. # to get out of the python directory. cd tests/harness ./runHarness.py en-ueb-g2-dictionary_harness.txt Hope that helps. Mesar On Sun 07/09/14,14:19, Ken Perry wrote: > Is there some kind of path I need to set when doing runHarness.py? I use the > master branch source so I am using 2.6. I have tried this on up-todate > Ubuntu 12.10 and up-todate 14.04 and get the same results. I did > easy_install nose and I did python setup.py liblouis install. . My python is > 2.7.3 and if anyone wants the whole 52 mb out put of the harness test I can > put it in my drop box but the last line of it is as follows and I will even > follow that with the first 100 lines of errors: > > Ran 99299 tests (0.0% success), with 4684 failures and 94614 errors. > > Errors: > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > File "/usr/lib/python2.7/unittest/case.py", line 331, in run > testMethod() > File > "/usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/case.py", > line 197, in runTest > self.test(*self.arg) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 149, in check_translate > tBrlCurPosStr = showCurPos(len(tBrl), tBrlCurPos) > File "/home/kperry/projects/liblouis/tests/harness/runHarness.py", line > 109, in showCurPos > display[pos1] = marker1 > IndexError: list assignment index out of range > > --- end --- > > --- Error: --- > Traceback (most recent call last): > > > I get 49000+ failures and > > -----Original Message----- > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Hammer > Attila > Sent: Sunday, September 7, 2014 2:25 AM > To: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Re: Running test harness > > Hi Ken, > > My Ubuntu 14.04 awailable both Python 2.7.7 and Python 3.4.0 versions. > Me installed the python-louis, python3-louis, python-nose and python3-nose > packages too to have possibility testing Python specific modules both > Python2.7 and Python 3.4. > The 14.04 repo awailable Liblouis version is following: 2.5.3-2ubuntu1 > Because this version is little old, you need compiling from source with > Liblouis to have possibility using the latest 2.6.0 version. > > Attila > For a description of the software, to download it and links to project > pages go to http://www.abilitiessoft.com For a description of the > software, to download it and links to project pages go to > http://www.abilitiessoft.com For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com