Re: [GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
Hi Adrien, Thank you for the pointer to the BugZilla instance. I was going to create the bug report now, but I see you are way ahead of me! You already found the root cause too, fixed it, and are now working with Christopher Lam to validate the solution... Just, wow! FYI for anyone ending up on this thread: the entry in BugZilla is: https://bugs.gnucash.org/show_bug.cgi?id=797840 Thanks again for your great work Adrien and Christopher! Yves-Eric On Tue, Jun 30, 2020 at 8:35 AM Adrian Yong wrote: > Hi Adrien, > > After speaking to you the last time, I tried exporting documents (ie. > General Ledger) to pdf and xlsx formats and I got gibberish... > > I am using version 3.7... > > Regards, > Adrian > > > On Tue, Jun 30, 2020 at 2:47 AM Adrien Monteleone < > adrien.montele...@lusfiber.net> wrote: > > > I can confirm this on 3.906 (4.0 beta) using various methods of printing > > invoices. (it doesn’t seem to matter if it is ‘easy’ invoice or not) > > > > I also tried exporting to HTML and then printing to PDF, but that too > > generates an extra page. > > > > I haven’t yet tested with 3.5–3.7 to see what the differences in the HTML > > are. > > > > While I did find some minor syntax issues with the HTML and CSS, > > correcting them didn’t resolve the issue. There doesn’t appear to be > > anything at first glance in the HTML itself that would generate the extra > > page. > > > > Note, GnuCash has a BugZilla instance at https://bugs.gnucash.org > > > > Please create an account and file the bug there. > > > > Regards, > > Adrien > > > > > On Jun 29, 2020 w27d181, at 5:31 AM, Yves-Eric Martin < > > yem_lists.gnucash@filter.yve.net> wrote: > > > > > > Hi all, > > > > > > (Full bug report below) > > > > > > I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced > the > > > problem back to 3.8. The invoice PDFs generated using "Make PDF" have a > > > superfluous blank page. I first thought the problem may be with my > > heavily > > > customized CSS, but I was able to reproduce the issue with the > > > vanilla invoices (Easy / Printable / Fancy). > > > > > > Any idea what introduced this change? Is a fix needed? > > > > > > And short of manually editing the PDFs, is there a workaround to remove > > > that extra blank page on the GnuCash side, maybe editing some SCM > files? > > > Thank you. > > > > > > > > > Full bug report: > > > > > > GnuCash versions: tested all stable from 3.5 to 4.0 > > > > > > OS: MacOS Catalina (10.15.5) > > > > > > Problem: Invoice PDFs generated using "Make PDF" have a superfluous > blank > > > page. > > > > > > Versions not affected: 3.5, 3.6, 3.7 > > > > > > Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0 > > > > > > Steps to reproduce: > > > 1) Create a dummy invoice with a single line > > > 2) Create an Easy Invoice: Reports > Business > Easy Invoice > > > 3) Select the dummy invoice: Edit > Report Options > General > Invoice > > > Number > Select the dummy invoice > > > 4) Make Pdf > > > > > > Expected behavior: The generated PDF has only 1 page. > > > > > > Current behavior (since 3.8): The generated PDF has a superfluous blank > > > page. > > > > > > Comparison of various invoice PDFs, generated with 3.7 and 3.8: > > > > > > https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0 > > > > > > ___ > > gnucash-user mailing list > > gnucash-user@gnucash.org > > To update your subscription preferences or to unsubscribe: > > https://lists.gnucash.org/mailman/listinfo/gnucash-user > > If you are using Nabble or Gmane, please see > > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > > - > > Please remember to CC this list on all your replies. > > You can do this by using Reply-To-List or Reply-All. > > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
Hi Adrien, After speaking to you the last time, I tried exporting documents (ie. General Ledger) to pdf and xlsx formats and I got gibberish... I am using version 3.7... Regards, Adrian On Tue, Jun 30, 2020 at 2:47 AM Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > I can confirm this on 3.906 (4.0 beta) using various methods of printing > invoices. (it doesn’t seem to matter if it is ‘easy’ invoice or not) > > I also tried exporting to HTML and then printing to PDF, but that too > generates an extra page. > > I haven’t yet tested with 3.5–3.7 to see what the differences in the HTML > are. > > While I did find some minor syntax issues with the HTML and CSS, > correcting them didn’t resolve the issue. There doesn’t appear to be > anything at first glance in the HTML itself that would generate the extra > page. > > Note, GnuCash has a BugZilla instance at https://bugs.gnucash.org > > Please create an account and file the bug there. > > Regards, > Adrien > > > On Jun 29, 2020 w27d181, at 5:31 AM, Yves-Eric Martin < > yem_lists.gnucash@filter.yve.net> wrote: > > > > Hi all, > > > > (Full bug report below) > > > > I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced the > > problem back to 3.8. The invoice PDFs generated using "Make PDF" have a > > superfluous blank page. I first thought the problem may be with my > heavily > > customized CSS, but I was able to reproduce the issue with the > > vanilla invoices (Easy / Printable / Fancy). > > > > Any idea what introduced this change? Is a fix needed? > > > > And short of manually editing the PDFs, is there a workaround to remove > > that extra blank page on the GnuCash side, maybe editing some SCM files? > > Thank you. > > > > > > Full bug report: > > > > GnuCash versions: tested all stable from 3.5 to 4.0 > > > > OS: MacOS Catalina (10.15.5) > > > > Problem: Invoice PDFs generated using "Make PDF" have a superfluous blank > > page. > > > > Versions not affected: 3.5, 3.6, 3.7 > > > > Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0 > > > > Steps to reproduce: > > 1) Create a dummy invoice with a single line > > 2) Create an Easy Invoice: Reports > Business > Easy Invoice > > 3) Select the dummy invoice: Edit > Report Options > General > Invoice > > Number > Select the dummy invoice > > 4) Make Pdf > > > > Expected behavior: The generated PDF has only 1 page. > > > > Current behavior (since 3.8): The generated PDF has a superfluous blank > > page. > > > > Comparison of various invoice PDFs, generated with 3.7 and 3.8: > > > https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0 > > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
Not necessary as Preview.app (included with MacOS) allows you to delete any selected page. (among many other edits possible) But it shouldn’t be happening in the first place. Regards, Adrien > On Jun 29, 2020 w27d181, at 4:12 PM, nvsoar wrote: > > > If having the blank page really bothers you take a look at PDFTK (pdf tool > kit) - does a good job manipulating pages of pdf documents. All the best - > nvsoar ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
On 06/29/20 03:31, Yves-Eric Martin wrote: Hi all, (Full bug report below) I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced the problem back to 3.8. The invoice PDFs generated using "Make PDF" have a superfluous blank page. I first thought the problem may be with my heavily customized CSS, but I was able to reproduce the issue with the vanilla invoices (Easy / Printable / Fancy). Any idea what introduced this change? Is a fix needed? And short of manually editing the PDFs, is there a workaround to remove that extra blank page on the GnuCash side, maybe editing some SCM files? Thank you. Full bug report: GnuCash versions: tested all stable from 3.5 to 4.0 OS: MacOS Catalina (10.15.5) Problem: Invoice PDFs generated using "Make PDF" have a superfluous blank page. Versions not affected: 3.5, 3.6, 3.7 Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0 Steps to reproduce: 1) Create a dummy invoice with a single line 2) Create an Easy Invoice: Reports > Business > Easy Invoice 3) Select the dummy invoice: Edit > Report Options > General > Invoice Number > Select the dummy invoice 4) Make Pdf Expected behavior: The generated PDF has only 1 page. Current behavior (since 3.8): The generated PDF has a superfluous blank page. Comparison of various invoice PDFs, generated with 3.7 and 3.8: https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. If having the blank page really bothers you take a look at PDFTK (pdf tool kit) - does a good job manipulating pages of pdf documents. All the best - nvsoar ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
I can confirm this on 3.906 (4.0 beta) using various methods of printing invoices. (it doesn’t seem to matter if it is ‘easy’ invoice or not) I also tried exporting to HTML and then printing to PDF, but that too generates an extra page. I haven’t yet tested with 3.5–3.7 to see what the differences in the HTML are. While I did find some minor syntax issues with the HTML and CSS, correcting them didn’t resolve the issue. There doesn’t appear to be anything at first glance in the HTML itself that would generate the extra page. Note, GnuCash has a BugZilla instance at https://bugs.gnucash.org Please create an account and file the bug there. Regards, Adrien > On Jun 29, 2020 w27d181, at 5:31 AM, Yves-Eric Martin > wrote: > > Hi all, > > (Full bug report below) > > I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced the > problem back to 3.8. The invoice PDFs generated using "Make PDF" have a > superfluous blank page. I first thought the problem may be with my heavily > customized CSS, but I was able to reproduce the issue with the > vanilla invoices (Easy / Printable / Fancy). > > Any idea what introduced this change? Is a fix needed? > > And short of manually editing the PDFs, is there a workaround to remove > that extra blank page on the GnuCash side, maybe editing some SCM files? > Thank you. > > > Full bug report: > > GnuCash versions: tested all stable from 3.5 to 4.0 > > OS: MacOS Catalina (10.15.5) > > Problem: Invoice PDFs generated using "Make PDF" have a superfluous blank > page. > > Versions not affected: 3.5, 3.6, 3.7 > > Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0 > > Steps to reproduce: > 1) Create a dummy invoice with a single line > 2) Create an Easy Invoice: Reports > Business > Easy Invoice > 3) Select the dummy invoice: Edit > Report Options > General > Invoice > Number > Select the dummy invoice > 4) Make Pdf > > Expected behavior: The generated PDF has only 1 page. > > Current behavior (since 3.8): The generated PDF has a superfluous blank > page. > > Comparison of various invoice PDFs, generated with 3.7 and 3.8: > https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] Potential regression: PDFs generated using "Make PDF" have a superfluous blank page
Hi all, (Full bug report below) I am having a PDF issue trying to upgrade from 3.7 to 4.0, but traced the problem back to 3.8. The invoice PDFs generated using "Make PDF" have a superfluous blank page. I first thought the problem may be with my heavily customized CSS, but I was able to reproduce the issue with the vanilla invoices (Easy / Printable / Fancy). Any idea what introduced this change? Is a fix needed? And short of manually editing the PDFs, is there a workaround to remove that extra blank page on the GnuCash side, maybe editing some SCM files? Thank you. Full bug report: GnuCash versions: tested all stable from 3.5 to 4.0 OS: MacOS Catalina (10.15.5) Problem: Invoice PDFs generated using "Make PDF" have a superfluous blank page. Versions not affected: 3.5, 3.6, 3.7 Versions affected: 3.8, 3.9, 3.10, 3.11, 4.0 Steps to reproduce: 1) Create a dummy invoice with a single line 2) Create an Easy Invoice: Reports > Business > Easy Invoice 3) Select the dummy invoice: Edit > Report Options > General > Invoice Number > Select the dummy invoice 4) Make Pdf Expected behavior: The generated PDF has only 1 page. Current behavior (since 3.8): The generated PDF has a superfluous blank page. Comparison of various invoice PDFs, generated with 3.7 and 3.8: https://www.dropbox.com/sh/h8hwhy43uiz9c8m/AADslcR3uJtfXy5Q7GTn6FqVa?dl=0 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.