Well, you are the author so I'll trust your conclusion.
So, isn't randomportraits.gd the mod I want to select and load in the game mod menu?
So looking closer, that error is when there's no info.txt file in a mod. Tends to appear when you mouse over the mod name in the list. Mine however has an info.txt file though, so either you have some other mod that's generating that error, or you didn't extract the mod out entirely correctly. If it's some other mod, then you can just ignore the errors, they don't affact applying. If it's mine, then you've extracted it wrong somehow.
My mod is several files and has to be extracted as a subdirectory of the mods folder. It's more than that one file.
I tried it with 19c, and the mod doesn't cause the error to appear.
However, I'm not sure the in game effects are happening as intended. Sometimes the game matched girls portraits to their auto gen description, but more often than not it's seemingly random assignment of pictures. (The girl is a futa human teen large tits, but the picture assigned is an elf female adult small tits).
I used the sorting / naming tool pack editor to apply genders, races, and so on to each picture I have in the portraits folder.
examples:
\AppData\Roaming\Strive\portraits\Orc\Female\Teen\Purple GreenSkin TitsM AssM [4938b45e].jpg
\AppData\Roaming\Strive\portraits\HalfkinCat\Female\Teen\Black SkinL TitsM AssB preg [c831d780].jpg
\AppData\Roaming\Strive\bodies\Human\Female\Adult\Green SkinL TitsB AssB 2 [3950a0d6].jpg
and so on.
Does that look correct?