Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
bob.db.asvspoof
bob.db.asvspoof
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • bob
  • bob.db.asvspoofbob.db.asvspoof
  • Issues
  • #3

Closed
Open
Opened Sep 01, 2016 by Amir MOHAMMADI@amohammadi
  • Report abuse
  • New issue
Report abuse New issue

RuntimeError: Database 'asvspoof' cannot be found at expected location

ERROR: bob.bio.db.tests.test_implementations.test_ASVspoofBioDatabase
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/bio/db/tests/test_implementations.py", line 77, in test_ASVspoofBioDatabase
    _check_database(database, training_depends=True, skip_train=True)
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/bio/db/tests/test_implementations.py", line 38, in _check_database
    assert len(database.all_files()) > 0
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/bio/db/database.py", line 449, in all_files
    return self.sort(self.objects(protocol=self.protocol, groups=groups, **self.all_files_options))
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/bio/db/databases/asvspoof.py", line 121, in objects
    clients=model_ids, gender=gender)
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/db/asvspoof/query.py", line 106, in objects
    self.assert_validity()
  File "/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/db/asvspoof/query.py", line 64, in assert_validity
    INFO.name(), SQLITE_FILE))
RuntimeError: Database 'asvspoof' cannot be found at expected location '/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/env/lib/python2.7/site-packages/bob/db/asvspoof/db.sql3'.  Create it and then try re-connecting using Database.connect()

I see that this is being downloaded in the nightlies:

$ ./bin/bob_dbmanage.py all download

Extracting url 'https://www.idiap.ch/software/bob/databases/latest/asvspoof.tar.bz2' to '/local/gitlab-runner/builds/224a6381/0/bob/bob.nightlies/src/bob.db.asvspoof/bob/db/asvspoof/db.sql3'

But the db.sql3 in the wheel. While all other databases including avspoof have their db.sql3 in their wheel.

Assignee
Assign to
Refactoring 2016 and gitlab migration milestone
Milestone
Refactoring 2016 and gitlab migration milestone
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: bob/bob.db.asvspoof#3