Forum

Author Topic: Report error in metashape python 1.6  (Read 4112 times)

edoh-alove

  • Newbie
  • *
  • Posts: 2
    • View Profile
Report error in metashape python 1.6
« on: March 06, 2020, 02:40:30 PM »
Hello,

I'm trying to generate a report in Metashape 1.6 and it's not working properly.
In fact, in 1.5.2 the report is fine with the image of the ortho on the first page.
Now it outputs a report with a grey image that has nothing to do with the ortho.
When i export the report via the GUI i get what is expected.

Here is my exportcode:
chunk.exportReport(rapport, title='Some title', description='Rapport de traitement', page_numbers=True)
rapport being thepath string variable.

Please find attached the comparison of the images in both report. Left in report from the GUI and right is report from python.

Thanks in advance
Best regards
Elodie

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15354
    • View Profile
Re: Report error in metashape python 1.6
« Reply #1 on: March 06, 2020, 04:40:30 PM »
Hello Elodie,

Can you please send both PDF reports to support@agisoft.com or share as a link via PM?
Best regards,
Alexey Pasumansky,
Agisoft LLC

edoh-alove

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Report error in metashape python 1.6
« Reply #2 on: March 06, 2020, 04:56:16 PM »
Just sent both file to the provided email.

Thanks in advance for the help
Kind regards
Elodie

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15354
    • View Profile
Re: Report error in metashape python 1.6
« Reply #3 on: March 06, 2020, 05:45:21 PM »
Hello Elodie,

Thank you for providing the reports.

Looks like the issue is related to the report generation using stand-alone Metashape Python module in 1.6.2. We are going to fix it in the next  module version update, but unfortunately, there doesn't seem to be a possibility to workaround it in the current version.
Best regards,
Alexey Pasumansky,
Agisoft LLC