Ideas

LE: KeyError(SmallBusiness_OpenClose) when placing non-business lot

I'm getting this last exception error in build mode/when placing my lot. I removed all of my CC/mods to see if that was the cause, but it still occurs infrequently with nothing installed. I started a new save when I removed everything to test for the issue and the LE popped up again. It seems to be related to small businesses, but as stated, this lot was never one. When I started this save a week ago to build, I had no small businesses in my save and haven't been in gameplay.

Edit By Crinrict: Adjusted Title 

15 Comments

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    <?xml version="1.0" ?><root>
    <report><version>2</version><sessionid>6e590f12e20f1fa66823270c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-05-13 19:05:59</createtime><buildsignature>Local.Unknown.Unknown.1.114.46.1030-1.200.000.655.Release</buildsignature><categoryid>state.py:2826</categoryid><desyncid>6e590f12e20f1fa66823270c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in &lt;function c_api_create_object at 0x00007FF4B3898290&gt;, args: (1030221116600356178, 81168, 0, 0, 1, 1), kwargs: {}&#13;&#10;KeyError(SmallBusiness_OpenClose) (KeyError: SmallBusiness_OpenClose)&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 79, in c_api_create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 211, in create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\object_manager.py", line 736, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 183, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 317, in call_pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 98, in wrapped_method&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2439, in pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 3055, in set_state&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 470, in exported_func&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2826, in get_state&#13;&#10;KeyError: SmallBusiness_OpenClosertim=0&#13;&#10;Client Session Time: 25.30&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0xdd4141d5&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,453,0,5966&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.22631 GPU: NVIDIA GeForce RTX 4070 Laptop GPU  32.0.15.7602, GUID: 3E09CF6F-F77C-11ED-90EE-A71D7D14563A&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>6e590f12e20f1fa66823270c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-05-13 19:05:59</createtime><buildsignature>Local.Unknown.Unknown.1.114.46.1030-1.200.000.655.Release</buildsignature><categoryid>state.py:2826</categoryid><desyncid>6e590f12e20f1fa66823270c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in &lt;function c_api_create_object at 0x00007FF4B3898290&gt;, args: (1030221116600356178, 81168, 0, 0, 1, 1), kwargs: {}&#13;&#10;KeyError(SmallBusiness_OpenClose) (KeyError: SmallBusiness_OpenClose)&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 79, in c_api_create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 211, in create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\object_manager.py", line 736, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 183, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 317, in call_pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 98, in wrapped_method&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2439, in pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 3055, in set_state&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 470, in exported_func&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2826, in get_state&#13;&#10;KeyError: SmallBusiness_OpenClosertim=0&#13;&#10;Client Session Time: 25.30&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0xdd4141d5&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,453,0,5966&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.22631 GPU: NVIDIA GeForce RTX 4070 Laptop GPU  32.0.15.7602, GUID: 3E09CF6F-F77C-11ED-90EE-A71D7D14563A&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>6e590f12e20f1fa66823270c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-05-13 19:06:00</createtime><buildsignature>Local.Unknown.Unknown.1.114.46.1030-1.200.000.655.Release</buildsignature><categoryid>state.py:2826</categoryid><desyncid>6e590f12e20f1fa66823270c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in &lt;function c_api_create_object at 0x00007FF4B3898290&gt;, args: (1030221116600356178, 81168, 0, 0, 1, 1), kwargs: {}&#13;&#10;KeyError(SmallBusiness_OpenClose) (KeyError: SmallBusiness_OpenClose)&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 79, in c_api_create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 211, in create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\object_manager.py", line 736, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 183, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 317, in call_pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 98, in wrapped_method&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2439, in pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 3055, in set_state&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 470, in exported_func&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2826, in get_state&#13;&#10;KeyError: SmallBusiness_OpenClosertim=0&#13;&#10;Client Session Time: 25.30&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0xdd4141d5&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,453,0,5966&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.22631 GPU: NVIDIA GeForce RTX 4070 Laptop GPU  32.0.15.7602, GUID: 3E09CF6F-F77C-11ED-90EE-A71D7D14563A&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>6e590f12e20f1fa66823270c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-05-13 19:06:01</createtime><buildsignature>Local.Unknown.Unknown.1.114.46.1030-1.200.000.655.Release</buildsignature><categoryid>state.py:2826</categoryid><desyncid>6e590f12e20f1fa66823270c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in &lt;function c_api_create_object at 0x00007FF4B3898290&gt;, args: (1030221116600356178, 81168, 0, 0, 1, 1), kwargs: {}&#13;&#10;KeyError(SmallBusiness_OpenClose) (KeyError: SmallBusiness_OpenClose)&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 79, in c_api_create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 211, in create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\object_manager.py", line 736, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 183, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 317, in call_pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 98, in wrapped_method&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2439, in pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 3055, in set_state&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 470, in exported_func&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2826, in get_state&#13;&#10;KeyError: SmallBusiness_OpenClosertim=0&#13;&#10;Client Session Time: 25.30&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0xdd4141d5&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,453,0,5966&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.22631 GPU: NVIDIA GeForce RTX 4070 Laptop GPU  32.0.15.7602, GUID: 3E09CF6F-F77C-11ED-90EE-A71D7D14563A&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>6e590f12e20f1fa66823270c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-05-13 19:06:01</createtime><buildsignature>Local.Unknown.Unknown.1.114.46.1030-1.200.000.655.Release</buildsignature><categoryid>state.py:2826</categoryid><desyncid>6e590f12e20f1fa66823270c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in &lt;function c_api_create_object at 0x00007FF4B3898290&gt;, args: (1030221116600356178, 81166, 0, 0, 1, 1), kwargs: {}&#13;&#10;KeyError(SmallBusiness_OpenClose) (KeyError: SmallBusiness_OpenClose)&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 79, in c_api_create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 211, in create_object&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\object_manager.py", line 736, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 183, in add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\indexed_manager.py", line 317, in call_pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 98, in wrapped_method&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2439, in pre_add&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 3055, in set_state&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 470, in exported_func&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\objects\components\state.py", line 2826, in get_state&#13;&#10;KeyError: SmallBusiness_OpenClosertim=0&#13;&#10;Client Session Time: 25.30&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0xdd4141d5&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,453,0,5966&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.22631 GPU: NVIDIA GeForce RTX 4070 Laptop GPU  32.0.15.7602, GUID: 3E09CF6F-F77C-11ED-90EE-A71D7D14563A&#13; &#10;</desyncdata></report>
    </root>

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    I'm new to this new forum, I honestly thought my LE attached. Anyway, I hope this is what you're after.

  • crinrict's avatar
    crinrict
    Hero+
    8 months ago

    The LE contains XML which is why you can't upload. At AHQ there was a workaround as you could upload it as rar file but those are not allowed here so copy/pasting is the way to go :D

    Do you just get the LE or can you not place the lot ? Is this the only lot you have issues with and did you create it from scratch or did you download something from the gallery and change from there ?

    To be sure, you do own the pack ?

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    I can place the lot, other than the LE nothing seems to be too unusual. This is the only lot I have noticed with the issue, but I haven't spent any time building anthing else all week. And yeah, I created this lot from scratch after bulldozing the BFF house. And I do own the pack, I own almost everything except a few kits. I also repaired my game before I started a new unmodded save, and it didn't help unfortunately. Thought it might also be helpful to mention that.

  • crinrict's avatar
    crinrict
    Hero+
    8 months ago

    Would you mind putting the lot in the gallery and posting the name here ?

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    I put it on the Gallery. The lot did contain some CC so it's missing some doors... but it's up for testing under the name The Smith Residence TEST. I don't get the error every time but it does happen often.

  • crinrict's avatar
    crinrict
    Hero+
    8 months ago

    Thanks. I can dupe the LE for the lot.

    The BFF lot you build it on never had a small business before you bulldozed it either, right ?

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    I went straight into the lot when I started a new save after evicting the household, so I believe there was never a small business there. I didn’t add one.

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    Sorry to bump, but I found something that might be important to mention. Something else I've noticed, I've started building another lot and when I load into a lot that was never a Small Business, the Small Business items tab is the first thing the game loads into, opposed to the usual Build/Buy objects. I also get the red Small Business dollar sign while building non-Small Business lots.

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    This is the only one I can get. You know how when you build a lot of a certain type, such as a lounge, the game shows you objects suitable for that lot type? I see the small business items when I first load into a normal resendential sometimes. As for the other one, certain items trigger what I'm describing. I don't really know which items they are unfortunately. I'm not sure if any of this is normal it just seemed related to me.

  • crinrict's avatar
    crinrict
    Hero+
    8 months ago

    Not seen this in my game. The game must think it's a small business lot type.

    Do you have this on some specific lots only or on any ? Does it happen on specific lot types ? Or just empty lots ?

    Have you tried a new save for testing (without placing that faulty lot)

  • RickxAbsinthe43's avatar
    RickxAbsinthe43
    Rising Hotshot
    8 months ago

    Seems to happen on any? I tried a new save to build a large colonial on a completely different lot. I’m not sure if the lot has to strictly be empty, I guess I saw this after I started building. I didn’t place the faulty lot. I have only noticed this on residential so far. 

Featured Places

Node avatar for The Sims 4 Bug Reports

The Sims 4 Bug Reports

Report bugs for The Sims 4 on PC, Mac, Playstation, and Xbox.Latest Activity: 10 minutes ago
4,219 Posts