Skip to content

Issues writing to manifestdb #604

Answered by skhrg
jlashner asked this question in Q&A
Discussion options

You must be logged in to vote

I had the same problem in the past. I think its because when it saves it makes a new database connection (see here).

I just tossed in a db = metadata.ManifestDb(idx_path) after the to_file and that worked for me. So in your case you could just get rid of the else.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mhasself
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants