Skip to content

Creating the database fails

When I try to run bin/bob_dbmanage.py arface create, I get the following error:

bob/db/arface/models.py", line 89, in __init__
    bob.db.base.File.__init__(self, file_id = image_name, client_id = image_name[:5], path = image_name)
TypeError: __init__() got an unexpected keyword argument 'client_id'

I assume that there was an error while switching form bob.db.verification.utils.File, which accepts the client_id keyword to bob.db.base.File, which does not. While just using the database with the stored db.sql3 database file, this works fine -- since the bob.db.arface.File constructor is never called. When trying to use the File class (as done during create), this issue shows up.

I assume that this issue shows up in many more databases.