Forum

Author Topic: Python Kernel Crashes with "ERROR: execution aborted"  (Read 285 times)

vik748

  • Newbie
  • *
  • Posts: 5
    • View Profile
Python Kernel Crashes with "ERROR: execution aborted"
« 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

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 10560
    • View Profile
Re: Python Kernel Crashes with "ERROR: execution aborted"
« Reply #1 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.
Best regards,
Alexey Pasumansky,
AgiSoft LLC

vik748

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Python Kernel Crashes with "ERROR: execution aborted"
« Reply #2 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

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 10560
    • View Profile
Re: Python Kernel Crashes with "ERROR: execution aborted"
« Reply #3 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
Best regards,
Alexey Pasumansky,
AgiSoft LLC