Author Topic: Linux Metashape 1.7.6 and rasterio  (Read 1679 times)


  • Newbie
  • *
  • Posts: 19
    • View Profile
Linux Metashape 1.7.6 and rasterio
« on: December 09, 2022, 03:17:01 AM »
I seem to have found a strange bug when trying to use rasterio 1.2.+ and Linux Metashape (the version I was mainly testing on was 1.7.6 but I have seen this in other versions as well)

I have only tested this when using the API or Python console with the installed Metashape version (not the .whl)

Specifically, Metashape crashes with a "Segmentation fault (core dumped)" message when attempting a simple rasterio open call such as:

Code: [Select]
import rasterio
f1 ="/path/to/raster/ortho.tif")

I uninstalled rasterio 1.2+ and installed rasterio 1.1.5 and the error disappeared.

I do not seem to see this bug in Windows Metashape and rasterio 1.2+, however.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14927
    • View Profile
Re: Linux Metashape 1.7.6 and rasterio
« Reply #1 on: December 09, 2022, 03:23:07 PM »
Hello rmassaro,

Can you please check, if you are no longer facing this problem in Metashape 2.0 pre-release?
Best regards,
Alexey Pasumansky,
Agisoft LLC