Loading ...
Sorry, an error occurred while loading the content.

batch processing and 5.17.16

Expand Messages
  • Susan Dittmar
    Hi folks, I am DM in our group and use PCGen for all my NPCs. As my computer is slow, I prefer to only create and edit the charachters with the interactive
    Message 1 of 18 , Jul 19, 2012
    • 0 Attachment
      Hi folks,

      I am DM in our group and use PCGen for all my NPCs. As my computer is slow,
      I prefer to only create and edit the charachters with the interactive
      version of PCGen, and when done use a script to batch-export all those
      to character sheets.

      This worked fine up to version 5.17.10. Now I tried with 5.17.16, and
      those calls do not work any more :-(

      Has the possiblity to batch-create character sheets been removed?

      Thanks for any insights,

      Susan
    • James Dempsey
      Hi Susan, On 20/07/2012 6:17 AM Susan Dittmar wrote ... Batch processing has been changed and significantly enhanced in the new UI. In particular you can now
      Message 2 of 18 , Jul 19, 2012
      • 0 Attachment
        Hi Susan,

        On 20/07/2012 6:17 AM Susan Dittmar wrote
        > Hi folks,
        >
        > I am DM in our group and use PCGen for all my NPCs. As my computer is slow,
        > I prefer to only create and edit the charachters with the interactive
        > version of PCGen, and when done use a script to batch-export all those
        > to character sheets.
        >
        > This worked fine up to version 5.17.10. Now I tried with 5.17.16, and
        > those calls do not work any more :-(
        >
        > Has the possiblity to batch-create character sheets been removed?

        Batch processing has been changed and significantly enhanced in the new
        UI. In particular you can now batch output to PDF documents.

        See
        http://www.pcgen-test.org/autobuilds/pcgen-docs/walkthroughpages/walkthroughheadingstartup.html
        for the new command line options. I'm keen to hear how it goes for you
        and what you think of it.

        Cheers,
        James.
      • Susan Dittmar
        ... Thanks for the pointer. I hope I can make time for playing with it this week-end. Susan
        Message 3 of 18 , Jul 20, 2012
        • 0 Attachment
          Quoting James Dempsey (jdempsey@...):
          > Batch processing has been changed and significantly enhanced in the new
          > UI. [...] I'm keen to hear how it goes for you and what you think of it.

          Thanks for the pointer. I hope I can make time for playing with it this
          week-end.

          Susan
        • eslaf1234
          ... You may want to modify answer number 8 in http://www.pcgen-test.org/autobuilds/pcgen-docs/faqpages/faqprintingissues.html to reflect this change. Also
          Message 4 of 18 , Jul 23, 2012
          • 0 Attachment
            --- In pcgen@yahoogroups.com, James Dempsey <jdempsey@...> wrote:
            >
            > Hi Susan,
            >
            > On 20/07/2012 6:17 AM Susan Dittmar wrote
            > > Hi folks,
            > >
            > > I am DM in our group and use PCGen for all my NPCs. As my computer is slow,
            > > I prefer to only create and edit the charachters with the interactive
            > > version of PCGen, and when done use a script to batch-export all those
            > > to character sheets.
            > >
            > > This worked fine up to version 5.17.10. Now I tried with 5.17.16, and
            > > those calls do not work any more :-(
            > >
            > > Has the possiblity to batch-create character sheets been removed?
            >
            > Batch processing has been changed and significantly enhanced in the new
            > UI. In particular you can now batch output to PDF documents.
            >
            > See
            > http://www.pcgen-test.org/autobuilds/pcgen-docs/walkthroughpages/walkthroughheadingstartup.html
            > for the new command line options. I'm keen to hear how it goes for you
            > and what you think of it.
            >
            > Cheers,
            > James.
            >

            You may want to modify answer number 8 in http://www.pcgen-test.org/autobuilds/pcgen-docs/faqpages/faqprintingissues.html to reflect this change.

            Also looking at the code (pcgen.core.Main) you are missing some command line options from the doc you mentioned above. In this context the -o option is useful if like me you want to put the output sheet in a different directory to the pcg file. The following seems to work for me

            ./pcgen.sh -- -E outputsheets/d20/fantasy/pdf/csheet_fantasy_simple_blackandwhite.xslt -c characters/TestCleric5.17.pcg -o sheets/TestCleric5.17.pdf

            Mark
          • Susan Dittmar
            ... thanks, Mark, that might help! I did not find much time last week-end to play with this. And in the short time I had, I probably started with what turned
            Message 5 of 18 , Jul 24, 2012
            • 0 Attachment
              Quoting eslaf1234 (eslaf1234@...):
              > ./pcgen.sh -- -E outputsheets/d20/fantasy/pdf/csheet_fantasy_simple_blackandwhite.xslt -c characters/TestCleric5.17.pcg -o sheets/TestCleric5.17.pdf

              thanks, Mark, that might help! I did not find much time last week-end to
              play with this. And in the short time I had, I probably started with what
              turned out to be the trickiest part... Be that as it might, I did not
              succeed.

              One question: Did you get the -m switch to work? Problem, as I see it, is
              the re-processing of the arguments by the shell script pcgen.sh. I did not
              spend much time on it, and somehow did not manage to make it work, neither
              with my own PCC file (titled "Susan's 3.5 additions" - so it contains
              spaces and the apostrophe, but as it feeds nearly 500 NPC files, I would
              not like to have to change that title) nor with the example given on the
              web page (which also contains spaces and produced the same "unknown command
              line option" errors).

              Thanks for any hints,

              Susan

              PS: I'm using Linux as you already guessed, bash as a shell and gnu make
              for the batch processing.

              PPS: As soon as I manage to make it work again, I renew my offer to share
              my batch-processing setup with anyone who asks. So, if you are
              interested, don't be shy ;-)
            • Martijn Verburg
              Hi Susan, Can I ask that you/Mark submit a DOC Jira when you conclude what part of the documentation is wrong? I can then fix it up immediately. K ...
              Message 6 of 18 , Jul 24, 2012
              • 0 Attachment
                Hi Susan,

                Can I ask that you/Mark submit a DOC Jira when you conclude what part of
                the documentation is wrong? I can then fix it up immediately.

                K

                On 24 July 2012 11:36, Susan Dittmar <Susan.Dittmar@...> wrote:

                > **
                >
                >
                > Quoting eslaf1234 (eslaf1234@...):
                > > ./pcgen.sh -- -E
                > outputsheets/d20/fantasy/pdf/csheet_fantasy_simple_blackandwhite.xslt -c
                > characters/TestCleric5.17.pcg -o sheets/TestCleric5.17.pdf
                >
                > thanks, Mark, that might help! I did not find much time last week-end to
                > play with this. And in the short time I had, I probably started with what
                > turned out to be the trickiest part... Be that as it might, I did not
                > succeed.
                >
                > One question: Did you get the -m switch to work? Problem, as I see it, is
                > the re-processing of the arguments by the shell script pcgen.sh. I did not
                > spend much time on it, and somehow did not manage to make it work, neither
                > with my own PCC file (titled "Susan's 3.5 additions" - so it contains
                > spaces and the apostrophe, but as it feeds nearly 500 NPC files, I would
                > not like to have to change that title) nor with the example given on the
                > web page (which also contains spaces and produced the same "unknown command
                > line option" errors).
                >
                > Thanks for any hints,
                >
                > Susan
                >
                > PS: I'm using Linux as you already guessed, bash as a shell and gnu make
                > for the batch processing.
                >
                > PPS: As soon as I manage to make it work again, I renew my offer to share
                > my batch-processing setup with anyone who asks. So, if you are
                > interested, don't be shy ;-)
                >
                >
                >


                [Non-text portions of this message have been removed]
              • FerretDave
                Greetings, Just a recommendation, try to avoid using punctuation in names - for datasets, files or just about anything really, it helps avoid all sorts of odd
                Message 7 of 18 , Jul 24, 2012
                • 0 Attachment
                  Greetings,

                  Just a recommendation, try to avoid using punctuation in names - for datasets, files or just about anything really, it helps avoid all sorts of odd issues with batch processing etc.

                  I myself have moved on from limiting myself to actual 8.3 filenames nowadays, but I still avoid spaces/punctuation in filenames, regardless of what the OS may allow, if there's any chance I'm going to refer to them from a script and it really does help cut down the confusion :-)

                  As you're using linux, you have the tools (sed!) to easily go through your 500 NPC files and change the detail on each and every one and change the data set name...

                  Cheers
                  Dave


                  --- In pcgen@yahoogroups.com, Susan Dittmar <Susan.Dittmar@...> wrote:
                  >
                  > Quoting eslaf1234 (eslaf1234@...):
                  > > ./pcgen.sh -- -E outputsheets/d20/fantasy/pdf/csheet_fantasy_simple_blackandwhite.xslt -c characters/TestCleric5.17.pcg -o sheets/TestCleric5.17.pdf
                  >
                  > thanks, Mark, that might help! I did not find much time last week-end to
                  > play with this. And in the short time I had, I probably started with what
                  > turned out to be the trickiest part... Be that as it might, I did not
                  > succeed.
                  >
                  > One question: Did you get the -m switch to work? Problem, as I see it, is
                  > the re-processing of the arguments by the shell script pcgen.sh. I did not
                  > spend much time on it, and somehow did not manage to make it work, neither
                  > with my own PCC file (titled "Susan's 3.5 additions" - so it contains
                  > spaces and the apostrophe, but as it feeds nearly 500 NPC files, I would
                  > not like to have to change that title) nor with the example given on the
                  > web page (which also contains spaces and produced the same "unknown command
                  > line option" errors).
                  >
                  > Thanks for any hints,
                  >
                  > Susan
                  >
                  > PS: I'm using Linux as you already guessed, bash as a shell and gnu make
                  > for the batch processing.
                  >
                  > PPS: As soon as I manage to make it work again, I renew my offer to share
                  > my batch-processing setup with anyone who asks. So, if you are
                  > interested, don't be shy ;-)
                  >
                • Susan Dittmar
                  Dear Dave, ... I completely agree with you - except that at the time I created my campaign file, it looked like the contents of the CAMPAIGN: tag in a pcc file
                  Message 8 of 18 , Jul 24, 2012
                  • 0 Attachment
                    Dear Dave,

                    Quoting FerretDave (ferret.griffin@...):
                    > Just a recommendation, try to avoid using punctuation in names - for
                    > datasets, files or just about anything really, it helps avoid all sorts
                    > of odd issues with batch processing etc.

                    I completely agree with you - except that at the time I created my campaign
                    file, it looked like the contents of the CAMPAIGN: tag in a pcc file would
                    only be output as an abitrary text in program and on the character sheet.
                    It for sure was not _my_ idea to have that text (instead of a filename) as
                    argument to the -m switch of PCGen as indicated in

                    http://www.pcgen-test.org/autobuilds/pcgen-docs/walkthroughpages/walkthroughheadingstartup.html

                    > I myself have moved on from limiting myself to actual 8.3 filenames
                    > nowadays, but I still avoid spaces/punctuation in filenames, regardless
                    > of what the OS may allow, if there's any chance I'm going to refer to
                    > them from a script and it really does help cut down the confusion :-)

                    If it were a filename, I would call it my own fault and pay the price
                    without bitching ;-)

                    > As you're using linux, you have the tools (sed!) to easily go through
                    > your 500 NPC files and change the detail on each and every one and change
                    > the data set name...

                    I will if I must. But as this text is output in places where it clearly is
                    meant for humans (contrary to filenames which are for computers), I would
                    prefer another solution.

                    Susan
                  • eslaf1234
                    ... Did not touch -m option as not needed for export, pcg file contains details of which data to load. Took a look anyway and I had the same problem trying to
                    Message 9 of 18 , Jul 24, 2012
                    • 0 Attachment
                      --- In pcgen@yahoogroups.com, Susan Dittmar <Susan.Dittmar@...> wrote:
                      >
                      > One question: Did you get the -m switch to work? Problem, as I see it, is
                      > the re-processing of the arguments by the shell script pcgen.sh. I did not
                      > spend much time on it, and somehow did not manage to make it work, neither
                      > with my own PCC file (titled "Susan's 3.5 additions" - so it contains
                      > spaces and the apostrophe, but as it feeds nearly 500 NPC files, I would
                      > not like to have to change that title) nor with the example given on the
                      > web page (which also contains spaces and produced the same "unknown command
                      > line option" errors).
                      >

                      Did not touch -m option as not needed for export, pcg file contains details of which data to load.

                      Took a look anyway and I had the same problem trying to load "SRD 3.5 for Players" (even after I eventually spotted the double space between "for" and "Players"). Did a quick hack on pcgen.sh (patch at end) to keep pcgen args in $@ allowed me to get it to work - could have used arrays but they may not be portable. Seems -m only allows you to load from pcc files which have SHOWINMENU:YES in them, so for instance using my hacked pcgen.sh

                      ./pcgen.sh -- -m "SRD 3.5 for Players"

                      works (data/d20ogl/srd35/campaign/rsrd_players.pcc file), but

                      ./pcgen.sh -- -m "3.5 RSRD"

                      does not (data/d20ogl/srd35/rsrd.pcc file). Copy data/d20ogl/srd35/rsrd.pcc to data/d20ogl/srd35/mark.pcc and edit to replace all "3.5 RSRD" with "Mark's test" (CAMPAIGN and !PRECAMPAIGN lines) and then

                      ./pcgen.sh -- -m "Mark's test"

                      works.

                      Mark


                      --- pcgen.sh.old 2012-07-17 07:49:50.000000000 +0100
                      +++ pcgen.sh 2012-07-24 14:41:12.000000000 +0100
                      @@ -58,8 +58,6 @@

                      # To load all sources takes more than the default 64MB.
                      javaargs="-Xms${default_min_memory}m -Xmx${default_max_memory}m"
                      -pcgenargs=""
                      -whosearg=java

                      while [ "x$1" != x ]
                      do
                      @@ -75,17 +73,13 @@
                      EOM
                      exit 0
                      ;;
                      - -- ) whosearg=pcgen
                      + -- ) shift
                      + break
                      ;;
                      - * ) if [ "$whosearg" = java ]
                      - then
                      - javaargs="$javaargs $1"
                      - else
                      - pcgenargs="$pcgenargs $1"
                      - fi
                      + * ) javaargs="$javaargs $1"
                      + shift
                      ;;
                      esac
                      - shift
                      done

                      # PCGen related properties:
                      @@ -101,4 +95,4 @@
                      # -Dpcgen.filter=/path/to/filter.ini
                      # -Dpcgen.options=/path/to/options.ini

                      -exec java -DBROWSER="$BROWSER" $javaargs -jar ./pcgen.jar $pcgenargs
                      +exec java -DBROWSER="$BROWSER" $javaargs -jar ./pcgen.jar "$@"
                    • eslaf1234
                      ... Oops. Should have been:- Copy data/d20ogl/srd35/rsrd.pcc to data/d20ogl/srd35/mark.pcc and edit to replace all 3.5 RSRD with Mark s test (CAMPAIGN and
                      Message 10 of 18 , Jul 24, 2012
                      • 0 Attachment
                        --- In pcgen@yahoogroups.com, "eslaf1234" <eslaf1234@...> wrote:
                        > Seems -m only allows you to load from pcc files which have SHOWINMENU:YES in them, so for instance using my hacked pcgen.sh
                        >
                        > ./pcgen.sh -- -m "SRD 3.5 for Players"
                        >
                        > works (data/d20ogl/srd35/campaign/rsrd_players.pcc file), but
                        >
                        > ./pcgen.sh -- -m "3.5 RSRD"
                        >
                        > does not (data/d20ogl/srd35/rsrd.pcc file). Copy data/d20ogl/srd35/rsrd.pcc to data/d20ogl/srd35/mark.pcc and edit to replace all "3.5 RSRD" with "Mark's test" (CAMPAIGN and !PRECAMPAIGN lines) and then
                        >
                        > ./pcgen.sh -- -m "Mark's test"
                        >

                        Oops. Should have been:-

                        Copy data/d20ogl/srd35/rsrd.pcc to data/d20ogl/srd35/mark.pcc and edit to replace all "3.5 RSRD" with "Mark's test" (CAMPAIGN and !PRECAMPAIGN lines) and add SHOWINMENU:YES then

                        ./pcgen.sh -- -m "Mark's test"

                        works.
                      • Susan Dittmar
                        ... True. I just hoped to get rid of the double-loading of sources by removing the auto-load Preferences settings, which up to now I had kept because this
                        Message 11 of 18 , Jul 24, 2012
                        • 0 Attachment
                          Quoting eslaf1234 (eslaf1234@...):
                          > --- In pcgen@yahoogroups.com, Susan Dittmar <Susan.Dittmar@...> wrote:
                          > > One question: Did you get the -m switch to work?

                          > Did not touch -m option as not needed for export, pcg file contains details of which data to load.

                          True. I just hoped to get rid of the double-loading of sources by removing
                          the auto-load Preferences settings, which up to now I had kept because this
                          setting was needed for batch-generation of characters.

                          > Seems -m only allows you to load from pcc files which have SHOWINMENU:YES in them

                          Ah, good to know. Now I'm a step farther. At least it *starts* loading
                          soures, but stops after only loading small part of them: It pulls in RSRD,
                          and there it stops during load of rsrd_races_g_h.lst. If the same campaign
                          is chosen interactively, no problems occur. Looks like I need to raise a
                          JIRA...

                          (I created a copy of the pcc file with a bash-compatible
                          title, so I did not need your hack yet. But of course that's just a first
                          step and I hope only needed for testing...)

                          I'll have a look at your other modifications, and play a bit more with the
                          calling incantations...

                          Thanks a lot for your efforts!

                          Susan
                        • James Dempsey
                          Hi Susan, On 25/07/2012 6:30 AM Susan Dittmar wrote ... Currently sources are always loaded with characters, but I will sort that out soon. OTOH the new system
                          Message 12 of 18 , Jul 24, 2012
                          • 0 Attachment
                            Hi Susan,

                            On 25/07/2012 6:30 AM Susan Dittmar wrote
                            > Quoting eslaf1234 (eslaf1234@...):
                            >> --- In pcgen@yahoogroups.com, Susan Dittmar<Susan.Dittmar@...> wrote:
                            >>> One question: Did you get the -m switch to work?
                            >> Did not touch -m option as not needed for export, pcg file contains details of which data to load.
                            > True. I just hoped to get rid of the double-loading of sources by removing
                            > the auto-load Preferences settings, which up to now I had kept because this
                            > setting was needed for batch-generation of characters.

                            Currently sources are always loaded with characters, but I will sort
                            that out soon. OTOH the new system is quite good at only loading the
                            sources once.

                            >
                            >> Seems -m only allows you to load from pcc files which have SHOWINMENU:YES in them


                            > Ah, good to know. Now I'm a step farther. At least it *starts* loading
                            > soures, but stops after only loading small part of them: It pulls in RSRD,
                            > and there it stops during load of rsrd_races_g_h.lst. If the same campaign
                            > is chosen interactively, no problems occur. Looks like I need to raise a
                            > JIRA...

                            If you could include a copy of your pcgen.log for the failed batch run
                            it would be very helpful please. As soon as you raise the jira I can see
                            what is going wrong.

                            > (I created a copy of the pcc file with a bash-compatible
                            > title, so I did not need your hack yet. But of course that's just a first
                            > step and I hope only needed for testing...)
                            >
                            > I'll have a look at your other modifications, and play a bit more with the
                            > calling incantations...

                            Cheers,
                            James.
                          • Eric C Smith
                            Mark, Feel free to add comments on DOC-132 (link below) for things that need to be fixed or clarified. http://jira.pcgen.org/browse/DOCS-132 Thanks! Maredudd
                            Message 13 of 18 , Jul 24, 2012
                            • 0 Attachment
                              Mark,

                              Feel free to add comments on DOC-132 (link below) for things that need to be fixed or clarified.

                              http://jira.pcgen.org/browse/DOCS-132

                              Thanks!

                              Maredudd
                              Doc 2nd

                              On Jul 23, 2012, at 4:13 PM, eslaf1234 wrote:

                              >
                              >
                              > --- In pcgen@yahoogroups.com, James Dempsey <jdempsey@...> wrote:
                              > >
                              > > Hi Susan,
                              > >
                              > > On 20/07/2012 6:17 AM Susan Dittmar wrote
                              > > > Hi folks,
                              > > >
                              > > > I am DM in our group and use PCGen for all my NPCs. As my computer is slow,
                              > > > I prefer to only create and edit the charachters with the interactive
                              > > > version of PCGen, and when done use a script to batch-export all those
                              > > > to character sheets.
                              > > >
                              > > > This worked fine up to version 5.17.10. Now I tried with 5.17.16, and
                              > > > those calls do not work any more :-(
                              > > >
                              > > > Has the possiblity to batch-create character sheets been removed?
                              > >
                              > > Batch processing has been changed and significantly enhanced in the new
                              > > UI. In particular you can now batch output to PDF documents.
                              > >
                              > > See
                              > > http://www.pcgen-test.org/autobuilds/pcgen-docs/walkthroughpages/walkthroughheadingstartup.html
                              > > for the new command line options. I'm keen to hear how it goes for you
                              > > and what you think of it.
                              > >
                              > > Cheers,
                              > > James.
                              > >
                              >
                              > You may want to modify answer number 8 in http://www.pcgen-test.org/autobuilds/pcgen-docs/faqpages/faqprintingissues.html to reflect this change.
                              >
                              > Also looking at the code (pcgen.core.Main) you are missing some command line options from the doc you mentioned above. In this context the -o option is useful if like me you want to put the output sheet in a different directory to the pcg file. The following seems to work for me
                              >
                              > ./pcgen.sh -- -E outputsheets/d20/fantasy/pdf/csheet_fantasy_simple_blackandwhite.xslt -c characters/TestCleric5.17.pcg -o sheets/TestCleric5.17.pdf
                              >
                              > Mark
                              >
                              >
                            • Eric C Smith
                              James, Have N and G been added to the code base yet? Maredudd
                              Message 14 of 18 , Jul 24, 2012
                              • 0 Attachment
                                James,

                                Have N and G been added to the code base yet?

                                Maredudd

                                On Jul 24, 2012, at 6:08 PM, James Dempsey wrote:

                                > Hi Susan,
                                >
                                > On 25/07/2012 6:30 AM Susan Dittmar wrote
                                > > Quoting eslaf1234 (eslaf1234@...):
                                > >> --- In pcgen@yahoogroups.com, Susan Dittmar<Susan.Dittmar@...> wrote:
                                > >>> One question: Did you get the -m switch to work?
                                > >> Did not touch -m option as not needed for export, pcg file contains details of which data to load.
                                > > True. I just hoped to get rid of the double-loading of sources by removing
                                > > the auto-load Preferences settings, which up to now I had kept because this
                                > > setting was needed for batch-generation of characters.
                                >
                                > Currently sources are always loaded with characters, but I will sort
                                > that out soon. OTOH the new system is quite good at only loading the
                                > sources once.
                                >
                                > >
                                > >> Seems -m only allows you to load from pcc files which have SHOWINMENU:YES in them
                                >
                                > > Ah, good to know. Now I'm a step farther. At least it *starts* loading
                                > > soures, but stops after only loading small part of them: It pulls in RSRD,
                                > > and there it stops during load of rsrd_races_g_h.lst. If the same campaign
                                > > is chosen interactively, no problems occur. Looks like I need to raise a
                                > > JIRA...
                                >
                                > If you could include a copy of your pcgen.log for the failed batch run
                                > it would be very helpful please. As soon as you raise the jira I can see
                                > what is going wrong.
                                >
                                > > (I created a copy of the pcc file with a bash-compatible
                                > > title, so I did not need your hack yet. But of course that's just a first
                                > > step and I hope only needed for testing...)
                                > >
                                > > I'll have a look at your other modifications, and play a bit more with the
                                > > calling incantations...
                                >
                                > Cheers,
                                > James.
                              • Susan Dittmar
                                ... Well, to me it looked as if it threw all the deprecation warnings again and again. Which makes debugging a pain in the posterior... But perhaps there were
                                Message 15 of 18 , Jul 25, 2012
                                • 0 Attachment
                                  Quoting James Dempsey (jdempsey@...):
                                  > Currently sources are always loaded with characters, but I will sort
                                  > that out soon. OTOH the new system is quite good at only loading the
                                  > sources once.

                                  Well, to me it looked as if it threw all the deprecation warnings again and
                                  again. Which makes debugging a pain in the posterior...

                                  But perhaps there were another way of solving this problem if I managed to
                                  find out how the converter was supposed to work. Seems I am not looking in
                                  the right places, as I cannot find any hint on how to call that thing.
                                  Having it work its magic on the RSRD files might make debugging my own
                                  stuff much much easier... Any hint where to find documentation on the
                                  converter? I can neither find it in PCGen's menu nor in GMGen's, nor did I
                                  find anything browsing PCGen's documentation.

                                  > > Now I'm a step farther. At least it *starts* loading
                                  > > soures, but stops after only loading small part of them: It pulls in RSRD,
                                  > > and there it stops during load of rsrd_races_g_h.lst. If the same campaign
                                  > > is chosen interactively, no problems occur. Looks like I need to raise a
                                  > > JIRA...
                                  >
                                  > If you could include a copy of your pcgen.log for the failed batch run
                                  > it would be very helpful please. As soon as you raise the jira I can see
                                  > what is going wrong.

                                  Computers are funny... yesterday night I had the same behaviour several
                                  times, and it was refusing to continue loading at the same point again and
                                  again. Today I tried to re-create that problem -- and it's gone... Should I
                                  be glad or annoyed? ;-)

                                  Thanks for your patience with me,

                                  Susan
                                • James Dempsey
                                  Hi Susan, On 25/07/2012 6:56 PM Susan Dittmar wrote ... Yes that would do. You can turn off the deprecation messages in preferences - that should help in
                                  Message 16 of 18 , Jul 25, 2012
                                  • 0 Attachment
                                    Hi Susan,

                                    On 25/07/2012 6:56 PM Susan Dittmar wrote
                                    > Quoting James Dempsey (jdempsey@...):
                                    >> Currently sources are always loaded with characters, but I will sort
                                    >> that out soon. OTOH the new system is quite good at only loading the
                                    >> sources once.
                                    > Well, to me it looked as if it threw all the deprecation warnings again and
                                    > again. Which makes debugging a pain in the posterior...

                                    Yes that would do. You can turn off the deprecation messages in
                                    preferences - that should help in isolating the real issues. Also they
                                    will be recorded in the pcgen.log so you can do a load and then look
                                    through the log with standard tools (grep, sort etc) to locate any
                                    messages of interest.
                                    >
                                    > But perhaps there were another way of solving this problem if I managed to
                                    > find out how the converter was supposed to work. Seems I am not looking in
                                    > the right places, as I cannot find any hint on how to call that thing.
                                    > Having it work its magic on the RSRD files might make debugging my own
                                    > stuff much much easier... Any hint where to find documentation on the
                                    > converter? I can neither find it in PCGen's menu nor in GMGen's, nor did I
                                    > find anything browsing PCGen's documentation.

                                    Umm, the LST converter - that'd be the one in pieces on my office floor
                                    right? Yeah its not working with the new data load system just yet, but
                                    I hope to have it running in the next day or two. When it is working
                                    there is a separate batch-convert.jar that you can run to do the
                                    conversion. See http://jira.pcgen.org/browse/CODE-1410 for the issue I
                                    am fixing.


                                    >>> Now I'm a step farther. At least it *starts* loading
                                    >>> soures, but stops after only loading small part of them: It pulls in RSRD,
                                    >>> and there it stops during load of rsrd_races_g_h.lst. If the same campaign
                                    >>> is chosen interactively, no problems occur. Looks like I need to raise a
                                    >>> JIRA...
                                    >> If you could include a copy of your pcgen.log for the failed batch run
                                    >> it would be very helpful please. As soon as you raise the jira I can see
                                    >> what is going wrong.
                                    > Computers are funny... yesterday night I had the same behaviour several
                                    > times, and it was refusing to continue loading at the same point again and
                                    > again. Today I tried to re-create that problem -- and it's gone... Should I
                                    > be glad or annoyed? ;-)
                                    Well, it is good for you, but a shame for me :) However I am glad it is
                                    working for you now.


                                    > Thanks for your patience with me,
                                    Not a problem, thanks for trying out the new command line. I'm only able
                                    to try it out on windows, so it is good to be able to fix any linux
                                    issues too.

                                    Cheers,
                                    James.
                                  • James Dempsey
                                    Hi Eric, On 25/07/2012 10:52 AM Eric C Smith wrote ... N won t be in for the 6.0 release, but G should be in soon. Cheers, James.
                                    Message 17 of 18 , Jul 25, 2012
                                    • 0 Attachment
                                      Hi Eric,

                                      On 25/07/2012 10:52 AM Eric C Smith wrote
                                      > James,
                                      >
                                      > Have N and G been added to the code base yet?
                                      >
                                      N won't be in for the 6.0 release, but G should be in soon.

                                      Cheers,
                                      James.
                                    • FerretDave
                                      Greetings, Good point, batch converter should perhaps take a path to the pcc rather than the campaign tag, worth a JIRA on that. Alternatively or even
                                      Message 18 of 18 , Jul 25, 2012
                                      • 0 Attachment
                                        Greetings,

                                        Good point, batch converter should perhaps take a path to the pcc rather than the campaign tag, worth a JIRA on that.

                                        Alternatively or even additionally, as the datasets are defined in the .pcg itself, worth JIRA'ing a request to make the batch converter determine the sources itself and autoload so you don't *have* to specify them...

                                        Cheers
                                        Dave

                                        --- In pcgen@yahoogroups.com, Susan Dittmar <Susan.Dittmar@...> wrote:
                                        >
                                        > Dear Dave,
                                        >
                                        > Quoting FerretDave (ferret.griffin@...):
                                        > > Just a recommendation, try to avoid using punctuation in names - for
                                        > > datasets, files or just about anything really, it helps avoid all sorts
                                        > > of odd issues with batch processing etc.
                                        >
                                        > I completely agree with you - except that at the time I created my campaign
                                        > file, it looked like the contents of the CAMPAIGN: tag in a pcc file would
                                        > only be output as an abitrary text in program and on the character sheet.
                                        > It for sure was not _my_ idea to have that text (instead of a filename) as
                                        > argument to the -m switch of PCGen as indicated in
                                        >
                                        > http://www.pcgen-test.org/autobuilds/pcgen-docs/walkthroughpages/walkthroughheadingstartup.html
                                        >
                                        > > I myself have moved on from limiting myself to actual 8.3 filenames
                                        > > nowadays, but I still avoid spaces/punctuation in filenames, regardless
                                        > > of what the OS may allow, if there's any chance I'm going to refer to
                                        > > them from a script and it really does help cut down the confusion :-)
                                        >
                                        > If it were a filename, I would call it my own fault and pay the price
                                        > without bitching ;-)
                                        >
                                        > > As you're using linux, you have the tools (sed!) to easily go through
                                        > > your 500 NPC files and change the detail on each and every one and change
                                        > > the data set name...
                                        >
                                        > I will if I must. But as this text is output in places where it clearly is
                                        > meant for humans (contrary to filenames which are for computers), I would
                                        > prefer another solution.
                                        >
                                        > Susan
                                        >
                                      Your message has been successfully submitted and would be delivered to recipients shortly.