Agisoft Metashape

Agisoft Metashape => Bug Reports => Topic started by: vik748 on May 14, 2019, 12:15:16 AM

Title: Python Kernel Crashes with "ERROR: execution aborted"
Post by: vik748 on May 14, 2019, 12:15:16 AM
I am running the latest version on Metashape on Ubuntu 16.04.  I have observed that in the Python console once I run any command that throws an error, the kernel crashes and doesn't respond to any more commands. The only message you then get is "ERROR: execution aborted"

Looks like this has been identified at https://github.com/ipython/ipykernel/issues/370

Any ideas how I can fix this issue in Metashape?

Thanks,
Vik
Title: Re: Python Kernel Crashes with "ERROR: execution aborted"
Post by: Alexey Pasumansky on May 14, 2019, 04:04:21 PM
Hello Vik,

Does it happen only when rich console is used?

In such case the issue could be introduced with the installation of some external modules to Metashape Python folder, which could affect the dependences of ipykernel package.
Title: Re: Python Kernel Crashes with "ERROR: execution aborted"
Post by: vik748 on May 14, 2019, 10:41:20 PM
Alexey,
Actually this is on fresh install of Metashape with no custom modules added to python.

Is there a way to change the python version in Metashape say to 3.4 or something like that?

Thanks,
Vik
Title: Re: Python Kernel Crashes with "ERROR: execution aborted"
Post by: Alexey Pasumansky on May 15, 2019, 01:01:57 PM
Hello VIk,

Can you please execute in terminal the following commands and provide the output:

Code: [Select]
cd <.../path/to/metashape>
LD_LIBRARY_PATH=`pwd`/python/lib python/bin/python3.5m -m pip freeze