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
Importer fails on second bookmark #166
Comments
I think I see what the issue is there: the user_bookmarks table has a uniqueness constraint on the book column. I think that's a mistake in intent: there should be a uniqueness constraint for a user and a book and not for just a book. |
@SkaryMonk I'm pushing a change for this. Would you mind testing it and seeing if it solves the problem for you? If so, please respond here and close the ticket. I'm going to backport this change to a 0.5.1 release so that users of the current release can also benefit from the fix if it works. |
That was exactly it! Or if it wasn't, your commits still fixed it. :) |
Wait, it might be worth noting that I am now getting a lot of |
I accidentally specified a non-existing user for the successful import. It seems the issue persists when I use an existing user. :( |
@SkaryMonk That output in the logs i normal and isn't related to the issue you reported. Also, I just realized that you never actually got the code: since it's in a PR it doesn't get automatically included in a build. I'm going to go ahead and promote the PR and the next build will have the fix in it. Then please test it and, if it works, close this ticket. |
Closing this as fixed. @SkaryMonk if you see the error pop up again please feel free to respond on this issue. |
When importing my ComicDB.xml from ComicRack, the import fails when trying to create the second bookmark because of a key violation.
Error Message:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The import should correctly do the bookmark IDs and finish the import.
Desktop (please complete the following information):
** ComiXed Build Detail **
Source Branch | develop
Build Hostname | Pickled-Punk
Built On | Feb 27, 2020, 3:57:13 PM
Version | 0.6.0-0
Commit Hash | bf39671
Committer Name | Darryl L. Pierce (mcpierce@users.noreply.github.com)
Time Of Last Commit | Feb 24, 2020, 12:35:52 AM
Commit Message | [Issue #108] Add an option to override the image cache directory. (#146)
Built From Uncommitted Code? | false
Remote Origin | https://github.com/comixed/comixed.git
The text was updated successfully, but these errors were encountered: