Ideas

canelacaliente's avatar
canelacaliente
Seasoned Ace
5 months ago
Status:
Reviewed

Sims Stop Actions to Sit at the Pool

My Sim has stopped a few actions to sit at the pool. The actions include:

  • Gardening
  • Eating
  • Talking to another Sim
  • Delivering a fine to a Sim who lives in a rental

It could be related to this LE. I ran the LE through AI to get a nice report. Please also see the attached save file.

Original LE

<?xml version="1.0" ?><root>
<report><version>2</version><sessionid>72d79303f7f8095067c2703c</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-03-01 01:07:06</createtime><buildsignature>Local.Unknown.Unknown.1.113.277.1030-1.200.000.652.Release</buildsignature><categoryid>pool_seat.py:263</categoryid><desyncid>72d79303f7f8095067c2703c</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception running Element (AttributeError: type object 'ComponentContainer' has no attribute 'get_single_portal_locations')
Traceback (most recent call last):
  File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 231, in simulate
  File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 376, in _run
  File "T:\InGame\Gameplay\Scripts\Server\crafting\crafting_interactions.py", line 3211, in _run_interaction_gen
  File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 212, in execute_interaction
  File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 1356, in append
  File "T:\InGame\Gameplay\Scripts\Lib\contextlib.py", line 119, in __exit__
  File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 901, in _head_change_watcher
  File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 985, in _get_head
  File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 112, in get_next_unblocked_interaction_cancel_incompatible
  File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 3300, in get_sims_with_invalid_paths
  File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 3253, in _generate_connectivity
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 1546, in compute_transition_connectivity
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 1593, in run_transitions
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 3529, in _build_transitions
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 3313, in _build_and_log_transitions_for_sim
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 3379, in _build_transitions_for_sim
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 2829, in get_transitions_for_sim
  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 3015, in _get_transitions_for_sim
  File "postures\posture_graph.py", line 6644, in postures.posture_graph.PostureGraphService.generate_connectivity_handles
  File "postures\posture_graph.py", line 6444, in postures.posture_graph.PostureGraphService._get_segmented_path_connectivity_handles
  File "postures\posture_graph.py", line 645, in generate_right_paths
  File "postures\posture_graph.py", line 4902, in _right_path_gen
  File "postures\posture_graph.py", line 788, in _shortest_path_gen
  File "T:\InGame\Gameplay\Scripts\Core\algos.py", line 154, in shortest_path_gen
  File "T:\InGame\Gameplay\Scripts\Core\caches.py", line 352, in __missing__
  File "postures\posture_graph.py", line 4829, in postures.posture_graph.PostureGraphService._right_path_gen.heuristic_fn_right
  File "T:\InGame\Gameplay\Scripts\Server\objects\pools\pool_seat.py", line 282, in _cache_and_return_locations_for_posture
  File "T:\InGame\Gameplay\Scripts\Server\objects\pools\pool_seat.py", line 263, in _compute_locations_for_posture
  File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 468, in exported_funcAttributeError: type object 'ComponentContainer' has no attribute 'get_single_portal_locations'rtim=0
Client Session Time: 13149.85
 
Num Save Errors: 0
 
Num Load Errors: 0
 
Current Game State: 0xbe7da869
 
Game Sub-state: 0xae03c339
 
LoadingScreenActiveFlag: 0
 
Origin Version: 13,401,0,5914
 
Modded: False
 
SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 3050 Ti Laptop GPU  32.0.15.6081, GUID: C42BB5F6-9FB4-11EF-984E-B45CECEBCF08
 
</desyncdata></report>
</root>

 

2. Report Details

Here are the key details included in the report:

  • Version: 2
    This indicates the version of the report format.
  • Session ID: 72d79303f7f8095067c2703c
    A unique identifier for the game session where the error occurred.
  • Type: desync
    The type of error reported. "Desync" typically refers to a desynchronization issue, where the game's internal state becomes inconsistent.
  • SKU: ea.maxis.sims4_64.15.pc
    The product identifier for the game. This confirms the game is The Sims 4 for PC (64-bit).
  • Create Time: 2025-03-01 01:07:06
    The timestamp when the report was generated. Note that this date is in the future, which could indicate a misconfigured system clock or a placeholder value.
  • Build Signature: Local.Unknown.Unknown.1.113.277.1030-1.200.000.652.Release
    This provides information about the game build, including version numbers and release type. The "Local.Unknown.Unknown" part suggests this might be a development or testing build.
  • Category ID: pool_seat.py:263
    The specific script file (pool_seat.py) and line number (263) where the error originated.
  • Desync ID: 72d79303f7f8095067c2703c
    A unique identifier for this specific desync event.
  • System Config: Empty (<systemconfig/>)
    This section is empty, but it could contain details about the system configuration if populated.
  • Screenshot: Empty (<screenshot/>)
    This section is empty, but it could contain a reference to a screenshot taken at the time of the error.

3. Desync Data

The <desyncdata> section contains the actual error message and stack trace. Here's a breakdown:

  • Error Message:
    Exception in Sim Timeline: Exception running Element (AttributeError: type object 'ComponentContainer' has no attribute 'get_single_portal_locations')
    This indicates that the game encountered an AttributeError while trying to run a simulation element. Specifically, the ComponentContainer class does not have a method or attribute called get_single_portal_locations.
  • Stack Trace:
    The stack trace shows the sequence of function calls leading up to the error. It starts with the game's scheduling system and traces through various modules, including:
    • scheduling.py (game scheduling logic)
    • elements.py (game elements and interactions)
    • crafting_interactions.py (crafting-related interactions)
    • interaction_queue.py (managing interactions in the game)
    • posture_graph.py (handling character postures and movements)
    • pool_seat.py (related to pool seating in the game)
    The error ultimately occurs in pool_seat.py at line 263, where the game tries to compute locations for a posture but fails due to the missing attribute in ComponentContainer.

4. Additional Context

The report also includes some contextual information about the game session:

  • Client Session Time: 13149.85
    The total time (in seconds) the game session had been running before the error occurred.
  • Num Save Errors: 0
    The number of errors encountered while saving the game.
  • Num Load Errors: 0
    The number of errors encountered while loading the game.
  • Current Game State: 0xbe7da869
    A hexadecimal code representing the game's state at the time of the error.
  • Game Sub-state: 0xae03c339
    A hexadecimal code representing the game's sub-state at the time of the error.
  • LoadingScreenActiveFlag: 0
    Indicates whether the loading screen was active when the error occurred (0 means it was not active).
  • Origin Version: 13,401,0,5914
    The version of the Origin client used to launch the game.
  • Modded: False
    Indicates whether the game was running with mods or custom content. In this case, it was not.

5. Summary of the Issue

The error is caused by a missing attribute (get_single_portal_locations) in the ComponentContainer class, which is used in the game's posture and interaction systems.

If you're a developer:

  1. Investigate the ComponentContainer class and ensure the get_single_portal_locations method is correctly defined or imported.
  2. Check for any recent changes to the pool_seat.py script or related modules.
  3. Review the posture and interaction systems for potential bugs or inconsistencies.

6 Comments

  • Could you please just copy/paste the LastException as you get it ? That would be better than AI :D

    You can use the code format to properly format it. 

    Do they just go to the pool to sit down and get back up or stay seated there ?

  • The forums won't let me upload zip or txt files when it clearly says I can. 😠 The forum needs a bug fix. The link to the files expires on March 9, 2025.

    https://we.tl/t-tpbw8pf0xi

     

  • canelacaliente's avatar
    canelacaliente
    Seasoned Ace
    5 months ago

    crinrict 

    Could you please just copy/paste the LastException as you get it ? That would be better than AI :D

    I added a link to the save and the last exception. I will paste the last exception in the OP. I didn't know the forum automatically formats it. I remember in the old forum, I had to format them myself.

    Do they just go to the pool to sit down and get back up or stay seated there ?

    They sit on the pool then reset. It happens when I visit or live on a residential rental. I haven't tried on a regular residential lot or community lot.

  • Status changed:
    Troubleshooting
    to
    Reviewed

    You only need to provide saves if EA asks for them.

    Thanks for the LE.