jlkatz / OCTGN.OCTGNDeckConverter

A comprehensive OCTGN deck converter for OCTGN 3 which can convert several formats, websites, and plain text into the OCTGN 3 format.
http://octgngames.com/deckconverter/
7 stars 9 forks source link

Deck editor stopped working #21

Closed bykr closed 7 years ago

bykr commented 7 years ago

Happened after installing the Commander 2017 image pack for Magic The Gathering.

Upper right hand corner says "Loading OCTGN database..." as if it's not completing that task. When I try to import a deck from text I get the following error messages.

An error occurred while trying to convert the deck. Please try again.

Details: System.NullReferenceException: Object reference not set to an instance of an object. at OCTGNDeckConverter.Model.ConverterDeck.PopulateConverterMappings(Dictionary2 converterSets) at OCTGNDeckConverter.Model.ConvertEngine.TextConverter.ConvertText(Dictionary2 sectionsText, Dictionary2 converterSets, IEnumerable1 deckSectionNames) at OCTGNDeckConverter.Model.ConvertEngine.Game.GameConverter.ConvertText(Dictionary`2 sectionsText, ConverterGame converterGame) at OCTGNDeckConverter.Model.Converter.Convert()

Tried the simplest deck ("1 Swamp") and got the same result. Tried importing from a deck on tappedout.net and got the same result.

jlkatz commented 7 years ago

Thanks for reporting, I was able to replicate the problem. I'll investigate it shortly.

jlkatz commented 7 years ago

I updated the plugin to .NET version 4.6 to match OCTGN, and also updated the OCTGN DLL references. Seems to work for me again. A new version has been created, v3.6.0.