Forum

Author Topic: Crash on reading chunk.model.vertices[].coord on 1.4.1  (Read 2658 times)

BenjaminG

  • Newbie
  • *
  • Posts: 16
    • View Profile
Crash on reading chunk.model.vertices[].coord on 1.4.1
« on: April 05, 2018, 06:21:55 PM »
Hi,

I get a hard crash (no message, just the Crash Reporter, with nothing in the log)
It was working flawlessly in 1.4.0, but not in 1.4.1

It happen during a script launched with the '-r' argument (with or without --gui)
The crash is when trying to access "PhotoScan.app.document.chunk.model.vertices[0].coord"

If I stop my script when using --gui and I type this: "PhotoScan.app.document.chunk.model.vertices[0].coord" I get the crash.
But if I save the project, close it, reopen it, and type it again, no crash, I get the vector I want…

By the way typing PhotoScan.app.document.chunk.model.vertices[0]" won't crash it will echo something like "<PhotoScan.Model.Vertex object at 0x0000000002FAB8B8>" it's only when calling .coord (or .color also)


I can try to make a trimmed script to reproduce it since I don't have the authorization to share the full script.


Thank you.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14943
    • View Profile
Re: Crash on reading chunk.model.vertices[].coord on 1.4.1
« Reply #1 on: April 05, 2018, 06:40:38 PM »
Hello BenjaminG,

Thank you for reporting.

The issue will be fixed in the version 1.4.2.
Best regards,
Alexey Pasumansky,
Agisoft LLC

BenjaminG

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Crash on reading chunk.model.vertices[].coord on 1.4.1
« Reply #2 on: April 06, 2018, 09:43:29 AM »
Great! Thank you.