Sign in to follow this  
logie757

Autocompiler keeps saying "Error 'int' is not suspcriptable

Recommended Posts

logie757    0

Not sure why, but my autocompiler doesn't seem to be able to compile my character's animations (I used the Extended Sample Template), I have tried a bunch of different solutions I found here on the forums (Making sure I have all body parts, making sure everything is named properly, etc.) but for some odd reason I keep getting an error when trying to compile  the animations so I can actually see my character in game. I would totally appreciate some help with this.

Share this post


Link to post
Share on other sites
logie757    0

To add to this a bit, it specifically says this:

        Exporting garfield.zip
Exporting Animation[################################] 1/1
Error Exporting D:\SteamLibrary\steamapps\common\Don't Starve Together\mods\Garfield\exported\garfield\garfield.zip
'int' object is not subscriptableTraceback (most recent call last):
  File "D:\SteamLibrary\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\buildanimation.py", line 529, in <module>
    ExportBuild( endianstring, zip_file, buildxml, outzip, not results.skipantialias, results.platform, results.textureformat, results.hardalphatextureformat, results.force, results.ignoreexceptions )
  File "D:\SteamLibrary\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\buildanimation.py", line 395, in ExportBuild
    img.regions = optimizeimage.GetImageRegions(img, 32)
  File "D:\SteamLibrary\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 156, in GetImageRegions
    rootNode = QuadTreeNode(img, None, 0, blocksize)
  File "D:\SteamLibrary\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 75, in __init__
    childtypes = [ Analyze(im, childboxes[0]),
  File "D:\SteamLibrary\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 34, in Analyze
    if p[3] == 0:
TypeError: 'int' object is not subscriptable

Then it moves on to other things, including the ghost build which prompts the same error
I have tried to reinstall my DS Mod Tools to no avail. It also seems none of the other threads I find will solve my problem if anyone wants to take a look here is my character 

Garfield.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this