Bug 426942 - 20.08.1: OpenTimelineIO - Project Conversion Failed
Summary: 20.08.1: OpenTimelineIO - Project Conversion Failed
Status: RESOLVED UPSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 20.08.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 445214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-25 06:12 UTC by okhostok
Modified: 2022-09-05 10:39 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments
attachment-16480-0.html (1.20 KB, text/html)
2022-08-26 20:36 UTC, chrisbatherton
Details
attachment-2071-0.html (1.50 KB, text/html)
2022-09-05 10:39 UTC, chrisbatherton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description okhostok 2020-09-25 06:12:16 UTC
SUMMARY
I wanted to try exporting the timeline into XML format. So I did File->OpenTimelineIO Export. At first it showed that I need to do `pip3 install opentimelineio`. After installing the required package and when I try OpenTimelineIO Export it shows an error: Project conversion failed, %1(I18N_ARGUMENT_MISSING).

STEPS TO REPRODUCE
1. Create or open a project.
2. Select File->OpenTimelineIO Export.
3. Select destination.

OBSERVED RESULT
Shows an error: Project conversion failed, %1(I18N_ARGUMENT_MISSING).

EXPECTED RESULT
Export to XML format.

SOFTWARE/OS VERSIONS
OS: Ubuntu 20.04.1
Qt: 5.12.8
KDE Frameworks: 5.68.0
kf5-config: 1.0
Kdenlive: 20.08.1 (however it shows 20.08.0 in about section, but apt shows 20.08.1)

ADDITIONAL INFORMATION

On terminal: 
OTIO adapters: "*.xml *.otio *.edl *.fcpxml *.m3u8 *.ma *.mb *.ale *.aaf *.xges *.kdenlive "
LC_NUMERIC reset to C
kf5.ki18n: "0 instead of 1 arguments to message {Project conversion f...} supplied before conversion."
Comment 1 emohr 2020-09-27 15:07:54 UTC
Yes, OpenTimelineIO is not working at the moment. https://invent.kde.org/multimedia/kdenlive/-/issues/751
Comment 2 Vincent PINON 2020-10-21 18:01:36 UTC
https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/798

I need to work on tests (or conversions) to make the PR progress
Comment 3 Henrique Sant'Anna 2020-11-01 18:40:59 UTC
I can export, but I can't import.

To test the exporting I did:

STEPS TO REPRODUCE

1. Create empty project
2. Add a clip to the bin
3. Add the clip to timeline
4. Menu File > OpenTimelineIO Export

But if I try to import the exported file, I get the error alert:

"Project conversion failed:
%1(I18N_ARGUMENT_MISSING)"

So I tried to import the exported file directly to a OpenTimelineIO python script:

#########

import opentimelineio as otio
timeline = otio.adapters.read_from_file("kdenlive_exported.xml", "fcp_xml")
# I'm not sure if fcp_xml is the correct adapter

#########

But the python script import will get this error:

--------
Exception has occurred: AttributeError
'NoneType' object has no attribute 'text'
  File "/home/henrique/.local/lib/python3.8/site-packages/opentimelineio/adapters/fcp_xml.py", line 943, in item_and_timing_for_element
    start_value = int(item_element.find("./start").text)
--------

So I debugged opentimelineio/adapters/fcp_xml.py and it seems that kdenlive_exported.xml is not valid, at least for fcp_xml adapter.
Comment 4 farid 2021-03-03 21:42:57 UTC
Still happening in latest master.
Comment 5 laura 2021-11-27 13:15:30 UTC
FYI: I have found a workaround and also submitted a patch to the opentimelineio project. I've detailed both of it here: https://bugs.kde.org/show_bug.cgi?id=445214#c1
Comment 6 Julius Künzel 2022-01-16 18:24:42 UTC
*** Bug 445214 has been marked as a duplicate of this bug. ***
Comment 7 farid 2022-08-26 15:01:58 UTC
What is the status of this?
Comment 8 chrisbatherton 2022-08-26 20:36:38 UTC
Created attachment 151622 [details]
attachment-16480-0.html

will check give me a day or two pls


On Fri, 26 Aug 2022 at 17:02, farid <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=426942
>
> farid <snd.noise@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|CONFIRMED                   |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #7 from farid <snd.noise@gmail.com> ---
> What is the status of this?
>
> --
> You are receiving this mail because:
> You voted for the bug.
Comment 9 farid 2022-08-27 00:52:25 UTC
(In reply to chrisbatherton from comment #8)
> Created attachment 151622 [details]
> attachment-16480-0.html
> 
> will check give me a day or two pls
> 
> 
> On Fri, 26 Aug 2022 at 17:02, farid <bugzilla_noreply@kde.org> wrote:
> 
> > https://bugs.kde.org/show_bug.cgi?id=426942
> >
> > farid <snd.noise@gmail.com> changed:
> >
> >            What    |Removed                     |Added
> >
> > ----------------------------------------------------------------------------
> >              Status|CONFIRMED                   |NEEDSINFO
> >          Resolution|---                         |WAITINGFORINFO
> >
> > --- Comment #7 from farid <snd.noise@gmail.com> ---
> > What is the status of this?
> >
> > --
> > You are receiving this mail because:
> > You voted for the bug.

No rush, thanks.  Do test the AppImage or Flatpak please.
Comment 10 Julius Künzel 2022-09-03 14:10:42 UTC
This is fixed upstream, but not delivered to users yet, since there has not been a OpenTimelineIO release since the fix.
Comment 11 chrisbatherton 2022-09-05 10:39:01 UTC
Created attachment 151825 [details]
attachment-2071-0.html

Got it.

On Sat, 3 Sept 2022 at 16:10, Julius Künzel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=426942
>
> Julius Künzel <jk.kdedev@smartlab.uber.space> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEEDSINFO                   |RESOLVED
>                  CC|
> |jk.kdedev@smartlab.uber.spa
>                    |                            |ce
>          Resolution|WAITINGFORINFO              |UPSTREAM
>
> --- Comment #10 from Julius Künzel <jk.kdedev@smartlab.uber.space> ---
> This is fixed upstream, but not delivered to users yet, since there has not
> been a OpenTimelineIO release since the fix.
>
> --
> You are receiving this mail because:
> You voted for the bug.