Forum Discussion

Wildstripe's avatar
Wildstripe
Seasoned Ace
1 day ago

LE Error - drama_scheduler.py

While I was testing out my save to see if I can replicate the TV News Channel Video Freezes on a Single Frame bug yesterday (Nov. 21) to get some screenshots, I eventually received a LE error. After updating a broken mod, I did a second test... the same LE error came back. I tried one more time with the same thing happening again.

Here's the most recent MCCC LE:

File 'T:\InGame\Gameplay\Scripts\Server\areaserver.py', line 222, in c_api_server_tick [ absolute_ticks : 446882140454, clock_service : server_clock, previous_ticks : 446882140413, zone : <Zone ID: 0xd6e1184d3580c8e>, persistence_service : persistence_service]

File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v185k\injector.py', line 26, in _wrapped_function [ args : (<Zone ID: 0xd6e1184d3580c8e>, 446882140454), new_function : <function _turbolib_zone_game_update at 0x00007FF4A8CA98C0>, original_function : <function Zone.update at 0x00007FF4B4FFCF80>]

File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v185k\zone_tick.py', line 83, in _turbolib_zone_game_update [ original : <function Zone.update at 0x00007FF4B4FFCF80>, self : <Zone ID: 0xd6e1184d3580c8e>, args : (446882140454,)]

File 'T:\InGame\Gameplay\Scripts\Server\zone.py', line 523, in update [ self : <Zone ID: 0xd6e1184d3580c8e>, absolute_ticks : 446882140454, game_clock : game_clock, time_service : time_service, weather_service : weather_service, narrative_service : narrative_service, lunar_cycle_service : lunar_cycle_service]

File 'T:\InGame\Gameplay\Scripts\Server\time_service.py', line 117, in update [ self : time_service, time_slice : True, max_time_ms : 33]

File 'T:\InGame\Gameplay\Scripts\Server\scheduling.py', line 231, in simulate [ self : <scheduling.Timeline object at 0x00007FF4AFA009D0>, until : 18:00:08.040 day:1 week:158, max_elements : 10000, max_time_ms : 33, count : 27, start_time : 711313.734, end_time : 711313.7670000001, handle : [None, 214790, <scheduling.Timeline object at 0x00007FF4AFA009D0>, False, <Gen; _process_scoring_gen@377; running>], when : 18:00:00.000 day:1 week:158, _ : 214790, _t : <scheduling.Timeline object at 0x00007FF4AFA009D0>, _s : True, e : <Gen; _process_scoring_gen@377; running>, calling : True]

File 'T:\InGame\Gameplay\Scripts\Server\elements.py', line 376, in _run [ self : <Gen; _process_scoring_gen@377; running>, timeline : <scheduling.Timeline object at 0x00007FF4AFA009D0>, pending_generator : <bound method FestivalDramaNode._process_scoring_gen of festivalDramaNode_EP17_AA_Monday:17:40:00.000 day:1 week:158>]

File 'T:\InGame\Gameplay\Scripts\Server\drama_scheduler\festival_drama_node.py', line 390, in _process_scoring_gen [ self : festivalDramaNode_EP17_AA_Monday:17:40:00.000 day:1 week:158, timeline : <scheduling.Timeline object at 0x00007FF4AFA009D0>, exception : 'NoneType' object has no attribute 'cooldown_data']

File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v185k\injector.py', line 26, in _wrapped_function [ args : (<sims4.log.Logger object at 0x00007FF4AF2283D0>, 'Exception while scoring DramaNodes: '), kwargs : {'exc': AttributeError("'NoneType' object has no attribute 'cooldown_data'"), 'level': 150}, new_function : <function _on_exception_occurrence at 0x00007FF4AB57A0E0>, original_function : <function Logger.exception at 0x00007FF4B4BF80E0>]

File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v185k\exceptions_feedback.py', line 18, in _on_exception_occurrence [ original : <function Logger.exception at 0x00007FF4B4BF80E0>, self : <sims4.log.Logger object at 0x00007FF4AF2283D0>, args : ('Exception while scoring DramaNodes: ',), kwargs : {'exc': AttributeError("'NoneType' object has no attribute 'cooldown_data'"), 'level': 150}]

File 'F:\Projects\Sims 4 Modding\Mods\TMEX Mods\Tmex-BetterExceptions\PublicUnlock.py', line 13, in _unlock [ args : (<sims4.log.Logger object at 0x00007FF4AF2283D0>, 'Exception while scoring DramaNodes: '), kwargs : {'exc': AttributeError("'NoneType' object has no attribute 'cooldown_data'"), 'level': 150}, new_function : <function tm_be_class_exceptions at 0x00007FF4B57F1B00>, target_function : <function Logger.exception at 0x00007FF4AA6234D0>]

File 'F:\Projects\Sims 4 Modding\Mods\TMEX Mods\Tmex-BetterExceptions\tmex_BetterExceptions_Hooks.py', line 148, in tm_be_class_exceptions [ target : <function Logger.exception at 0x00007FF4AA6234D0>, self : <sims4.log.Logger object at 0x00007FF4AF2283D0>, message : Exception while scoring DramaNodes: , kwargs : {'exc': AttributeError("'NoneType' object has no attribute 'cooldown_data'"), 'level': 150}]

File 'T:\InGame\Gameplay\Scripts\Server\drama_scheduler\drama_scheduler.py', line 817, in score_and_schedule_nodes_gen [ self : drama_schedule_service, nodes_to_score : (None,), nodes_to_schedule : 1, time_modifier : -0.00 seconds, timeline : <scheduling.Timeline object at 0x00007FF4AFA009D0>, additional_drama_node_kwargs : {'street_override': <class 'sims4.tuning.instances.streets_EP17World_AfterLife'>}, active_household : Household Hatake (967730231940481049): ; ; ; ; ; , sim_resolvers : (SingleSimResolver: sim_to_test: , SingleSimResolver: sim_to_test: , SingleSimResolver: sim_to_test: , SingleSimResolver: sim_to_test: , SingleSimResolver: sim_to_test: , SingleSimResolver: sim_to_test: ), resolver_resolver : <class 'event_testing.resolver.SingleSimResolver'>]

File 'T:\InGame\Gameplay\Scripts\Server\drama_scheduler\drama_scheduler.py', line 780, in _is_node_on_cooldown [ self : drama_schedule_service]

(Laura Hatake, nee Starr, was the "guinea pig" when the third LE error appeared, by the way.)

 

6 Replies

  • Wildstripe's avatar
    Wildstripe
    Seasoned Ace
    1 hour ago
    puzzlezaddict wrote:

    Were you previously using custom careers though?

    I think I previously used a custom career, but can't remember which one it was.

    puzzlezaddict wrote:

    Aside from that, the only way to find out whether this is due to a broken mod or not is to test without mods.

    I'll give that a try, and see what happens.

    Edit: It seems like the LE error is caused by a mod.

  • Wildstripe​  Were you previously using custom careers though?  As I mentioned, this error can have to do with a custom career that has been removed.

    Aside from that, the only way to find out whether this is due to a broken mod or not is to test without mods.  You don't need to save your progress, and you don't need the BetterExceptions analysis of your LE in order to get information from it.

  • Wildstripe's avatar
    Wildstripe
    Seasoned Ace
    3 hours ago

    Seriously though, I don't know if it's a tech issue or caused by a broken mod. Not to mention the fact that I'm currently not using any custom careers.

    I'm sorry if I seem to be rude. It's just that I've been frustrated with The Sims 4 during this year.

  • Wildstripe's avatar
    Wildstripe
    Seasoned Ace
    4 hours ago

    Since I don't know if it's a tech issue or caused by a broken mod, this is from the Better Exceptions Full Report.

  • Wildstripe​  The drama_scheduler errors are most often due to an outdated custom career, either it being present in the save or it being removed without the sims who were in that career being reassigned to a new one.  So that's the first place to look.

    Aside from that, are you looking for tech help or mod-related help?  For tech issues, it's necessary to test with no mods or custom content, at least until the game is working properly again.  For mod-related help, I can move you to the Mods forum.