Forum Discussion

Ktembie's avatar
6 months ago

[jdimailig] error

I just started a new save and slowly introducing mods. I downloaded MCCC and immediately got a Last Exception. Not sure how to even decipher this so any help would very much appreciated.

  • Last Module Called: tunable_model.py
  • Last Function Called: get_model
  • Error message: [jdimailig] Error invoking TunableModelWrapper._factory (AttributeError: 'NoneType' object has no attribute 'get_model'), CategoryID: tunable_model:71
  • File 'T:\InGame\Gameplay\Scripts\Server\areaserver.py', line 167, in c_api_server_init_tick
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\core_services.py', line 164, in start_service_tick
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py', line 346, in start_single_service [ self : <sims4.service_manager.ServiceManager object at 0x00007FF4A8F485D0>, service : tuning_instance_manager]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 158, in update_incremental_start [ self : tuning_instance_manager, time_stamp : 1732729775.594181]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 205, in _execute_gen [ self : tuning_instance_manager, log_fn : <bound method Logger.debug of <sims4.log.Logger object at 0x00007FF4C6108810>>, instance_manager : InstanceManager_object]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 252, in _execute_func_and_calculate_time [ self : tuning_instance_manager, instance_manager : InstanceManager_object, execute_function : <bound method InstanceManager.load_data_into_class_instances of <objects.definition_manager.DefinitionManager object at 0x00007FF4C11D9050>>]
  • File 'E:\Builds\MCCC_2024_6_2\mc_cmd_center\mc_injections.py', line 310, in inject_load_data_into_class_instances [ args : (<function InstanceManager.load_data_into_class_instances at 0x00007FF4C610CB90>, <objects.definition_manager.DefinitionManager object at 0x00007FF4C11D9050>), عذؼحذ : <function InstanceManager.load_data_into_class_instances at 0x00007FF4C610CB90>, حغجدػ : InstanceManager_object]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py', line 567, in load_data_into_class_instances [ self : InstanceManager_object, key : '00000000!d70f8ab6'8bac4c42.b61de6b4', cls : <class 'sims4.tuning.instances.icemunmun:object_Food_ChallahBread'>, tuned_classes_key : '00000000!d70f8ab6'8bac4c42.b61de6b4', tuning_callback_helpers : '[TuningCallbackHelper(template=<sims4.tuning.tunable.TunableTuple object at 0x00007FF4A038C6B0>, name='_components', source=<sims4.utils.strformatter object at 0x00007FF4656272D0>, value=ImmutableSlots({'affordance_tuning': None, 'animal_home_component': None, 'animal_object_component': None, 'animal_preferences': None, 'autonomy': None, 'autonomy_marker': None, 'branding_icon': None, 'camera_view': None, 'canvas': None, 'carryable': None, 'censor_grid': None, 'chargeable': None, 'charging_station': None, 'collectable': TunableCollectableComponentWrapper.CollectableComponent, 'consumable': None, 'crafting_station': None, 'curfew': None, 'display_component': None, 'fishing_location': None, 'flowing_puddle': None, 'focus': TunableFocusComponentWrapper.FocusComponent, 'game': None, 'gardening': None, 'idle_component': None, 'inventory': None, 'inventory_item': TunableInventoryItemComponentWrapper.InventoryItemComponent, 'jewelry': None, 'lighting': None, 'line_of_sight': None, 'linked_object_component': None, 'l...']
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 664, in load_from_xml [ resource_key : '00000000!d70f8ab6'8bac4c42.b61de6b4', resource_type : Types.OBJECT, inst : <class 'sims4.tuning.instances.icemunmun:object_Food_ChallahBread'>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, tuning_loader : <sims4.tuning.serialization.ETreeTuningLoader object at 0x00007FF4656275D0>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, loader : <sims4.resources.ResourceLoader object at 0x00007FF465627650>, tuning_file : <_io.BytesIO object at 0x00007FF4656291D0>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 709, in feed [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x00007FF4656275D0>, tuning_file : <_io.BytesIO object at 0x00007FF4656291D0>, tree : <xml.etree.ElementTree.ElementTree object at 0x00007FF465627690>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 753, in _load_node [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x00007FF4656275D0>, node : <Element 'I' at 0x7ff465627810>, tunable_class : <class 'sims4.tuning.instances.icemunmun:object_Food_ChallahBread'>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'U' at 0x7ff465630750>, tunable_datas : '{'_super_affordances': <sims4.tuning.tunable.TunableList object at 0x00007FF4A339B0D8>, '_preroll_super_affordances': <sims4.tuning.tunable.TunableList object at 0x00007FF4A339B1E8>, '_part_data': <sims4.tuning.tunable.TunableList object at 0x00007FF4A33EB270>, '_part_data_map': <objects.parts.part_data.TunablePartDataMapping object at 0x00007FF4A33EC110>, 'posture_transition_target_tag': <TunableEnumEntry>, '_anim_overrides': <sims4.tuning.tunable.OptionalTunable object at 0x00007FF4A340CE18>, '_anim_overrides_for_children': <sims4.tuning.tunable.OptionalTunable object at 0x00007FF4A3431440>, '_default_anim_params': <animation.animation_overrides_tuning.TunableParameterMapping object at 0x00007FF4A3417B90>, 'social_clustering': <sims4.tuning.tunable.OptionalTunable object at 0x00007FF4A3431590>, 'aop_forward_data': <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A3432408>, '_disable_child_footprint_and_shadow': <TunableBool>, 'disable_los_reference_point': <TunableBool>, '_components': <sims4.tuning.t...', tunable_name : _components, tunable : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A038C6B0>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\serialization.py', line 802, in _load_tunable [ self : <sims4.tuning.serialization.ETreeTuningLoader object at 0x00007FF4656275D0>, tunable_class : <class 'sims4.tuning.instances.icemunmun:object_Food_ChallahBread'>, tunable_name : _components, tunable : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A038C6B0>, cur_node : <Element 'U' at 0x7ff465630750>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 386, in load_etree_node [ self : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A038C6B0>, node : <Element 'U' at 0x7ff465630750>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, value : {'carryable': TunableCarryableComponentWrapper.CarryableComponent, 'consumable': TunableConsumableComponentWrapper.ConsumableComponent, 'flowing_puddle': None, 'focus': TunableFocusComponentWrapper.FocusComponent, 'inventory_item': TunableInventoryItemComponentWrapper.InventoryItemComponent, 'object_age': TunableObjectAgeComponentWrapper.ObjectAgeComponent, 'retail_component': <class 'sims4.tuning.instances.retailComponent_Default_LowAppeal'>}, tuned : {'inventory_item', 'consumable', 'carryable', 'object_age', 'focus', 'flowing_puddle', 'retail_component'}, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'V' at 0x7ff465650fd0>, name : state, template : <sims4.tuning.tunable.OptionalTunable object at 0x00007FF4A0383EC0>, tuplevalue : <class 'sims4.tuning.instances.retailComponent_Default_LowAppeal'>, current_tunable_tag : V]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1205, in load_etree_node [ self : <sims4.tuning.tunable.OptionalTunable object at 0x00007FF4A0383EC0>, node : <Element 'V' at 0x7ff465650fd0>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, variant : enabled, template : <objects.components.state.TunableStateComponent object at 0x00007FF4A342DE90>, node_children : [<Element 'U' at 0x7ff465654050>], child_node : <Element 'U' at 0x7ff465654050>, name : enabled, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 386, in load_etree_node [ self : <objects.components.state.TunableStateComponent object at 0x00007FF4A342DE90>, node : <Element 'U' at 0x7ff465654050>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, value : '{'state_triggers': (StateTrigger(at_states=(Consumable_Empty,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(Trash_Consumable_Empty,), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Masterwork_Masterwork,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(Quality_Outstanding,), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Freshness_Spoiled,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(retailItem_ForSale_NotForSale, FoodPoisoningStatus_NotPoisoned), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Quality_Outstanding, FoodPoisoningStatus_Poisoned), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(FoodPoisoningSta...', tuned : {'state_triggers'}, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'L' at 0x7ff46556a7d0>, name : states, template : <sims4.tuning.tunable.TunableList object at 0x00007FF4A0372E20>, tuplevalue : '(StateTrigger(at_states=(Consumable_Empty,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(Trash_Consumable_Empty,), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Masterwork_Masterwork,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(Quality_Outstanding,), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Freshness_Spoiled,), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(retailItem_ForSale_NotForSale, FoodPoisoningStatus_NotPoisoned), statistic_operations=(), trigger_chance=None, trigger_operation=StateTriggerOperation.AND), StateTrigger(at_states=(Quality_Outstanding, FoodPoisoningStatus_Poisoned), loot_actions=(), prohibited_states=(), set_on_children=None, set_random_state=None, set_states=(FoodPoisoningStatus_NotPoisoned,), ...', current_tunable_tag : L]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1446, in load_etree_node [ self : <sims4.tuning.tunable.TunableList object at 0x00007FF4A0372E20>, node : <Element 'L' at 0x7ff46556a7d0>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, collection_type : <class 'list'>, collection_fn : <method 'append' of 'list' objects>, final_type : <class 'tuple'>, is_final_node : <bound method TunableList._is_final_node of <sims4.tuning.tunable.TunableList object at 0x00007FF4A0372E20>>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, tunable_instance : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A0372D10>, tunable_name : states, element_index : 1, child_node : <Element 'U' at 0x7ff46556a850>, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 386, in load_etree_node [ self : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A0372D10>, node : <Element 'U' at 0x7ff46556a850>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'L' at 0x7ff46556a910>, name : client_states, template : <sims4.tuning.tunable.TunableMapping object at 0x00007FF4A34257E0>, current_tunable_tag : L]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1682, in load_etree_node [ self : <sims4.tuning.tunable.TunableMapping object at 0x00007FF4A34257E0>, node : <Element 'L' at 0x7ff46556a910>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, __class__ : <class 'sims4.tuning.tunable.TunableMapping'>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1446, in load_etree_node [ self : <sims4.tuning.tunable.TunableMapping object at 0x00007FF4A34257E0>, node : <Element 'L' at 0x7ff46556a910>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, collection_type : <class 'list'>, collection_fn : <method 'append' of 'list' objects>, final_type : <class 'tuple'>, is_final_node : <bound method TunableList._is_final_node of <sims4.tuning.tunable.TunableMapping object at 0x00007FF4A34257E0>>, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, tunable_instance : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A0372628>, tunable_name : client_states, tunable_collection : [ImmutableSlots({'key': Consumable_Restaurant_Untouched, 'value': <objects.components.state.StateChangeOperation object at 0x00007FF4655C8210>})], element_index : 2, child_node : <Element 'U' at 0x7ff46556ac50>, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 386, in load_etree_node [ self : <sims4.tuning.tunable.TunableTuple object at 0x00007FF4A0372628>, node : <Element 'U' at 0x7ff46556ac50>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, value : {'key': Consumable_Empty}, tuned : {'key'}, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'U' at 0x7ff46556acd0>, name : value, template : <sims4.tuning.tunable.TunableFactory.create_auto_factory.<locals>.auto_factory object at 0x00007FF4A341F5F0>, tuplevalue : Consumable_Empty, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 835, in load_etree_node [ self : <sims4.tuning.tunable.TunableFactory.create_auto_factory.<locals>.auto_factory object at 0x00007FF4A341F5F0>, node : <Element 'U' at 0x7ff46556acd0>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, __class__ : <class 'sims4.tuning.tunable.TunableSingletonFactory'>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 386, in load_etree_node [ self : <sims4.tuning.tunable.TunableFactory.create_auto_factory.<locals>.auto_factory object at 0x00007FF4A341F5F0>, node : <Element 'U' at 0x7ff46556acd0>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, value : {'awareness': None}, tuned : {'awareness'}, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, child_node : <Element 'V' at 0x7ff46556aed0>, name : model, template : <objects.components.state.OptionalTunableClientStateChangeItem object at 0x00007FF4AE9A8050>, current_tunable_tag : V]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1205, in load_etree_node [ self : <objects.components.state.OptionalTunableClientStateChangeItem object at 0x00007FF4AE9A8050>, node : <Element 'V' at 0x7ff46556aed0>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, variant : apply_new_value, template : <tunable_utils.tunable_model.TunableModelOrDefault object at 0x00007FF4AE98EF68>, node_children : [<Element 'V' at 0x7ff46556af50>], child_node : <Element 'V' at 0x7ff46556af50>, name : apply_new_value, current_tunable_tag : V]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 1205, in load_etree_node [ self : <tunable_utils.tunable_model.TunableModelOrDefault object at 0x00007FF4AE98EF68>, node : <Element 'V' at 0x7ff46556af50>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, mtg : <sims4.tuning.merged_tuning_manager.MergedTuningManager object at 0x00007FF4DD7C7F10>, variant : set_to_custom_model, template : <tunable_utils.tunable_model.TunableModel object at 0x00007FF4AE996410>, node_children : [<Element 'U' at 0x7ff46556af90>], child_node : <Element 'U' at 0x7ff46556af90>, name : set_to_custom_model, current_tunable_tag : U]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 837, in load_etree_node [ self : <tunable_utils.tunable_model.TunableModel object at 0x00007FF4AE996410>, node : <Element 'U' at 0x7ff46556af90>, source : Instance: 15496757359437171778 (icemunmun:object_Food_ChallahBread), Types.OBJECT, value : TunableModelWrapper._factory, __class__ : <class 'sims4.tuning.tunable.TunableSingletonFactory'>]
  • File 'T:\InGame\Gameplay\Scripts\Core\sims4\tuning\tunable.py', line 540, in __call__ [ self : TunableModelWrapper._factory, total_kwargs : {'model': _ModelFromDefinition(apply_definition=False, definition=None)}, e : 'NoneType' object has no attribute 'get_model']
  • File 'T:\InGame\Gameplay\Scripts\Server\tunable_utils\tunable_model.py', line 75, in _factory [ model : _ModelFromDefinition(apply_definition=False, definition=None)]
  • File 'T:\InGame\Gameplay\Scripts\Server\tunable_utils\tunable_model.py', line 71, in get_model [ self : _ModelFromDefinition(apply_definition=False, definition=None)]

2 Replies

  • That error is generally from missing something required for a food mod, in this case icemunmun challah bread. You should check the requirements for that file, and your food mods in general. If you normally have the requirements for that file but it's in the part of your mods folder you haven't added back yet, it's very very important to keep your mods with the things they require. If it requires a mod you don't have, you'll need to choose to get that other mod or delete the challah. If it requires a pack you don't have, you'll need to delete the file (or get the pack).

    Or you might just need to update it.

    Also make sure that you've updated your icemunmun required files. The custom foods file (the required file for all icemunmun foods) updates on average of once a month.

  • Artisticgift's avatar
    Artisticgift
    Rising Novice
    2 days ago

    i've searched everywhere for a file that i cant find anywhere. it says /1.package on my better exceptions BUT CANT FIND ITT

About The Sims 4 Mods & Custom Content

Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.14,978 PostsLatest Activity: 2 hours ago