wow.export icon indicating copy to clipboard operation
wow.export copied to clipboard

Raw M2 export failure when file is unnamed

Open Marlamin opened this issue 3 years ago • 4 comments

Guessing 4755137 not being named in the listfile when the user exported the model is the actual issue. It is named now, but wasn't at the time due to an outdated listfile.

User provided log:

[11:56:19] Starting export of 1 model items
[11:56:19] Loading remote CASC file 968705 (character/tauren/male/taurenmale_hd.m2)
[11:56:20] Loaded CASC file 968705 from cache
[11:56:20] Loading remote CASC file 3592199 (character/tauren/male/taurenmale_hd_jewelry_color_3592199.blp)
[11:56:20] Loaded CASC file 3592199 from cache
[11:56:20] Exporting M2 texture 3592199 -> F:\blender stuff\wow export\exported\character\tauren\male\taurenmale_hd_jewelry_color_3592199.blp
[11:56:20] Loading remote CASC file 3614612 (character/tauren/male/taurenmale_hd_3614612.blp)
[11:56:20] Loaded CASC file 3614612 from cache
[11:56:20] Exporting M2 texture 3614612 -> F:\blender stuff\wow export\exported\character\tauren\male\taurenmale_hd_3614612.blp
[11:56:20] Loading remote CASC file 4293161 (character/tauren/male/taurenmale_hd_4293161.blp)
[11:56:20] Loaded CASC file 4293161 from cache
[11:56:20] Exporting M2 texture 4293161 -> F:\blender stuff\wow export\exported\character\tauren\male\taurenmale_hd_4293161.blp
[11:56:20] Loading remote CASC file 4528994 (character/tauren/male/taurenmale_hd_4528994.blp)
[11:56:20] Loaded CASC file 4528994 from cache
[11:56:20] Exporting M2 texture 4528994 -> F:\blender stuff\wow export\exported\character\tauren\male\taurenmale_hd_4528994.blp
[11:56:20] Loading remote CASC file 968755 (character/tauren/male/taurenmale_hd00.skin)
[11:56:20] Loaded CASC file 968755 from cache
[11:56:20] Loading remote CASC file 1067012 (character/tauren/male/taurenmale_hd_lod01.skin)
[11:56:20] Loaded CASC file 1067012 from cache
[11:56:20] Loading remote CASC file 1067020 (character/tauren/male/taurenmale_hd_lod02.skin)
[11:56:20] Loaded CASC file 1067020 from cache
[11:56:20] Loading remote CASC file 2132660 (character/tauren/male/taurenmale_hd_lod03.skin)
[11:56:20] Loaded CASC file 2132660 from cache
[11:56:20] Loading remote CASC file 4755137 (undefined)
[11:56:20] Loaded CASC file 4755137 from cache
[11:56:20] Failed to export character/tauren/male/taurenmale_hd.m2 (The "path" argument must be of type string. Received undefined)
[11:56:20] Finished export (0 succeeded, 1 failed)

Marlamin avatar Jan 07 '23 16:01 Marlamin

What is the file/type of 4755137? Also the person in question should not use spaces in their export directory - it will likely break, especially in Blender.

Kruithne avatar Jan 07 '23 17:01 Kruithne

What is the file/type of 4755137? Also the person in question should not use spaces in their export directory - it will likely break, especially in Blender.

It's a skin file, lod04. Don't think Blender/the mtl spaces issue is relevant here since it is a raw export.

Marlamin avatar Jan 07 '23 17:01 Marlamin

I'll take a look at the bug. And yeah the space issue isn't relevant here at all, but it bugs me (and maybe if they run into issues will save debugging pointing it out now 😂)

Kruithne avatar Jan 07 '23 17:01 Kruithne

Yeah, mentioned it in Discord at the time already but didn't think it was worth mentioning in this issue

Marlamin avatar Jan 07 '23 17:01 Marlamin