when running an example for installation

36 views
Skip to first unread message

Nicole Mikhael Imad

unread,
Dec 2, 2020, 5:52:39 AM12/2/20
to bob-devel
dear
kindly note that i am running the experiment where i create  bob environment and install the required package bob.bio.spear bob.db.voxforge
 and i executed this command
bob config set bob.db.atnt.directory /path/to/atnt/directory
bob config set bob.db.atnt.directory /home/nicole/Downloads/Dataset_30_Sep/VOXFORGE_DATABASE/to/atnt/directory

but when tested i received this error:======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'bob.db.atnt')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/test_stacks.py", line 8, in <module>
    from bob.bio.base.test.dummy.extractor import extractor as dummy_extractor
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/dummy/__init__.py", line 1, in <module>
    from . import database
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/dummy/database.py", line 49, in <module>
    database = DummyDatabase()
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/dummy/database.py", line 18, in __init__
    import bob.db.atnt
ModuleNotFoundError: No module named 'bob.db.atnt'

======================================================================
FAIL: bob.bio.base.test.test_annotators.test_annotate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/test_annotators.py", line 23, in test_annotate
    assert result.exit_code == 0, assertion_error_message
AssertionError: Command exited with this output: `'
If the output is empty, you can run this script locally to see what is wrong:
bin/bob bio annotate -vvv --force -d dummy -a dummy -o /tmp/temp_annotations
-------------------- >> begin captured logging << --------------------
bob.extension.scripts.click_helper: DEBUG: Augmenting context with config context
bob.extension.scripts.click_helper: DEBUG: consuming resource option for database
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: bob.bio.base.test.test_baselines.test_baselines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/nicole/miniconda3/envs/bob/lib/python3.7/site-packages/bob/bio/base/test/test_baselines.py", line 18, in test_baselines
    assert result.exit_code == 0, assertion_error_message
AssertionError: Command exited with this output and exception: `'
 `No module named 'bob.db.atnt''
If the output is empty, you can run this script locally to see what is wrong:
bin/bob bio baseline dummy dummy -T /tmp/baseline -R /tmp/baseline

----------------------------------------------------------------------
Ran 73 tests in 24.906s

FAILED (SKIP=2, errors=26, failures=2)



Reply all
Reply to author
Forward
0 new messages