not loading an edl file #34588

Closed
opened 2013-03-10 07:03:30 +01:00 by farid abdelnour · 4 comments

Project: Blender Extensions
Tracker: Py Scripts Release
Blender: 2.66
Script name: EDL Import
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/EDL_Import
Author(s): Campbell Barton
Category: Import Export
Status: Closed

%%%this is what i get when importing an edl file generated with kdenparse a script of kdenlive.

Traceback (most recent call last):

File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/__init__.py", line 241, in execute
  edl_import_info.frame_offset)
File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/import_edl.py", line 107, in load_edl
  if not elist.parse(filename, fps):
File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 512, in parse
  self.edits.append(EditDecision(line, fps))
File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 324, in _init_
  self.read(text, fps)
File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 366, in read
  self.edit_type |= EDIT_DICT[EditDecision.strip_digits(edit_type)]

KeyError: ''

location: :-1

%%%

**Project**: Blender Extensions **Tracker**: Py Scripts Release **Blender**: 2.66 **Script name**: EDL Import **Wiki page**: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/EDL_Import **Author(s)**: Campbell Barton **Category**: Import Export **Status**: Closed %%%this is what i get when importing an edl file generated with kdenparse a script of kdenlive. Traceback (most recent call last): ``` File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/__init__.py", line 241, in execute edl_import_info.frame_offset) File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/import_edl.py", line 107, in load_edl if not elist.parse(filename, fps): File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 512, in parse self.edits.append(EditDecision(line, fps)) File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 324, in _init_ self.read(text, fps) File "/usr/share/blender/2.66/scripts/addons/io_sequencer_edl/parse_edl.py", line 366, in read self.edit_type |= EDIT_DICT[EditDecision.strip_digits(edit_type)] ``` KeyError: '' location: <unknown location>:-1 %%%

Changed status to: 'Open'

Changed status to: 'Open'

This task was automatically closed as archived as part of migration, because it was determined to be no longer active.

The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

This task was automatically closed as archived as part of migration, because it was determined to be no longer active. The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

%%%Lines like this are failing:
1 34_6 6 C 0:04:15;04 0:04:22;00 0:00:00;00 0:00:06;20

CMX-EDL's expect:
<filename|tag> [num] [duration] [srcIn] [srcOut] [recIn] [recOut]

So '6' is attempting to be read as an edit-type, Simply ignoring the '6' isnt fixing it because 'C' also isnt a valid value.

I checked this project https://github.com/barry-lyndon/KdenParse
and from what I can tell this isnt exporting a CMX-EDL compatible file.

The script needs to be changed to be compatible with blender since this isnt a simple bugfix.%%%

%%%Lines like this are failing: 1 34_6 6 C 0:04:15;04 0:04:22;00 0:00:00;00 0:00:06;20 CMX-EDL's expect: <filename|tag> <EditMode> <TransitionType>[num] [duration] [srcIn] [srcOut] [recIn] [recOut] So '6' is attempting to be read as an edit-type, Simply ignoring the '6' isnt fixing it because 'C' also isnt a valid value. I checked this project https://github.com/barry-lyndon/KdenParse and from what I can tell this isnt exporting a CMX-EDL compatible file. The script needs to be changed to be compatible with blender since this isnt a simple bugfix.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#34588
No description provided.