Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - FrancoCorleone

Pages: [1]
General / Can't activate license
« on: August 02, 2023, 03:17:02 PM »
Error requesting activation
Can't access rehostable hostid. This could happen if it does not exist or
if you have no write access to /Library/Application Support/Reprise folder.
Details: No rehostable hostid top-level dir (-148)Unknown error: -11 (errno: -11)

This is what I get when I try to activate license using "Metashape.License().activate('xxx').
The activation process for this software is so overcomplicated...

Python and Java API / Python wrapper configure logging output
« on: October 28, 2022, 03:09:37 PM »
I'm struggling with setting up the intercepting mechanism for logging. I don't like how it's done currently, and maybe you can nudge me in the right direction.
Basically, I have a running process, that creates 3d models one after another using Python Wheel Package. I'm not using GUI!
I want each model to be processed and logs saved in separate file so I could then upload the results to my server for further investigation. Also it's possible for two models to be processed at the same time, so I'd rather avoid any GLOBAL settings. Ideally, we should be able to pass an instance of logger to Metashape script.

I don't want to use any linux piping or anything like that. Gotta be python native in that sense.

Python and Java API / Segmentation fault at the process end
« on: August 02, 2022, 01:48:37 AM »
Hi again, I opened another ticket, as previous one was only in regards to running in docker.
But this time, I run the processing script on Windows machine. It processes everything. I can see the last in my script is processed. I explicitly call some other operations after metashape part to confirm it runs correctly, and then, at the end, it shows Segmentation Fault. What can be the reason for that?

Looks like this problem is not limited to Docker. It works on my Mac, it works on native Linux, it throws on both Windows and inside Docker.


General / Historical versions of Metashape and Python wrapper
« on: July 22, 2022, 05:13:01 PM »
Hey, for my tests, I need to access and installed Agisoft v. 1.5.1, yet I can't find it on your page. How can I download binaries and python wrappers?

Is it possible to define an executable path or a Metashape version if there are multiple installed on one machine? Ideally via some param, function or environment variable.


Hello all,
My first question is about a possible reason for Metashape finishing with segmentation fault using python wrapper for processing but that happens ONLY in docker. I tried on Mac, I tried on EC2 instance running natively, and then I tried in docker (GPU passed in, Vulkan available, ubuntu 18 based image). Whole processing is done correctly, and then it just exits with segmentation fault instead of code 0.

Any tips appreciated, this one is annoying to find.


Pages: [1]