gramps-project / gramps-web-api

A RESTful web API for Gramps
GNU Affero General Public License v3.0
77 stars 40 forks source link

Exception: no such database backend: 'sqlite' #2

Closed DavidMStraub closed 4 years ago

DavidMStraub commented 4 years ago

The Travis builds still fail with the above exception stemming from the call make_database("sqlite").

https://travis-ci.com/github/gramps-project/web-api/jobs/384394846#L309

On my local system it works, even in a virtual environment, so I'm a bit puzzled how to debug this. I also tried registering the plugins but this did not fix it.

@Nick-Hall, do you know what the cause could be?

Nick-Hall commented 4 years ago

Yes. When you change the major version you will also have to update the target version for the plugins. For example, the gramps_target_version for the sqlite plugin will need to be set to '5.2'.

I'll have a look at the procedure we used for the last major release.

DavidMStraub commented 4 years ago

But this pipeline failed already before I changed the version from 5.1.4 to 5.2.0, so I think there must be a different cause.

DavidMStraub commented 4 years ago

Apologies, I realized the offending call (make_database) wasn't actually used, so I simply fixed it by removing it.