Forum

Author Topic: Running MacOSX 10.14 Tkinter crashing Metashape 1.5  (Read 1112 times)

michaelguest

  • Newbie
  • *
  • Posts: 9
    • View Profile
Running MacOSX 10.14 Tkinter crashing Metashape 1.5
« on: March 13, 2020, 03:01:50 AM »
Hello there! I would like to have my systems dialog box pop up so I can specify the folder I want for my exports instead of manually setting it in the script. I am using Tkinter to do this however it is freezing at root = Tk(). Also if I run the script with the Metashape GUI I get unexpected error. Do you guys have any solutions? Also can I do this simple task without Tkinter? I am running Metashape 1.5. My code is attached below.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Running MacOSX 10.14 Tkinter crashing Metashape 1.5
« Reply #1 on: March 13, 2020, 11:54:39 AM »
Hello michaelguest,

We'll check that. But for simple task of selecting folder, input files, output files you can use:
Metashape.app.getExistingDirectory()
Metashape.app.getOpenFileName()
Metashape.app.getOpenFileNames()
Metashape.app.getSaveFileName()
Best regards,
Alexey Pasumansky,
Agisoft LLC