Closed lincoln017 closed 1 year ago
This is likely related to the Q2 2022 upgrade of MB schema. It adds a gid column to the artist_credit table. The changes to support it in mbdata were merged recently. However, a release with those changes is currently not available on pypi. Until a new release is done, you can try installing from the source, something like pip install mbdata@git+https://github.com/acoustid/mbdata.git@bbe303865e4cec3f83a65ce29f0d3468c729173e
.
This way is probably better:
pip install https://github.com/acoustid/mbdata/archive/bbe303865e4cec3f83a65ce29f0d3468c729173e.zip
as you don't need git in your docker container (if applicable) and you don't need to clone the whole repo (as advised here).
Trying to build a standalone database (no replication) with the June 1 extracts and get a psycopg2.errors.BadCopyFileFormat error - see output / error messages below. I'm assuming this is related to the schema upgrade last month, but it's not clear how or where to retrieve the latest / correct sql. I would have assumed an update to the mbdata package would correspond to the schema changes, but no luck. I'm not running the server or docker - just want to play around with the database. Any pointers / advice much appreciated. Thanks.