Error when converting Middle East scenario



  • I am applying my usual techniques when converting the old Middle East scenario. I am getting an unusual error:

    triplea.engine.version.bin:1.9
    Could not find attachment 'games.strategy.triplea.attatchments.TerritoryAttachment'. This is can be a map configuration problem, and would need to be fixed in the map XML. Or, the map XML is using a feature from a newer game engine version, and you will need to install the latest TripleA for it to be enabled. Meanwhile, the functionality provided by this attachment will not available.
    Could not parse:file:/C:/Users/Judy/triplea/downloadedMaps/Middle_East/games/middle_east.xml
    games.strategy.engine.data.GameParseException: MapName: file:/C:/Users/Judy/triplea/downloadedMaps/Middle_East/games/middle_east.xml, Attachment of type games.strategy.triplea.attatchments.TerritoryAttachment could not be instantiated

    0_1506642333169_middle_east.xml
    I have attached the XML file. When I validate against the game.dtd I received the equally mysterious error "Error at line 620, column 18: no declaration found for element 'attachmentList'"

    Does anyone see what is wrong?


  • Admin

    @rogercooper Looked really quickly but didn't go through it in-depth. Seems to be some inconsistencies in the formatting of the territory attachments... these might be what are causing the issues.


  • Admin

    @rogercooper said in Error when converting Middle East scenario:

    games.strategy.triplea.attatchments.TerritoryAttachment

    It looks like you have the package name wrong in the XML:
    games.strategy.triplea.attatchments.TerritoryAttachment

    Should be:
    games.strategy.triplea.attachments.TerritoryAttachment


  • Admin

    @redrum said in Error when converting Middle East scenario:

    games.strategy.triplea.attatchments.TerritoryAttachment

    Man is infallible...

    "Al Qalif" Old attatchment for that terr.



  • @hepps Thanks for everyone's help. I was able to convert everything successfully. It is odd that seemingly identical pieces of text were actually slightly different.