[Fixed] Error in Bug Reporting & User Action Attachment
RogerCooper last edited by LaFayette
I am receiving the following error in all scenarios using the current prerelease with UserActionAttachments, for example Pact of Steel 2
Feb 24, 2019 3:48:54 PM games.strategy.engine.framework.ui.DefaultGameChooserEntry fullyParseGameData
SEVERE: Could not parse:jar:file:/C:/Users/Roger/triplea/downloadedMaps/the_pact_of_steel-master.zip!/the_pact_of_steel-master/map/games/pact_of_steel_2.xml
games.strategy.engine.data.GameParseException: map name: 'jar:file:/C:/Users/Roger/triplea/downloadedMaps/the_pact_of_steel-master.zip!/the_pact_of_steel-master/map/games/pact_of_steel_2.xml', game name: 'Pact of Steel 2', Missing property definition for option 'costPU' in attachment 'politicalActionAttachmentJapaneseDeclareWarOnRussians'
In addition, the new bug report window overlaps the actual error making impossible to proceed unless the window is moved beforehand. It then gives an error in sending the bug report.
@RogerCooper You have an outdated version of POS2. If you update it then you shouldn't see that error.
@RogerCooper This sounds like an issue with an outdated map. Try checking if the version is up-to-date and try again.
However the problems with the error window is an important thing to fix soon.
Could you provide some screenshots for us to see the visual (and actual) issue?
RogerCooper last edited by
@RoiEX My POS2 is up to date and I have had the same error with another mod.The code that is causing the error is:
<option name="costPU" value="0"/>
That code looks correct. Later today, I will try to check whether reverting to an old version of TripleA resolves this.
Well as far as I know PUs are no longer supported as such, instead it's just one of many resources that can be created or consumed.
@redrum can probably tell you more about this.
FWIW POS2 loads fine here, with 1.10.14205.
Also there is no
in the XML of the map-file that I have just downloaded.
@redrum Was the download version of pact_of_steel updated after this change?
If yes, then I guess the bug here is that the program is not telling @RogerCooper that he needs to update the map?
@RogerCooper Is your PoS2 telling you that "cosPU" is deprecated (in favour of costResources), or is it even the older one, where it was not deprecated.
Anyways, you can mass update this way:
name="costResources" value="PUs" count="
for more information.
@RogerCooper As mentioned by a few others, costPU is no longer supported and was replaced by costResources. All maps in the repo have been updated. If you are seeing that error then try deleting those maps and redownloading them.
RogerCooper last edited by
@redrum Thanks for the help. I will update the scenarios.