TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    [Fixed] Error in Bug Reporting & User Action Attachment

    Scheduled Pinned Locked Moved Bug Reports
    10 Posts 5 Posters 2.2k Views 4 Watching
    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.
    • RogerCooperR Offline
      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.

      redrumR 1 Reply Last reply Reply Quote 0
      • redrumR Offline
        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.

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        C 1 Reply Last reply Reply Quote 0
        • RoiEXR Offline
          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

          RogerCooperR 1 Reply Last reply Reply Quote 0
          • RogerCooperR Offline
            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 redrumR 2 Replies Last reply Reply Quote 0
            • RoiEXR Offline
              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
              • PantherP Offline
                Panther Admin Moderators Lobby 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.

                Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Cernel Moderators Lobby 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 Offline
                    Cernel Moderators Lobby 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
                    • redrumR Offline
                      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.

                      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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

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

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Powered by NodeBB Forums