Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    [Fixed] Error in Bug Reporting & User Action Attachment

    (ARCHIVED) Bug Reports
    5
    10
    1337
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RogerCooper
      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.

      redrum 1 Reply Last reply Reply Quote 0
      • redrum
        redrum Admin @RogerCooper last edited by

        @RogerCooper You have an outdated version of POS2. If you update it then you shouldn't see that error.

        C 1 Reply Last reply Reply Quote 0
        • RoiEX
          RoiEX Admin last edited by

          @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?
          /cc @LaFayette

          RogerCooper 1 Reply Last reply Reply Quote 0
          • RogerCooper
            RogerCooper @RoiEX 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.

            C redrum 2 Replies Last reply Reply Quote 0
            • RoiEX
              RoiEX Admin last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • Panther
                Panther Admin Moderators last edited by Panther

                FWIW POS2 loads fine here, with 1.10.14205.
                Also there is no

                costPU
                

                in the XML of the map-file that I have just downloaded.

                1 Reply Last reply Reply Quote 0
                • C
                  Cernel Moderators @redrum last edited by

                  @redrum Was the download version of pact_of_steel updated after this change?
                  https://github.com/triplea-maps/the_pact_of_steel/pull/27
                  If yes, then I guess the bug here is that the program is not telling @RogerCooper that he needs to update the map?

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cernel Moderators @RogerCooper last edited by

                    @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="costPU" value=":name="costResources" value="PUs" count="

                    See
                    https://github.com/triplea-game/triplea/issues/3475
                    for more information.

                    1 Reply Last reply Reply Quote 0
                    • redrum
                      redrum Admin @RogerCooper last edited by

                      @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 1 Reply Last reply Reply Quote 0
                      • RogerCooper
                        RogerCooper @redrum last edited by

                        @redrum Thanks for the help. I will update the scenarios.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums