https://bugs.kde.org/show_bug.cgi?id=460597
Bug ID: 460597
Summary: OpenTimelineIO export fails if file extension isn't
specified in file name
Classification: Applications
Product: kdenlive
Version: git-master
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Video Display & Export
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
OpenTimelineIO export fails if file extension isn't specified in filename. If
you specify just the file name without adding the .otio extension it will
produce an error:
```
Traceback (most recent call last):
File
"/home/$USER/.local/lib/python3.10/site-packages/opentimelineio/adapters/__init__.py",
line 93, in from_filepath
return plugins.ActiveManifest().from_filepath(outext)
File
"/home/$USER/.local/lib/python3.10/site-packages/opentimelineio/plugins/manifest.py",
line 176, in from_filepath
raise exceptions.NoKnownAdapterForExtensionError(suffix)
opentimelineio.exceptions.NoKnownAdapterForExtensionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/$USER/.local/bin/otioconvert", line 8, in <module>
sys.exit(main())
File
"/home/$USER/.local/lib/python3.10/site-packages/opentimelineio/console/otioconvert.py",
line 220, in main
out_adapter = otio.adapters.from_filepath(args.output).name
File
"/home/$USER/.local/lib/python3.10/site-packages/opentimelineio/adapters/__init__.py",
line 95, in from_filepath
raise exceptions.NoKnownAdapterForExtensionError(
opentimelineio.exceptions.NoKnownAdapterForExtensionError: No adapter for
suffix '' on file '/home/$USER/Desktop/test'
```
STEPS TO REPRODUCE
1. Create a project with clips and edits on the timeline
2. Go to File > OpenTimelineIO Export
3. Choose a location and type a file name without extension and press save
OBSERVED RESULT
An error is given.
EXPECTED RESULT
The file should save, or some indication given that a .otio extension is
needed. Currently there is no way to know within kdenlive itself that the file
should be saved with a .otio extension (file specification is here
https://opentimelineio.readthedocs.io/en/latest/tutorials/otio-file-format-specification.html
)
SOFTWARE/OS VERSIONS
Ubuntu 22.04
KDE Frameworks
Version 5.92.0
Qt
Version 5.15.3 (built against 5.15.3)
MLT
Version 7.9.0
Open source multimedia framework.
Kdenlive
22.11.70
--
You are receiving this mail because:
You are watching all bug changes.