-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with dpseg/AG installations still there? #26
Comments
Apologies, I should have included the output of pytest -v ../test/test_algo_ag.py::test_grammar_files PASSED ] PASSED =================================== FAILURES =================================== prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_ag.py:31: text = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_ag.py:72: ../wordseg/algos/ag.py:719: in segment text = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_ag.py:72: ../wordseg/algos/ag.py:719: in segment text = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError tmpdir = local('/private/var/folders/mx/f_gpzmq105x8sgqfdtbr4zrr0000gn/T/pytest-of-acristia/pytest-10/test_mark_jonhson0')
../test/test_algo_ag.py:101: text = <open file '/Users/acristia/Documents/wordseg_utest/test/data/ag_testeng.yld', mode 'rb' at 0x10d157270>
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError datadir = '/Users/acristia/Documents/wordseg_utest/test/data'
../test/test_algo_ag.py:122: ../wordseg/algos/ag.py:719: in segment text = ['\u0283 i\u02d0 d \u028c z \u0250 \u0279 i\u0259 l i w \u028c n d \u025a f \u0259l d\u0292 \u0251\u02d0 b b \u026a k \u028c z \u0283 i\u02d0', 's \u025b n t t \u0259 v i\u02d0 \u0259 t n \u0251\u02d0 m', 'l \u026a \u027e \u0259l b \u026a t t \u028c f \u025a... a\u026a h \u0250 d f \u0279 \u025b n t\u0283', '\xe6 z \u0250 \u0279 \u026a z \u028c l t \xf0 e\u026a t \u028a k \u0279 \u026a l \u026a d\u0292 \u0259 n a\u028a \u027e \u0259 v \xf0 \u0259 p \u0279 o\u028a \u0261 \u0279 \xe6 m \xe6 n d \xf0 e\u026a p \u028a t', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:36: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:36: ../wordseg/algos/dpseg.py:325: in segment self = Parallel(n_jobs=4)
E JoblibRuntimeError: JoblibRuntimeError /anaconda/lib/python2.7/site-packages/joblib-0.11-py2.7.egg/joblib/parallel.py:740: JoblibRuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:36: ../wordseg/algos/dpseg.py:325: in segment self = Parallel(n_jobs=2)
E JoblibRuntimeError: JoblibRuntimeError /anaconda/lib/python2.7/site-packages/joblib-0.11-py2.7.egg/joblib/parallel.py:740: JoblibRuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1'], args = ''
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:41: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:60: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:60: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
../test/test_algo_dpseg.py:60: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc4\u0bc3\u0bc5', '\u0bbb\u0bba\u0bc5\u0bc8\u0bb9\u0bc6\u0bc9', '\u0bc1\u0bc9\u0bca\u0bc0\u0bbc\u0bbf\u0bc2\u0bca\u0bcb\u0bc7', '\u0bc8\u0bbd\u0bc7\u0bcd\u0bc3\u0bcd\u0bcc\u0bbe\u0bb9\u0bc7\u0bbd\u0bbc', '\u0bbe\u0bbc\u0bc1']
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError algo = 'ag', encoding = 'ascii'
../test/test_pipeline.py:77: ../wordseg/algos/ag.py:719: in segment text = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError algo = 'ag', encoding = 'unicode'
../test/test_pipeline.py:77: ../wordseg/algos/ag.py:719: in segment text = ['\u10da \u0b16 r', 'dh \u0807 r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d \u0b16 d y uw iy t ah p', 'uw p s', 'l \u0b16 t ax l b \u0b16 t m ao r', ...]
E RuntimeError: fails with error code -6 ../wordseg/algos/ag.py:447: RuntimeError algo = 'dpseg', encoding = 'ascii'
../test/test_pipeline.py:63: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc6\u0bbf\u0bc3', '\u0bc4\u0bbc\u0bc3\u0bd2\u0bb9\u0bc9\u0bd3', '\u0bcf\u0bd3\u0bc1\u0bcb\u0bce\u0bc0\u0bd0\u0bc1\u0bcd\u0bd1', '\u0bd2\u0bbd\u0bd1\u0bc8\u0bbf\u0bc8\u0bc5\u0bca\u0bb9\u0bd1\u0bbd\u0bce', '\u0bca\u0bce\u0bcf', '\u0bcc\u0bbf\u0bd1\u0bc1\u0bcc\u0bc7\u0bbf\u0bd1\u0bcb\u0bbe\u0bc3', ...]
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError algo = 'dpseg', encoding = 'unicode'
../test/test_pipeline.py:63: ../wordseg/algos/dpseg.py:325: in segment text = ['\u0bc6\u0bc0\u0bc3', '\u0bc4\u0bbc\u0bc3\u0bd2\u0bb9\u0bc9\u0bd3', '\u0bcf\u0bd3\u0bc1\u0bcb\u0bce\u0bbf\u0bd0\u0bc1\u0bcd\u0bd1', '\u0bd2\u0bbd\u0bd1\u0bc8\u0bc0\u0bc8\u0bc5\u0bca\u0bb9\u0bd1\u0bbd\u0bce', '\u0bca\u0bce\u0bcf', '\u0bcc\u0bc0\u0bd1\u0bc1\u0bcc\u0bc7\u0bc0\u0bd1\u0bcb\u0bbe\u0bc3', ...]
E RuntimeError: failed with error code -11 ../wordseg/algos/dpseg.py:293: RuntimeError tags = ['hh ih r ;esyll ;eword', 'dh eh r ;esyll ;eword w iy ;esyll ;eword g ow ;esyll ;eword', 's ow ;esyll ;eword ax m p ;e...yll ;eword', 'uw p s ;esyll ;eword', 'l ih t ;esyll ax l ;esyll ;eword b ih t ;esyll ;eword m ao r ;esyll ;eword', ...]
../test/test_tutorial.py:23: popenargs = (['/Users/acristia/Documents/wordseg_utest/doc/tutorial.py', '/private/var/folders/mx/f_gpzmq105x8sgqfdtbr4zrr0000gn/T/pytest-of-acristia/pytest-10/test_tutorial_py_0/input.txt'],)
E CalledProcessError: Command '['/Users/acristia/Documents/wordseg_utest/doc/tutorial.py', '/private/var/folders/mx/f_gpzmq105x8sgqfdtbr4zrr0000gn/T/pytest-of-acristia/pytest-10/test_tutorial_py_0/input.txt']' returned non-zero exit status 1 /anaconda/lib/python2.7/subprocess.py:186: CalledProcessError
{ |
Ok, the dpseg is still not working on MacOS (see #4), but AG should be ok. Can you please report the output of Thanks! |
Alejandrinas-MacBook-Air:wordseg_utest acristia$ pytest -vx
test/test_algo_ag.py::test_ag_single_ru
*============================= test session starts
==============================*
platform darwin -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 --
/anaconda/bin/python
cachedir: .cache
rootdir: /Users/acristia/Documents/wordseg_utest, inifile:
*collecting 9 items*
*========================= no tests ran in 1.28 seconds
=========================*
ERROR: not found:
/Users/acristia/Documents/wordseg_utest/test/test_algo_ag.py::test_ag_single_ru
(no name
'/Users/acristia/Documents/wordseg_utest/test/test_algo_ag.py::test_ag_single_ru'
in any of [<Module 'test/test_algo_ag.py'>])
Alejandrinas-MacBook-Air:wordseg_utest acristia$ cd test/
Alejandrinas-MacBook-Air:test acristia$ pytest -vx
test/test_algo_ag.py::test_ag_single_ru
*=======================================================================
test session starts
========================================================================*
platform darwin -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 --
/anaconda/bin/python
cachedir: .cache
rootdir: /Users/acristia/Documents/wordseg_utest/test, inifile:
*=================================================================== no
tests ran in 0.00 seconds
===================================================================*
ERROR: file not found: test/test_algo_ag.py::test_ag_single_ru
Alejandrinas-MacBook-Air:test acristia$ ls
…__init__.py test_algo_ag.py test_algo_puddle.py test_pipeline.py
test_syllabification.py
__init__.pyc test_algo_baseline.py test_algo_tp.py test_prepare.py
test_tutorial.py
__pycache__ test_algo_dibs.py test_evaluate.py test_separator.py
test_utils.py
data test_algo_dpseg.py test_folding.py test_statistics.py
test_wordseg_commands.py
Alejandrinas-MacBook-Air:test acristia$ cd ..
Alejandrinas-MacBook-Air:wordseg_utest acristia$ git pull
remote: Counting objects: 28, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 28 (delta 18), reused 26 (delta 16), pack-reused 0
Unpacking objects: 100% (28/28), done.
From https://github.com/bootphon/wordseg
74b99fd..65aa776 master -> origin/master
74b99fd..711242e new-docs -> origin/new-docs
ec7e97d..9d92f4e readthedocs-pages -> origin/readthedocs-pages
Updating 74b99fd..65aa776
Fast-forward
doc/tutorial.sh | 2 +-
wordseg/evaluate.py | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
Alejandrinas-MacBook-Air:wordseg_utest acristia$ pytest -vx
test/test_algo_ag.py::test_ag_single_ru
*=======================================================================
test session starts
========================================================================*
platform darwin -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 --
/anaconda/bin/python
cachedir: .cache
rootdir: /Users/acristia/Documents/wordseg_utest, inifile:
*collecting 9 items*
*=================================================================== no
tests ran in 0.73 seconds
===================================================================*
ERROR: not found:
/Users/acristia/Documents/wordseg_utest/test/test_algo_ag.py::test_ag_single_ru
(no name
'/Users/acristia/Documents/wordseg_utest/test/test_algo_ag.py::test_ag_single_ru'
in any of [<Module 'test/test_algo_ag.py'>])
Alejandrinas-MacBook-Air:wordseg_utest acristia$ cd test/
Alejandrinas-MacBook-Air:test acristia$ pytest -vx
test/test_algo_ag.py::test_ag_single_ru
*=======================================================================
test session starts
========================================================================*
platform darwin -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 --
/anaconda/bin/python
cachedir: .cache
rootdir: /Users/acristia/Documents/wordseg_utest/test, inifile:
*=================================================================== no
tests ran in 0.00 seconds
===================================================================*
ERROR: file not found: test/test_algo_ag.py::test_ag_single_ru
|
test/test_algo_ag.py::test_ag_single_run and not test/test_algo_ag.py::test_ag_single_ru ;) |
Ooops! Results below; is it normal to have the line breaks: test_text = 'hh ih r**\ndh eh r w iy g ow\ns ow ax m p ey sh ax n t\n** ... '? ============================= test session starts ============================== test/test_algo_ag.py::test_ag_single_run FAILED =================================== FAILURES =================================== prep = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
test/test_algo_ag.py:31: text = ['hh ih r', 'dh eh r w iy g ow', 's ow ax m p ey sh ax n t', 'w ah t d ih d y uw iy t ah p', 'uw p s', 'l ih t ax l b ih t m ao r', ...]
E RuntimeError: fails with error code -6 wordseg/algos/ag.py:447: RuntimeError PS: On another mac now, can replicate the original error (although I see tests are MUCH faster here! interesting...) |
At this level this is normal to have line breaks as the text is wrote in a temp file: For your error, I definitely need to work on a mac to understand what appends... (for dpseg as well) |
From Mac, dpseg and ag can now be used from docker. We do not plan to support it directly. |
A moment ago, I cloned yet another copy of wordseg, followed instructions for system-wide installation. Yet the install doesn't fully pass tests:
Alejandrinas-MacBook-Air:build acristia$ make test
Running tests...
Test project /Users/acristia/Documents/wordseg_utest/build
Start 1: wordseg.test_algo_ag.py
1/16 Test #1: wordseg.test_algo_ag.py ............***Failed 2.39 sec
Start 2: wordseg.test_algo_baseline.py
2/16 Test #2: wordseg.test_algo_baseline.py ...... Passed 0.58 sec
Start 3: wordseg.test_algo_dibs.py
3/16 Test #3: wordseg.test_algo_dibs.py .......... Passed 1.56 sec
Start 4: wordseg.test_algo_dpseg.py
4/16 Test #4: wordseg.test_algo_dpseg.py .........***Failed 14.74 sec
Start 5: wordseg.test_algo_puddle.py
5/16 Test #5: wordseg.test_algo_puddle.py ........ Passed 2.91 sec
Start 6: wordseg.test_algo_tp.py
6/16 Test #6: wordseg.test_algo_tp.py ............ Passed 0.64 sec
Start 7: wordseg.test_evaluate.py
7/16 Test #7: wordseg.test_evaluate.py ........... Passed 0.63 sec
Start 8: wordseg.test_folding.py
8/16 Test #8: wordseg.test_folding.py ............ Passed 1.46 sec
Start 9: wordseg.test_pipeline.py
9/16 Test #9: wordseg.test_pipeline.py ...........***Failed 5.85 sec
Start 10: wordseg.test_prepare.py
10/16 Test #10: wordseg.test_prepare.py ............ Passed 0.78 sec
Start 11: wordseg.test_separator.py
11/16 Test #11: wordseg.test_separator.py .......... Passed 0.94 sec
Start 12: wordseg.test_statistics.py
12/16 Test #12: wordseg.test_statistics.py ......... Passed 0.75 sec
Start 13: wordseg.test_syllabification.py
13/16 Test #13: wordseg.test_syllabification.py .... Passed 0.65 sec
Start 14: wordseg.test_tutorial.py
14/16 Test #14: wordseg.test_tutorial.py ...........***Failed 13.05 sec
Start 15: wordseg.test_utils.py
15/16 Test #15: wordseg.test_utils.py .............. Passed 0.70 sec
Start 16: wordseg.test_wordseg_commands.py
16/16 Test #16: wordseg.test_wordseg_commands.py ... Passed 7.52 sec
75% tests passed, 4 tests failed out of 16
Total Test time (real) = 55.19 sec
The following tests FAILED:
1 - wordseg.test_algo_ag.py (Failed)
4 - wordseg.test_algo_dpseg.py (Failed)
9 - wordseg.test_pipeline.py (Failed)
14 - wordseg.test_tutorial.py (Failed)
Errors while running CTest
make: *** [test] Error 8
Note that no errors during brew:
$ brew install python3 boost cmake
Warning: python3 3.6.4_2 is already installed
Warning: boost 1.66.0 is already installed
Warning: cmake 3.10.1 is already installed
The text was updated successfully, but these errors were encountered: