otioview core dumps in v0.12.1


Gonzalo Garramuño
 

$ otioview /media/gga/Datos/movies/test.otio

/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Violación de segmento (`core' generado)

--
Gonzalo Garramuño


Gonzalo Garramuño
 

With PySide2 it no longer core dumps, but it seems opentimelineio is compiled against a very new Qt.

$ otioview /media/gga/Datos/movies/test.edl
Traceback (most recent call last):
  File "/home/gga/.local/bin/otioview", line 11, in <module>
    load_entry_point('OpenTimelineIO==0.12.1', 'console_scripts', 'otioview')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2324, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/gga/.local/lib/python2.7/site-packages/opentimelineview/__init__.py", line 27, in <module>
    from . import (
  File "/home/gga/.local/lib/python2.7/site-packages/opentimelineview/details_widget.py", line 25, in <module>
    from PySide2 import QtWidgets, QtGui, QtCore
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/gga/.local/lib/python2.7/site-packages/PySide2/libpyside2-python2.7.so.5.14)

$ ll  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
lrwxrwxrwx 1 root root 19 feb  7 12:41 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.9.5

El 29/3/20 a las 07:44, Gonzalo Garramuño via Lists.Aswf.Io escribió:
$ otioview /media/gga/Datos/movies/test.otio

/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Violación de segmento (`core' generado)
--
Gonzalo Garramuño


Joshua Minor
 

OTIO targets the VFX Reference Platform https://vfxplatform.com/ 2016-2020, which should cover PySide 2.0.x and 5.12.x.

It looks like our setup.py asks for version 5.11 or greater: 

It is possible that something is not working in otioview in newer PySide. Can you try running otioview with PySide 5.11 or 5.12? You should be able to install that into a virtual environment with pip.

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Mar 29, 2020, at 4:06 AM, Gonzalo Garramuño <ggarra13@...> wrote:

With PySide2 it no longer core dumps, but it seems opentimelineio is compiled against a very new Qt.

$ otioview /media/gga/Datos/movies/test.edl
Traceback (most recent call last):
  File "/home/gga/.local/bin/otioview", line 11, in <module>
    load_entry_point('OpenTimelineIO==0.12.1', 'console_scripts', 'otioview')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2324, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/gga/.local/lib/python2.7/site-packages/opentimelineview/__init__.py", line 27, in <module>
    from . import (
  File "/home/gga/.local/lib/python2.7/site-packages/opentimelineview/details_widget.py", line 25, in <module>
    from PySide2 import QtWidgets, QtGui, QtCore
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/gga/.local/lib/python2.7/site-packages/PySide2/libpyside2-python2.7.so.5.14)

$ ll  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
lrwxrwxrwx 1 root root 19 feb  7 12:41 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.9.5

El 29/3/20 a las 07:44, Gonzalo Garramuño via Lists.Aswf.Io escribió:
$ otioview /media/gga/Datos/movies/test.otio

/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Violación de segmento (`core' generado)

--
Gonzalo Garramuño






Gonzalo Garramuño
 


On 30/3/20 17:05, Joshua Minor wrote:
OTIO targets the VFX Reference Platform https://vfxplatform.com/ 2016-2020, which should cover PySide 2.0.x and 5.12.x.

It looks like our setup.py asks for version 5.11 or greater: 

It is possible that something is not working in otioview in newer PySide. Can you try running otioview with PySide 5.11 or 5.12? You should be able to install that into a virtual environment with pip.

I get the following with PySide 5.11:

ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.11' not found (required by /home/gga/.local/lib/python2.7/site-packages/PySide2/libpyside2-python2.7.so.5.11)

As I said, the problem seems Qt related more than PySide related.  If I write a simple script, like:

---

#!/usr/bin/python

from PySide2 import *

-----

I get the same error.  It seems I would need a PySide2-5.0.9 to make it work, but it no longer exists.

With the list of PySide, I get:

$ pip install PySide2==2.0
Collecting PySide2==2.0
  Could not find a version that satisfies the requirement PySide2==2.0 (from versions: 0.0.0a1, 5.11.0, 5.11.1, 5.11.2, 5.12.0, 5.12.1, 5.12.2, 5.12.3, 5.12.4, 5.12.5, 5.12.6, 5.13.0, 5.13.1, 5.13.2, 5.14.0, 5.14.1)
No matching distribution found for PySide2==2.0

When I run it under python3.6, I get the core dump with PySide 5.11 or 5.12.

_._,_._,_
-- 
Gonzalo Garramuño


Gonzalo Garramuño
 

On 30/3/20 17:05, Joshua Minor wrote:
OTIO targets the VFX Reference Platform https://vfxplatform.com/ 2016-2020, which should cover PySide 2.0.x and 5.12.x.
I installed libQt5Core.5.1.3.so and it worked.  Just for reference if someone else goes thru the same.

--
Gonzalo Garramuño


Gonzalo Garramuño
 

On 3/4/20 13:08, Gonzalo Garramuño via lists.aswf.io wrote:

On 30/3/20 17:05, Joshua Minor wrote:
OTIO targets the VFX Reference Platform https://vfxplatform.com/ 2016-2020, which should cover PySide 2.0.x and 5.12.x.
I installed libQt5Core.5.1.3.so and it worked.  Just for reference if someone else goes thru the same.
That's libQt5Core.5.13.so of course.

--
Gonzalo Garramuño