deneb-viz/deneb

v1.7: PDF export not working

dm-p opened this issue · 4 comments

dm-p commented

From #476 by @code4578:

Thanks for the amazing work which is much cooler and easier.

I am also facing the same issue. I am unable to export to pdf from Power BI Service. The pdf is just blank.

Thank you for your support

@code4578, thanks again for reaching out and reporting the issue. Can you please provide the following details so that I can investigate:

  • .pbix containing the affected visual. Ideally, this should be a minimal reproducible example with public data so that I can find the root cause as soon as possible. All development and support I do on Deneb is done in my free time and for free, so a direct reproducible issue helps me to dedicate my time to fixing and getting this deployed to users faster rather than finding.

  • This section on the support page is also useful for reporting bugs and can help expedite this.

  • If you cannot provide a reproducible example that can be shared publicly, you are welcome to send me the .pbix privately, and I can sign an NDA if required.

dm-p commented

I've been speaking with @code4578 offline about this, and we currently observed the following behavior:

  • They have 1.7 live in Desktop and on their Service tenant.
  • They had published a specification containing JSON comments (working on both Desktop and the Service).
  • Generating a PDF fails.
  • Removing the comments, re-publishing, and re-generating a PDF works as expected.

The current hypothesis is that:

  • Because PDF generation is done asynchronously and server-side...
  • It is highly likely that the version of Deneb deployed to the MS service that generates PDFs for a user is still running version 1.6 and cannot process specifications containing comments.
  • It is highly likely that once 1.7 completes deployment across all regions (it is still not live for me yet!), it will be able to process specifications containing comments.

For now, the workaround is to avoid publishing specifications containing comments.

dm-p commented

I am now on 1.7, have published a report containing comments in my JSON and can successfully generate a PDF, so I'm confident that this issue is resolved. @code4578: can you please confirm for your end?

Now I can confirm that the "Export to PDF" option is working with JSON comments on PowerBI service (with 1.7). Now that we have the comments feature, it is easier to work with colleagues, giving them ideas, on what these fields/specs are for. Thanks so much for looking into this @dm-p

dm-p commented

Awesome - great to know everything has caught up!