[liblouis-liblouisxml] Re: Running test harness

  • From: Ken Perry <kperry@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Sun, 7 Sep 2014 14:19:21 +0000

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

Other related posts: