Skip to content

Regression

test_fuzzy_segmenting.test_segment (from nosetests)

Failing for the past 1 build (Since Failed#410 )
Took 0 ms.

Error Message

[Errno 2] No such file or directory: '/mnt/data/jenkins/workspace/DARIAH-Topics/grenzboten_sample/Grenzboten_1844_Tagebuch_56.txt'

Stacktrace

Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.5/unittest/case.py", line 601, in run
    testMethod()
  File "/mnt/data/jenkins/shiningpanda/jobs/62c67c92/virtualenvs/d41d8cd9/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/test/test_fuzzy_segmenting.py", line 104, in test_segment
    text = path.read_text(encoding='utf-8')
  File "/usr/lib/python3.5/pathlib.py", line 1164, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/usr/lib/python3.5/pathlib.py", line 1151, in open
    opener=self._opener)
  File "/usr/lib/python3.5/pathlib.py", line 1005, in _opener
    return self._accessor.open(self, flags, mode)
  File "/usr/lib/python3.5/pathlib.py", line 371, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data/jenkins/workspace/DARIAH-Topics/grenzboten_sample/Grenzboten_1844_Tagebuch_56.txt'