Forum Discussion

deadlystingnyc's avatar
deadlystingnyc
Rising Rookie
5 years ago
Solved

[FIXED] [DU] LE: organization_service failed to handle zone load

Product: The Sims 4
Platform:PC
Which language are you playing the game in? English
How often does the bug occur? Every time (100%)
What is your current game version number? 1.68.156.1020 (64 bit)
What expansions, game packs, and stuff packs do you have installed? All except Journey to Baatu
Steps: How can we find the bug ourselves? Last Exception occurs on initial family load when launching game.
What happens when the bug occurs? Sims no longer show as members of University Organizations after traveling between locations.
What do you expect to see? A sim who has joined an Organization should see the relevant tasks and events for that group under the appropriate tab after traveling between locations.
Have you installed any customization with the game, e.g. Custom Content or Mods? Not now. I've removed them.
Did this issue appear after a specific patch or change you made to your system? Neutral/Not Sure 

[Admin - Removed third party link]

 
Still need help with an exception? Save the file so you can provide it to helpers. Support areas are available in the Help & Resources section below.
Exception Summary
Exception Date: 2020-12-01 14:21:36 Game Version: 1.68.156.1020-1.200.000.477.Release Category ID: organization_service.py:398
Recommended Action No mods are installed, so it is likely this is an official game bug.
Please refer to the AHQ Forums for further assistance. Include this report.
https://answers.ea.com/t5/Bug-Reports/bd-p/The-Sims-4-Bugs
Possible Cause
(Confidence: 10%)
organization_service
Reason [manus] organization_service failed to handle zone load due to exception (AttributeError: 'NoneType' object has no attribute 'get_organization_status')
MCCC Version Not Installed.
Package Mod Count 0
 
Spoiler
Invalid Tuning Mods

The following mods should be removed or updated:

Good news! No invalid tuning mods were found.
Invalid Object CC

The following objects should be removed, sims 4 studio batch fixed or updated:

Good news! No invalid object CC was found.
Last Interaction

No interaction data - Exception occurred before or during zone load.

Active Sim's Traits

No trait data available at time of exception.

Mods Explicitly Mentioned in Exception

These mods are mentioned in the exception.
There's an increased chance they're the cause but not guaranteed.

No mods mentioned in the exception.
All Loaded Script Mods

This is the complete list of script mods.
This is included for diagnostic purposes and does not indicate any of them are the particular cause of the exception.

All Package Mods

This is the complete list of package mods.
This is included for diagnostic purposes and does not indicate any of them are the particular cause of the exception.

Load Package List
 
Recent Tuning Logs

Showing last 6 minor error logs.
These are provided for additional info and might not actually have anything to do with the exception.
(most recent log last)

No logs found.
Help & Resources

Below are some useful links for troubleshooting any LastExceptions you might receive.

[Admin - Removed third party links]
 
Formatted LastException

[manus] organization_service failed to handle zone load due to exception (AttributeError: 'NoneType' object has no attribute 'get_organization_status')
Traceback (most recent call last):

  File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 117, in wrapped
  File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 113, in finally_wrap
  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 157, in wrapper
  File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 175, in wrapper
  File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 365, in c_api_client_connect
  File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 563, in do_zone_spin_up
  File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 1488, in update
  File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 247, in on_enter
  File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 414, in on_zone_load
  File "T:\InGame\Gameplay\Scripts\Server\organizations\organization_service.py", line 398, in on_zone_load
AttributeError: 'NoneType' object has no attribute 'get_organization_status'rtim=0
ClientInfo isn't here

Raw LastException

<report><version>2</version><sessionid>97e9438c58f5d6d5fc69731</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2020-12-01 14:21:36</createtime><buildsignature>Local.Unknown.Unknown.1.68.156.1020-1.200.000.477.Release</buildsignature><categoryid>organization_service.py:398</categoryid><desyncid>97e9438c58f5d6d5fc69731</desyncid><systemconfig/><screenshot/><desyncdata>[manus] organization_service failed to handle zone load due to exception (AttributeError: 'NoneType' object has no attribute 'get_organization_status')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 117, in wrapped&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 113, in finally_wrap&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 157, in wrapper&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 175, in wrapper&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 365, in c_api_client_connect&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 563, in do_zone_spin_up&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 1488, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 247, in on_enter&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 414, in on_zone_load&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\organizations\organization_service.py", line 398, in on_zone_load&#13;&#10;AttributeError: 'NoneType' object has no attribute 'get_organization_status'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>

Report generated in 9.68 seconds.
error index: 0
error index: 0
Set bad module to: organization_service
Found Bad Script: False
SessionDirty: False
Found Bad Tuning File: False
Found Bad Object File: False
 
Edit By Crinrict: Fixed Duplicate Template, added spoiler tags, adjusted title
 
  • I think this should've been fixed in yesterday's patch, can anyone confirm? Thanks so much!

12 Replies

Replies have been turned off for this discussion
  • Hello all. I have some insight on this error.

    It seems to be related to some sort of issue relating to culling and either a lack of cleanup and/or a lack of filtering out Sims in invalid states.

    With some logging into which Sims were causing the issue, all of the Sim IDs besides this one were unable to be found in the game (a condition that's already skipped over) and at first I tried to go to Manage Worlds and find the household, failed, tried to use MCCC to find or summon them, failed (found his wife? and MCCC said they were culled, so that made me curious), and finally used Show Sim Info and found the Sim, but got this, and that sort of confirmed my suspicions that somehow the Sim is being culled (or at least, marked for culling and being prepared for cleanup) and not removed from the Organization Service's list of enrolled members.

    For those of you who like code, see below:

    Spoiler
        def on_zone_load(self):
            for (org_id, sims) in self._organization_members.items():
                for sim_id in sims:
                    sim = services.sim_info_manager().get(sim_id)
                    if sim is None:
                        pass
                    else:
                        organization_tracker = sim.organization_tracker
                        if organization_tracker.get_organization_status(org_id) == OrganizationStatusEnum.ACTIVE: # line with error
                            organization_tracker.send_organization_update_message(DistributorOps_pb2.OrganizationUpdate.ADD, org_id)
            self.update_organization_events_panel()

    The zone_load function of the OrganizationService object filters through Sim IDs that are not matched to Sims, but assumes if the Sim Info can be found, they have an Organization Tracker object, which is apparently not always the case. A simple test to pass if their organization tracker is None would suffice, though some cleanup on the part of the code that deals with the culling could be done in parallel/in its stead as well.

    In my testing, just skipping over these Sims (especially since it seems they're all culled, and from perusing the code, that seems to be what is basically done anyway [see the method to add a Sim to an organization]) seems to work fine and not cause any issues. It also stops the error from recurring, as before the error would occur every time a save was loaded into.

  • SimGuruNick's avatar
    SimGuruNick
    Icon for EA Staff (Retired) rankEA Staff (Retired)
    3 years ago

    I think this should've been fixed in yesterday's patch, can anyone confirm? Thanks so much!

About The Sims 4 Bug Reports - Archive

This is a read-only archive of bugs previously reported on Answers HQ. Click "The Sims 4 Bug Reports" in the right-rail to browse and create new bugs.14,625 PostsLatest Activity: 2 years ago