SUMMARY i tried to export the timeline to use it in another software for more post effects and it gave me OpenTimelineIO Project conversion failed. STEPS TO REPRODUCE 1. cilcked file 2. clicked OpenTimelineIO export... 3. selected a folder. 4. typed the name of the file. 5. clicked save. OBSERVED RESULT gives me the error OpenTimelineIO Project conversion failed and the details :- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 631, in _build_master ws.require(__requires__) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 829, in resolve dist = self._resolve_dist( File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 875, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pyaaf2 1.7.1 (/app/lib/python3.10/site-packages), Requirement.parse('pyaaf2<1.7,>=1.4'), {'OpenTimelineIO'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/bin/otioconvert", line 33, in <module> sys.exit(load_entry_point('OpenTimelineIO==0.15.0', 'console_scripts', 'otioconvert')()) File "/app/bin/otioconvert", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/app/lib/python3.10/site-packages/opentimelineio/__init__.py", line 14, in <module> from . import ( File "/app/lib/python3.10/site-packages/opentimelineio/schema/__init__.py", line 34, in <module> from . schemadef import ( File "/app/lib/python3.10/site-packages/opentimelineio/schema/schemadef.py", line 7, in <module> from .. import ( File "/app/lib/python3.10/site-packages/opentimelineio/plugins/__init__.py", line 8, in <module> from .python_plugin import ( File "/app/lib/python3.10/site-packages/opentimelineio/plugins/python_plugin.py", line 17, in <module> from . import ( File "/app/lib/python3.10/site-packages/opentimelineio/plugins/manifest.py", line 18, in <module> import pkg_resources File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3328, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 633, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 646, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 829, in resolve dist = self._resolve_dist( File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pyaaf2<1.7,>=1.4' distribution was not found and is required by OpenTimelineIO EXPECTED RESULT a xml or a timeline file in the folder SOFTWARE/OS VERSIONS Linux Mint edge 21.2 Cinnamon Kdenlive 23.08.4 (flatpak version) ADDITIONAL INFORMATION thanks for developing the software.
I'm having the same issue though the error message is a bit different: Traceback (most recent call last): File "/home/xxxx/.local/share/kdenlive/venv/bin/otioconvert", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/opentimelineio/console/otioconvert.py", line 238, in main result_tl = otio.adapters.read_from_file( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/opentimelineio/adapters/__init__.py", line 143, in read_from_file return adapter.read_from_file( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/opentimelineio/adapters/adapter.py", line 110, in read_from_file result = self._execute_function( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/opentimelineio/plugins/python_plugin.py", line 144, in _execute_function return (getattr(self.module(), func_name)(**kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/otio_kdenlive_adapter/adapters/kdenlive.py", line 290, in read_from_string maintractor = get_maintracktor(mlt, byid, docversion) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/otio_kdenlive_adapter/adapters/kdenlive.py", line 248, in get_maintracktor if float(docversion) < float("1.1"): ^^^^^^^^^^^^^^^^^ ValueError: could not convert string to float: ''
(In reply to antimidia from comment #1) > I'm having the same issue though the error message is a bit different: > > Traceback (most recent call last): > File "/home/xxxx/.local/share/kdenlive/venv/bin/otioconvert", line 8, in > <module> > sys.exit(main()) > ^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > opentimelineio/console/otioconvert.py", line 238, in main > result_tl = otio.adapters.read_from_file( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > opentimelineio/adapters/__init__.py", line 143, in read_from_file > return adapter.read_from_file( > ^^^^^^^^^^^^^^^^^^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > opentimelineio/adapters/adapter.py", line 110, in read_from_file > result = self._execute_function( > ^^^^^^^^^^^^^^^^^^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > opentimelineio/plugins/python_plugin.py", line 144, in _execute_function > return (getattr(self.module(), func_name)(**kwargs)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > otio_kdenlive_adapter/adapters/kdenlive.py", line 290, in read_from_string > maintractor = get_maintracktor(mlt, byid, docversion) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/home/xxxx/.local/share/kdenlive/venv/lib/python3.12/site-packages/ > otio_kdenlive_adapter/adapters/kdenlive.py", line 248, in get_maintracktor > if float(docversion) < float("1.1"): > ^^^^^^^^^^^^^^^^^ > ValueError: could not convert string to float: '' I forgot to mention I'm using Kdenlive 24.08 on Debian Testing.
This is still an open topic and is already part of the roadmap (https://kdenlive.org/en/kdenlive-roadmap/) for mid-term resolution.
*** This bug has been marked as a duplicate of bug 479162 ***