https://bugs.kde.org/show_bug.cgi?id=426942

Henrique Sant'Anna <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Henrique Sant'Anna <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to