Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema dbmirror2 does not exist #15

Closed
verl-tech opened this issue Aug 21, 2024 · 1 comment
Closed

schema dbmirror2 does not exist #15

verl-tech opened this issue Aug 21, 2024 · 1 comment

Comments

@verl-tech
Copy link

New install using: "pipx install git+https://github.com/acoustid/mbslave.git"

database imports fine using: "mbslave init --create-database"

running command "mbslave sync" fails with the following:

INFO:mbslave.replication:Downloading https://metabrainz.org/api/musicbrainz/replication-170231-v2.tar.bz2?token=***
INFO:mbslave.replication:Packet was produced at 2024-08-21 01:05:40.896471+00
Traceback (most recent call last):
File "/root/.local/bin/mbslave", line 8, in
sys.exit(main())
File "/root/.local/share/pipx/venvs/mbslave/lib64/python3.9/site-packages/mbslave/replication.py", line 801, in main
args.func(config, args)
File "/root/.local/share/pipx/venvs/mbslave/lib64/python3.9/site-packages/mbslave/replication.py", line 516, in mbslave_sync_main
process_tar(packet, db, config, ignored_schemas, ignored_tables, schema_seq, replication_seq, hook)
File "/root/.local/share/pipx/venvs/mbslave/lib64/python3.9/site-packages/mbslave/replication.py", line 460, in process_tar
importer.load_pending_data(member_file)
File "/root/.local/share/pipx/venvs/mbslave/lib64/python3.9/site-packages/mbslave/replication.py", line 355, in load_pending_data
cursor.execute('TRUNCATE dbmirror2.pending_data')
psycopg2.errors.InvalidSchemaName: schema "dbmirror2" does not exist

@lalinsky
Copy link
Member

I've just merged #8 which should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants