Zerbu / Mod-Constructor-5

The Sims 4 Mod Constructor is a downloadable program that allows users to create mods for The Sims 4 in a user-friendly environment. Version 5 is easier to use than ever!
102 stars 17 forks source link

Getting an error when trying to export the mod #193

Open Metalmummy opened 3 months ago

Metalmummy commented 3 months ago

I've spent a few hours going around in circles trying to fix this, I have tried uninstalling python and reinstalling. I am not sure if its something on their end. I do apologise if I am being silly, and its something really obvious, as I am new to all this! These are the errors I am getting: There was an error compiling the generated Python script. This can happen if you tried to install Python but the isntallation was interrupted. Please try running the installer again. It should be located in the "Python Installer" subfolder of where you extracted Mod Constructor. Element ID: (No Element) Element Name: (No Element)

Could not find file 'C:\Users\Charl\OneDrive\Documents\The Sims 4 Mod Constructor\Projects\MetalMummysMods_Ehlers-DanlosMod\Python__pycache__\MetalMummysMods_Ehlers-DanlosMod.cpython-37.pyc'. Element ID: (No Element) Element Name: (No Element)

Thank you so much!

errantred commented 1 month ago

Hi MetalMummy - This crops up because of the dash in your mod's name. This isn't necessarily a fault of MC - it's more about python not being thrilled with dashes. You can always rename your mod folder and edit the info.xml file within to remove the dashes and it should export properly.