STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
296
I SPIL
1,944
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Bug Reports > Trådoplysninger
Lil' Sassy 9. dec. 2020 kl. 12:17
ValueError when attempting to import a .SMD
Python: Traceback (most recent call last): File "//import_smd.py", line 72, in execute self.num_files_imported = self.readSMD(filepath, self.properties.upAxis, self.properties.rotMode) File "//import_smd.py", line 1239, in readSMD if line == "nodes\n": self.readNodes() File "//import_smd.py", line 254, in readNodes id, name, parent = self.parseQuoteBlockedLine(line,lower=False)[:3] ValueError: not enough values to unpack (expected 3, got 2) location: <unknown location>:-1

If I convert the .smd model to a .obj via a different program, it will work and appear just fine. Not sure what might be causing this. Using Blender 2.91
Oprindeligt skrevet af ZeqMacaw:
I downloaded the linked SMD file and discovered the cause of the reported problem. The "nodes" section of the SMD file is using invalid carriage return and line feed characters in some of the bone names.

I have pasted the entire nodes section so others can see the cause is from the invalid names for nodes 11, 12, 13, 76, 78, 79.
nodes 0 "c7130_body" -1 1 "master_1" -1 2 "center" 1 3 "Pelvis" 2 4 "Spine" 3 5 "Spine1" 4 6 "Neck" 5 7 "Head" 6 8 "HeadNub" 7 9 "Jaw" 7 10 "Jaw Nub" 9 11 "L Eyelid " 7 12 "R Eyelid " 7 13 "Glasses Bone " 7 14 "L Eye" 7 15 "R Eye" 7 16 "R Lip" 7 17 "L Temple" 7 18 "L Forehead" 7 19 "R Forehead" 7 20 "R Temple" 7 21 "L Lip" 7 22 "L Clavicle" 6 23 "L UpperArm" 22 24 "L Forearm" 23 25 "L Hand" 24 26 "L Finger0" 25 27 "L Finger01" 26 28 "L Finger0Nub" 27 29 "L Finger1" 25 30 "L Finger11" 29 31 "L Finger1Nub" 30 32 "L Finger2" 25 33 "L Finger21" 32 34 "L Finger2Nub" 33 35 "L Finger3" 25 36 "L Finger31" 35 37 "L Finger3Nub" 36 38 "L Finger4" 25 39 "L Finger41" 38 40 "L Finger4Nub" 39 41 "master L ForeTwist" 23 42 "master LUpArmTwist" 22 43 "R Clavicle" 6 44 "R UpperArm" 43 45 "R ForeArm" 44 46 "R Hand" 45 47 "R Finger0" 46 48 "R Finger01" 47 49 "R Finger0Nub" 48 50 "R Finger1" 46 51 "R Finger11" 50 52 "R Finger1Nub" 51 53 "R Finger2" 46 54 "R Finger21" 53 55 "R Finger2Nub" 54 56 "R Weapon" 46 57 "R Finger3" 46 58 "R Finger31" 57 59 "R Finger3Nub" 58 60 "R Finger4" 46 61 "R Finger41" 60 62 "R Finger4Nub" 61 63 "master R ForeTwist" 44 64 "master RUpArmTwist" 43 65 "L Thigh" 4 66 "L Calf" 65 67 "L Foot" 66 68 "L Toe0" 67 69 "L Toe0Nub" 68 70 "R Thigh" 4 71 "R Calf" 70 72 "R Foot" 71 73 "R Toe0" 72 74 "R Toe0Nub" 73 75 "Apron1" 3 76 "Apron2 " 75 77 "Apron3" 76 78 "Apron4 " 77 79 "Apron5 " 78 80 "ClothEsc" 3 81 "Model_Dmy_81" -1 82 "sfx_dummy_82" -1 83 "体力ゲージ_83" -1 end
< >
Viser 1-2 af 2 kommentarer
Zappy 9. dec. 2020 kl. 12:28 
Please upload and link to the SMD file here (unless it's 18+ or otherwise not allowed), so that we can see exactly what's in the file.
En moderator af dette forum har angivet, at dette indlæg besvarer det oprindelige emne.
ZeqMacaw 9. dec. 2020 kl. 13:54 
I downloaded the linked SMD file and discovered the cause of the reported problem. The "nodes" section of the SMD file is using invalid carriage return and line feed characters in some of the bone names.

I have pasted the entire nodes section so others can see the cause is from the invalid names for nodes 11, 12, 13, 76, 78, 79.
nodes 0 "c7130_body" -1 1 "master_1" -1 2 "center" 1 3 "Pelvis" 2 4 "Spine" 3 5 "Spine1" 4 6 "Neck" 5 7 "Head" 6 8 "HeadNub" 7 9 "Jaw" 7 10 "Jaw Nub" 9 11 "L Eyelid " 7 12 "R Eyelid " 7 13 "Glasses Bone " 7 14 "L Eye" 7 15 "R Eye" 7 16 "R Lip" 7 17 "L Temple" 7 18 "L Forehead" 7 19 "R Forehead" 7 20 "R Temple" 7 21 "L Lip" 7 22 "L Clavicle" 6 23 "L UpperArm" 22 24 "L Forearm" 23 25 "L Hand" 24 26 "L Finger0" 25 27 "L Finger01" 26 28 "L Finger0Nub" 27 29 "L Finger1" 25 30 "L Finger11" 29 31 "L Finger1Nub" 30 32 "L Finger2" 25 33 "L Finger21" 32 34 "L Finger2Nub" 33 35 "L Finger3" 25 36 "L Finger31" 35 37 "L Finger3Nub" 36 38 "L Finger4" 25 39 "L Finger41" 38 40 "L Finger4Nub" 39 41 "master L ForeTwist" 23 42 "master LUpArmTwist" 22 43 "R Clavicle" 6 44 "R UpperArm" 43 45 "R ForeArm" 44 46 "R Hand" 45 47 "R Finger0" 46 48 "R Finger01" 47 49 "R Finger0Nub" 48 50 "R Finger1" 46 51 "R Finger11" 50 52 "R Finger1Nub" 51 53 "R Finger2" 46 54 "R Finger21" 53 55 "R Finger2Nub" 54 56 "R Weapon" 46 57 "R Finger3" 46 58 "R Finger31" 57 59 "R Finger3Nub" 58 60 "R Finger4" 46 61 "R Finger41" 60 62 "R Finger4Nub" 61 63 "master R ForeTwist" 44 64 "master RUpArmTwist" 43 65 "L Thigh" 4 66 "L Calf" 65 67 "L Foot" 66 68 "L Toe0" 67 69 "L Toe0Nub" 68 70 "R Thigh" 4 71 "R Calf" 70 72 "R Foot" 71 73 "R Toe0" 72 74 "R Toe0Nub" 73 75 "Apron1" 3 76 "Apron2 " 75 77 "Apron3" 76 78 "Apron4 " 77 79 "Apron5 " 78 80 "ClothEsc" 3 81 "Model_Dmy_81" -1 82 "sfx_dummy_82" -1 83 "体力ゲージ_83" -1 end
Sidst redigeret af ZeqMacaw; 9. dec. 2020 kl. 13:57
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50

Alle diskussioner > Bug Reports > Trådoplysninger