Sheep-y / trpg-dnd-4e-db

4e Compendium - Offline D&D 4e Database
Other
57 stars 7 forks source link

Error exporting db with "Fix and enhance data" selected #39

Open ScurvyPlatypus opened 6 years ago

ScurvyPlatypus commented 6 years ago

Ran the downloader no problem. Had the "Fix and enhance data" selected and tried exporting and received the error "Error converting implement113 Blue Orb of Dragonkind." Tried a couple of more times with the same result. Unchecked "Fix and enhance option" and successfully exported. Tried again to export fixed data and again received error. Copied log starting from successful export and ending with most recent unsuccessful export.

Thanks for making the tool! Even if I don't have the fixed data, just being able to access something offline is brilliant!

compendium downloader.txt

Sheep-y commented 6 years ago

The log is very useful, thanks! I'll try to contain the error with the info in there, but I should be able to make a better fix if you can zip and attach the file "dnd4_compendium.database".

ScurvyPlatypus commented 6 years ago

Attached as requested.

dnd4_compendium.zip

Sheep-y commented 6 years ago

Thanks for the file. Sorry to report that I can't reproduce the bug. I tried ver 3.6.1, 3.6.0, and 3.5.3 on Sun Java 9.0.4.

I've been thinking about it, and it may be a multi-thread issue. Do you get the same error in the same entry everytime, and does it happen if you change thread count to 1?

ScurvyPlatypus commented 6 years ago

It was. I'd left it set for a default of 0. As soon as I changed it to 1, it exported without error. I also tried the export with Fixed and Compressed, and that exported without a problem as well. Previously it would export both the regular version and the compressed version but had an error anytime the Fix option was included.

Also, for whatever it's worth, yes it happened at exactly that same point: Blue Orb of Dragonkind. Which was at the 98% point (according to the progress wheel) of exporting.

Thank you very much for your time and continued support of such a great tool.