Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importation of open timeline xml crash #186

Open
yodatak opened this issue Nov 16, 2022 · 4 comments
Open

Importation of open timeline xml crash #186

yodatak opened this issue Nov 16, 2022 · 4 comments

Comments

@yodatak
Copy link

yodatak commented Nov 16, 2022

Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 573, in _build_master
ws.require(requires)
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 782, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyaaf2 1.2.0 (/app/lib/python3.9/site-packages), Requirement.parse('pyaaf2==1.4.0'), {'OpenTimelineIO'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/bin/otioconvert", line 33, in
sys.exit(load_entry_point('OpenTimelineIO==0.13.0', 'console_scripts', 'otioconvert')())
File "/app/bin/otioconvert", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/app/lib/python3.9/site-packages/opentimelineio/init.py", line 35, in
from . import (
File "/app/lib/python3.9/site-packages/opentimelineio/schema/init.py", line 53, in
from . schemadef import (
File "/app/lib/python3.9/site-packages/opentimelineio/schema/schemadef.py", line 4, in
from .. import (
File "/app/lib/python3.9/site-packages/opentimelineio/plugins/init.py", line 29, in
from .python_plugin import (
File "/app/lib/python3.9/site-packages/opentimelineio/plugins/python_plugin.py", line 38, in
from . import (
File "/app/lib/python3.9/site-packages/opentimelineio/plugins/manifest.py", line 33, in
import pkg_resources
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 3267, in
def _initialize_master_working_set():
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 3241, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 3279, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 575, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 588, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyaaf2==1.4.0' distribution was not found and is required by OpenTimelineIO

@travier
Copy link
Member

travier commented Nov 16, 2022

@yodatak
Copy link
Author

yodatak commented Dec 7, 2022

Any news on this ?

@amakuramio
Copy link

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.0 (/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
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 "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/lib/python3.10/site-packages/opentimelineio/init.py", line 14, in
from . import (
File "/app/lib/python3.10/site-packages/opentimelineio/schema/init.py", line 34, in
from . schemadef import (
File "/app/lib/python3.10/site-packages/opentimelineio/schema/schemadef.py", line 7, in
from .. import (
File "/app/lib/python3.10/site-packages/opentimelineio/plugins/init.py", line 8, in
from .python_plugin import (
File "/app/lib/python3.10/site-packages/opentimelineio/plugins/python_plugin.py", line 17, in
from . import (
File "/app/lib/python3.10/site-packages/opentimelineio/plugins/manifest.py", line 18, in
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 3328, in
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
same here

@tsdgeos
Copy link
Collaborator

tsdgeos commented Sep 6, 2023

pkg_resources.DistributionNotFound: The 'pyaaf2<1.7,>=1.4' distribution was not found and is required by OpenTimelineIO

We do ship pyaaf2-1.6.0

Can you please provide detailed steps to reproduce the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants