STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
269
IN-GAME
1,603
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Parsing DMX animation failure directly caused by `IndexError: pop from empty list`
I have a folder full of animations. Some work fine but most fail very early in reading the file. A `DatamodelParseError` is raised as a result of trying to pop from an empty list. The files fail on line 27, which would be after reading something like
<!-- dmx encoding keyvalues2 1 format model 1 --> "DmElement" { "name" "string" "root" "exportTags" "DmElement" { "name" "string" "exportTags" "app" "string" "sfm" "appVersion" "string" "0.9.8.15" "editor" "string" "CDmxAnimToV1DmxAnim" "session" "string" "e:/windows.old/programmi/steam/steamapps/common/sourcefilmmaker/game/usermod/elements/sessions/testsession.dmx" "dstScene" "string" "C:/Program Files (x86)/Steam/steamapps/common/SourceFilmmaker/game/usermod/caramel_dancing.dmx" "map" "string" "stage.bsp" "clip" "string" "shot2" "mdl" "string" "models/test.mdl" "type" "string" "animation" "frameCount" "int" "20" "frameRate" "string" "30fps" "frameRange" "string" "0-19x1" "timeRange" "string" "0-0.6667" "upaxis" "string" "Y" "vproject" "string" "E:/Windows.old/Programmi/steam/steamapps/common/SourceFilmmaker/game/usermod" "date" "string" "2016/12/04" "time" "string" "23:44:52" "user" "string" "Utente" "machine" "string" "UTENTE-PC" }
If I remove the element it's failing on it will just fail a few hundred lines later.
< >
Showing 1-2 of 2 comments
Zappy 3 Jun, 2021 @ 4:38am 
Originally posted by Living Linguini:
<!-- dmx encoding keyvalues2 1 format model 1 --> "DmElement" { "name" "string" "root" "exportTags" "DmElement" { [Snipped to keep the quote short] }
If you didn't mis-copy this, then you're missing the closing bracket of "DmElement"; you have two "{"s, but only one "}".
Last edited by Zappy; 3 Jun, 2021 @ 4:38am
Artfunkel 6 Jun, 2021 @ 6:51am 
Please upload the file you are trying to read.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details