Forum Discussion

Ellabellaurfell's avatar
2 years ago

typeerror ("object of type 'Nonetype' has no Len ()")

Could someone please explain to me what these notifications mean and how to fix it. 

First of all, when I first tried to play sims 4 my game wouldn't even load me in to play, it would say :

Unable to start:
Can't run The Sims 4 with the video card in this system. Please check that the video card meets the minimum specifications and that the latest video drivers are installed.
[Oe6d1221:1f4e8dc:8001000a:a7097531)

Then I repaired my game and it was fine, was able to get into sims and tried to renovate a house but then this popped up :

TYPEERROR("OBJECT OF TYPE
'NONE TYPE' HAS NO LEN()")
Traceback (most recent call last):
File "C:\Users \jvict\Documents \Sims 4 Python Script
Workspace\My Script
Mods\HLC\Scripts\simrealist_hIc\grass_growth.py", line
55, in hlc_on_loading_ screen_animation_finished
File
"T:\InGame \Gameplay\Scripts \Server\statistics \commo dity.py", line 1479, in _find _state_index
TypeError: object of type 'NoneType' has no len()

I just pressed OK and it disappeared, but I couldn't renovate the house because everything inside was gone, then when I tried to play with a household it takes me back to the map. I have no idea what those messages mean, especially the last one because every time I looked it up on a search engine it would talk about coding and nothing related to the sims. Any help would be greatly appreciated. Also I play on a Mac...if that helps.

1 Reply

  • @Ellabellaurfella 

    It's a bit hard to tell because I can see only a lastException fragment of your error, but it looks like an issue with the Simrealist Home and Land Company (HLC) mod.

    Check the installation of this mod
    , you might miss one or more files to run the mod properly. Also check the prerequesites on the creator's web page. If you don't own all expansion and game packs, maybe there are also some dependencies to consider.

    If this is not the cause of your error, there is a high probability that this behavior is related to another outdated or broken mod. Unfortunately, there is no simple answer to most of these problems. I think you need to look at your mods to find out what is going on in your game.

    As always make a backup of your game data before you start tweaking your game to have a fallback option if you don't like the result.

    Try the following, to see whether your game works without mods:

    1. Move all your mods and CC other than MCCC somewhere safe (there's no need to delete them!) such as a folder on your desktop so you can easily find them again.
    2. Make sure to delete your localthumbcache.package file.
    3. Once done, start up your game and test to see if the error still appears.

    Your game will probably work flawless without mods. If that's the case you have to go through your mods and find the culprit. The 50/50 search might be a good method for this task to get a result in a reasonable time. Have a look at this post for directions >> AHQ Link 

    Using @luthienrising`s "Broken/Obsolete and Updated Sims 4 Mods" list here on AHQ will help you a lot >> AHQ link 

    Attention:

    All modded content will disappear from the game if you remove it, so if sims are wearing CC it will vanish while you're testing.

    Because of this it's really important that you do not save the game while testing.

    That way your CC will still be there when you bring your mods back into your game.