Package Details: agisoft-metashape-pro 2.1.3-1

Git Clone URL: https://aur.archlinux.org/agisoft-metashape-pro.git (read-only, click to copy)
Package Base: agisoft-metashape-pro
Description: Photogrammetric processing of digital images and 3D spatial data generation software. Professional edition
Upstream URL: https://www.agisoft.com/
Licenses: custom, custom:Agisoft EULA
Provides: agisoft-metashape-pro, agisoft-network-monitor, agisoft-viewer
Submitter: dobedobedo
Maintainer: dobedobedo
Last Packager: dobedobedo
Votes: 3
Popularity: 0.000000
First Submitted: 2020-03-10 05:20 (UTC)
Last Updated: 2024-10-08 05:14 (UTC)

Dependencies (10)

Required by (0)

Sources (7)

Pinned Comments

dobedobedo commented on 2021-08-18 20:55 (UTC) (edited on 2021-08-20 12:40 (UTC) by dobedobedo)

I encountered an issue the licence becomes invalid and cannot be deactivated. Here's the reply from agisoft support:

Please note that during the license activation of node-locked license an additional so-called "rehostable" directory is created. It is used later to validate the available license and stores the system parameters, that why it is important to deactivate the license before applying any major changes to the system, such as OS upgrade/re-install or hardware components replacement. 
The default location of the "rehostable" directory differs depending on the OS used:
on Windows - C:/ProgramData/Reprise/agisoft/photoscan-pro/
on Linux  -  /var/tmp/agisoft/photoscan-pro/
on macOS - /Library/Application Support/Reprise/agisoft/photoscan-pro/
It is possible to alter the default location by setting up AGISOFT_REHOST_PATH environment variable prior to the license activation. Use only safe location that wouldn't be cleared by any background services, as any modification of the "rehostable" directory contents including its removal will lead to the license invalidation.
During the activation and application utilization, please make sure that current user has access rights to the rehostable directory and folder where from Metashape Pro is started (the license file will be written to that folder).

If you decide to customize the rehsotable id folder location, make sure to do that prior to the license activation (set up env. variable, reboot and then activate Metashape license).

Metashape is using a 3rd party activation system developed by Reprisesoftware (https://reprisesoftware.com/). As far as we are aware, the following changes in hardware configuration would likely affect the activated license: adding/removing hard drive (HDD, SSD), adding/removing RAM modules, adding/removing GPU, replacing network card. Additionally MAC-address changes would affect the license, as well as major OS upgrades.

Therefore we recommend to deactivate Metashape license before any of these operations are applied to the system.

So make sure to deactivate the licence before any major system upgrade and then reactivate it.

To deactivate the licence, use

sudo agisoft-metashape-pro --deactivate

dobedobedo commented on 2020-09-08 02:42 (UTC)

Check the forum thread here:
https://www.agisoft.com/forum/index.php?topic=10943.0
There is a workaround for installing external python modules.

dobedobedo commented on 2019-10-01 15:23 (UTC) (edited on 2020-07-29 05:21 (UTC) by dobedobedo)

Run the following command to activate the product

sudo agisoft-metashape-pro --activate 11111-22222-33333-44444-55555

NOTE: the number after "--activate" is your node-locked license

Latest Comments

« First ‹ Previous 1 2 3

theodore commented on 2020-07-30 12:06 (UTC)

Hi @dobedobedo, I've seen this thread on the agisoft forum when I was looking for a solution on my own and I was hoping that it was only ubuntu related since as they say the current workaround was to downgrade the ubuntu instalation. However it seems that apparently it is not. In any case thanks for commenting there.

So I assume that you are also getting the same error when you run the command, right?

dobedobedo commented on 2020-07-30 03:50 (UTC) (edited on 2020-07-30 04:12 (UTC) by dobedobedo)

Hi @theodore, I suspect that the Metashape built-in python doesn't recognise the system openssl implementation. The same thing seems happening on Ubuntu 20.04 according to the forum posts.
I already post the errors on their official forum https://www.agisoft.com/forum/index.php?topic=10943.0 to see if there's a solution for this. You can also add some of your details there.

theodore commented on 2020-07-29 09:32 (UTC) (edited on 2020-07-29 09:41 (UTC) by theodore)

@dobedobedo yes I've used the python in the metashape-pro path not with the --user flag though. In any case I've tried your suggested commands and I am still getting the error regarding the ImportError: cannot import name 'HTTPSHandler'

Actually this is the complete error message:

$ LD_LIBRARY_PATH=/opt/agisoft/metashape-pro/python/lib /opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user pillow
Traceback (most recent call last):
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/index.py", line 30, in <module>
from pip.wheel import Wheel, wheel_ext
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/wheel.py", line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
  File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/_vendor/distlib/compat.py", line 66, in <module>
from urllib.request import (urlopen, urlretrieve, Request, url2pathname,
ImportError: cannot import name 'HTTPSHandler'

dobedobedo commented on 2020-07-29 05:21 (UTC) (edited on 2020-07-29 06:15 (UTC) by dobedobedo)

Hi @theodore, did you execute the python which belongs to metashape-pro? The path of metashape-pro python is /opt/agisoft/metashape-pro/python/bin/python3.5. Besides, you need to use --user when executing pip since we would like to avoid messing up the python modules with root permission.
The correct way to install external modules would like run commands like:

/opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user python_module_names

If you encounter the error message
error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
then add the path prefix in the command:

LD_LIBRARY_PATH=/opt/agisoft/metashape-pro/python/lib /opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user python_module_names

theodore commented on 2020-07-28 12:42 (UTC)

Hi, I am trying to install an external module according to this https://agisoft.freshdesk.com/support/solutions/articles/31000136860-how-to-install-external-python-module-to-metashape-professional-package but I am getting the ImportError: cannot import name 'HTTPSHandler' error. Then I've tried to install the openssl098 package (https://aur.archlinux.org/packages/openssl098/), but I am still getting the same error message. Any idea how to solve the issue?

dobedobedo commented on 2019-10-01 15:23 (UTC) (edited on 2020-07-29 05:21 (UTC) by dobedobedo)

Run the following command to activate the product

sudo agisoft-metashape-pro --activate 11111-22222-33333-44444-55555

NOTE: the number after "--activate" is your node-locked license