bob.db.base issueshttps://gitlab.idiap.ch/bob/bob.db.base/-/issues2017-09-30T18:11:14Zhttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/16It seems latest changes to bob.db.base breaks bob.pad.base (at least)2017-09-30T18:11:14ZPavel KORSHUNOVIt seems latest changes to bob.db.base breaks bob.pad.base (at least)See build here:https://gitlab.idiap.ch/bob/bob.pad.base/builds/61260
It is possible that bob.bio.base would be broken too
```
ERROR: test01_database (bob.pad.base.test.test_databases.DummyDatabaseSqlTest)
------------------------...See build here:https://gitlab.idiap.ch/bob/bob.pad.base/builds/61260
It is possible that bob.bio.base would be broken too
```
ERROR: test01_database (bob.pad.base.test.test_databases.DummyDatabaseSqlTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python2.7/site-packages/bob/pad/base/test/test_databases.py", line 48, in test01_database
assert db.original_file_name(file) == "original/directory/test/path.orig"
File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python2.7/site-packages/bob/db/base/database.py", line 230, in original_file_name
"The original_directory and/or the original_extension were not specified in the constructor.")
ValueError: The original_directory and/or the original_extension were not specified in the constructor.
```May 2017 HackathonAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/15Circular dependency on bob.db.atnt2017-09-30T18:11:14ZAmir MOHAMMADICircular dependency on bob.db.atntNightlies are failing because of this: https://gitlab.idiap.ch/bob/bob.nightlies/builds/60096
@andre.anjos please take care of this as soon as possible since we want the python 3.6 wheels.Nightlies are failing because of this: https://gitlab.idiap.ch/bob/bob.nightlies/builds/60096
@andre.anjos please take care of this as soon as possible since we want the python 3.6 wheels.May 2017 HackathonAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/14Create a low-level database creation guide2017-09-30T18:11:14ZAmir MOHAMMADICreate a low-level database creation guideWe have a guide here: https://gitlab.idiap.ch/biometric/software/wikis/database_creation_guide but it is outdated and full of grammar and spelling errors.
Also see !16We have a guide here: https://gitlab.idiap.ch/biometric/software/wikis/database_creation_guide but it is outdated and full of grammar and spelling errors.
Also see !16May 2017 HackathonAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/13The Database interface lacks a constructor2017-09-30T18:11:14ZManuel Günthersiebenkopf@googlemail.comThe Database interface lacks a constructorThe current `Database` interface contains a function `original_file_names`, which accesses the `self.original_directory` and `self.original_extension` parameters: https://gitlab.idiap.ch/bob/bob.db.base/blob/master/bob/db/base/database.p...The current `Database` interface contains a function `original_file_names`, which accesses the `self.original_directory` and `self.original_extension` parameters: https://gitlab.idiap.ch/bob/bob.db.base/blob/master/bob/db/base/database.py#L147.
In the old `bob.db.verification.utils.Database`, these parameters were passes in the constructor, but here, there is no way to set these parameters, as the `Database` class does not have a constructor.
In several derived classes (for example, `bob.db.mobio`: https://gitlab.idiap.ch/bob/bob.db.mobio/blob/master/bob/db/mobio/query.py#L40), these parameters are passed in the constructor, but as the base class does not accept them anymore as parameters, they are **not used at all**, see bob/bob.db.mobio#7
I remember that we have discussed this issue during the database refactoring. I don't remember, what was the outcome of this discussion. Shall the low-level databases be able to retrieve the original data, e.g., using the `original_file_names` function (in which case we need to provide `original_directory` and `original_extension` as parameters to the constructor), or shall we remove this function?May 2017 HackathonAlain KOMATYAlain KOMATY