MC Command Center Last Exception Aug 02 - 09:58:41 Summary
Last Module Called: T:\InGame\Gameplay\Scripts\Server\build_buy.py
Last Function Called: get_location_plex_id
Error message: Exception in Sim Timeline: Exception running Element (TypeError: an integer is required (got type NoneType)), CategoryID: T:\InGame\Gameplay\Scripts\Server\build_buy:717
Pretty Error CallStack (Click to expand/collapse)
Mod Path Module Function Line Error Class
T:\InGame\Gameplay\Scripts\Server\apartments\apartment_zone_director.py
_run_common_area_cleanup
130
<sims4.tuning.instances.zone_director_apartment_player object at 0x1d8d69e50>
T:\InGame\Gameplay\Scripts\Server\situations\service_npcs\modify_lot_items_tuning.py
modify_objects
324
ModifyAllLotItems(modifications=(ImmutableSlots({'action': ImmutableSlots({'action_type': 0}), 'chance': 1.0, 'global_tests': TestList([]), 'tests': CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)]), 'weighted_tests': ()}),))
T:\InGame\Gameplay\Scripts\Server\apartments\apartment_zone_director.py
object_criteria
129
T:\InGame\Gameplay\Scripts\Server\plex\plex_service.py
get_plex_zone_at_position
144
plex_service
T:\InGame\Gameplay\Scripts\Server\build_buy.py
get_location_plex_id
717
Full Error CallStack (Click to expand/collapse)
File 'T:\InGame\Gameplay\Scripts\Server\areaserver.py', line 209, in c_api_server_tick [ absolute_ticks : 271825119634, clock_service : server_clock, previous_ticks : 271825119591, zone : <Zone ID: 0x6b90d7ba66f38d2>, persistence_service : persistence_service]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\injector.py', line 26, in _wrapped_function [ args : (<Zone ID: 0x6b90d7ba66f38d2>, 271825119634), new_function : <function _turbolib_zone_game_update at 0x1843104d0>, original_function : <function Zone.update at 0x183b2c8c0>]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\zone_tick.py', line 81, in _turbolib_zone_game_update [ original : <function Zone.update at 0x183b2c8c0>, self : <Zone ID: 0x6b90d7ba66f38d2>, args : (271825119634,)]
File 'C:\Users\User\Documents\Python Scripts\Sims 4 Python Script Workspace\My Script Mods\Mortem\Scripts\simrealist_mortem\injector.py', line 11, in _inject [ args : (<Zone ID: 0x6b90d7ba66f38d2>, 271825119634), new_function : <function mt_zone_update at 0x183b2c7a0>, target_function : <function Zone.update at 0x180713290>]
File 'C:\Users\jvict\Documents\Sims 4 Python Script Workspace\My Script Mods\Mortem\Scripts\simrealist_mortem\funeral_service.py', line 36, in mt_zone_update [ original : <function Zone.update at 0x180713290>, self : <Zone ID: 0x6b90d7ba66f38d2>, absolute_ticks : 271825119634]
File 'T:\InGame\Gameplay\Scripts\Server\zone.py', line 484, in update [ self : <Zone ID: 0x6b90d7ba66f38d2>, absolute_ticks : 271825119634, game_clock : game_clock, time_service : time_service, season_service : season_service, weather_service : weather_service, narrative_service : narrative_service, roommate_service : roommate_service]
File 'T:\InGame\Gameplay\Scripts\Server\time_service.py', line 112, in update [ self : time_service, time_slice : True, max_time_ms : 33]
File 'T:\InGame\Gameplay\Scripts\Server\scheduling.py', line 234, in simulate [ self : <scheduling.Timeline object at 0x1b6d25c90>, until : 04:03:04.640 day:1 week:2, max_elements : 10000, max_time_ms : 33, count : 13, start_time : 31648.559726174, end_time : 31648.592726174, handle : [None, 1341, <scheduling.Timeline object at 0x1b6d25c90>, False, <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68>], when : 04:00:00.000 day:1 week:2, _ : 1341, _t : <scheduling.Timeline object at 0x1b6d25c90>, _s : True, e : <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68; 1.00 days>, calling : True, exc : an integer is required (got type NoneType)]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\injector.py', line 26, in _wrapped_function [ args : (<scheduling.Timeline object at 0x1b6d25c90>, <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68>, TypeError('an integer is required (got type NoneType)'), 'Exception running Element'), new_function : <function _suppress_replaced_exception_of_asm_request_on_timeline at 0x1852e1200>, original_function : <function Timeline._report_exception at 0x177217ef0>]
File '.\WickedWhims_v165h\\main\hacks\asm_states_traversal.py', line 43, in _suppress_replaced_exception_of_asm_request_on_timeline [ original : <function Timeline._report_exception at 0x177217ef0>, self : <scheduling.Timeline object at 0x1b6d25c90>, args : (<RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68>, TypeError('an integer is required (got type NoneType)'), 'Exception running Element'), exception : an integer is required (got type NoneType)]
File 'T:\InGame\Gameplay\Scripts\Server\scheduling.py', line 721, in _report_exception [ self : <scheduling.Timeline object at 0x1b6d25c90>, element : <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68; 1.00 days>, exception : an integer is required (got type NoneType), message : Exception running Element]
File 'T:\InGame\Gameplay\Scripts\Server\time_service.py', line 183, in _on_exception [ self : time_service, timeline : <scheduling.Timeline object at 0x1b6d25c90>, element : <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68; 1.00 days>, exception : an integer is required (got type NoneType), message : Exception running Element, name : Sim Timeline]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\injector.py', line 26, in _wrapped_function [ args : (<sims4.log.Logger object at 0x17fd570d0>, 'Exception in {}: {}', 'Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}, new_function : <function _on_exception_occurrence_record_clean_file at 0x184310ef0>, original_function : <function Logger.exception at 0x183da88c0>]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\clean_exception.py', line 29, in _on_exception_occurrence_record_clean_file [ original : <function Logger.exception at 0x183da88c0>, self : <sims4.log.Logger object at 0x17fd570d0>, args : ('Exception in {}: {}', 'Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\injector.py', line 26, in _wrapped_function [ args : (<sims4.log.Logger object at 0x17fd570d0>, 'Exception in {}: {}', 'Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}, new_function : <function _on_exception_occurrence at 0x183da8b00>, original_function : <function Logger.exception at 0x1803fde60>]
File 'T:\InGame\Gameplay\Scripts\Server\sims\masked\v165h\exceptions_feedback.py', line 18, in _on_exception_occurrence [ original : <function Logger.exception at 0x1803fde60>, self : <sims4.log.Logger object at 0x17fd570d0>, args : ('Exception in {}: {}', 'Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}]
File 'D:\Projects\Sims 4 Modding\Mods\TMex Mods 2020\Tmex-BetterExceptions\PublicUnlock.py', line 13, in _unlock [ args : (<sims4.log.Logger object at 0x17fd570d0>, 'Exception in {}: {}', 'Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}, new_function : <function tm_be_class_exceptions at 0x18085f710>, target_function : <function Logger.exception at 0x14ba450e0>]
File 'D:\Projects\Sims 4 Modding\Mods\TMex Mods 2020\Tmex-BetterExceptions\tmex_BetterExceptions_Hooks.py', line 144, in tm_be_class_exceptions [ target : <function Logger.exception at 0x14ba450e0>, self : <sims4.log.Logger object at 0x17fd570d0>, message : Exception in {}: {}, args : ('Sim Timeline', 'Exception running Element'), kwargs : {'exc': TypeError('an integer is required (got type NoneType)'), 'log_current_callstack': False}, item : Exception running Element]
File 'T:\InGame\Gameplay\Scripts\Core\sims4\log.py', line 854, in exception [ self : <sims4.log.Logger object at 0x17fd570d0>, message : Exception in {}: {}, exc : an integer is required (got type NoneType), level : 150, args : ('Sim Timeline', 'Exception running Element'), frame : <frame at 0x25bffafd0, file 'D:\\Projects\\Sims 4 Modding\\Mods\\TMex Mods 2020\\Tmex-BetterExceptions\\tmex_BetterExceptions_Hooks.py', line 144, code tm_be_class_exceptions>]
File 'T:\InGame\Gameplay\Scripts\Server\alarms.py', line 293, in _run [ self : <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68; 1.00 days>, t : <scheduling.Timeline object at 0x1b6d25c90>, element_handle : [None, 1341, <scheduling.Timeline object at 0x1b6d25c90>, False, <RepeatingAlarm; ApartmentZoneDirectorMixin.on_startup.<locals>.<lambda>@68>]]
File 'T:\InGame\Gameplay\Scripts\Server\apartments\apartment_zone_director.py', line 68, in <lambda> [ _ : <alarms.AlarmHandle object at 0x1b5252950>, self : <sims4.tuning.instances.zone_director_apartment_player object at 0x1d8d69e50>]
File 'T:\InGame\Gameplay\Scripts\Server\apartments\apartment_zone_director.py', line 130, in _run_common_area_cleanup [ self : <sims4.tuning.instances.zone_director_apartment_player object at 0x1d8d69e50>, actions : ModifyAllLotItems(modifications=(ImmutableSlots({'action': ImmutableSlots({'action_type': 0}), 'chance': 1.0, 'global_tests': TestList([]), 'tests': CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)]), 'weighted_tests': ()}),)), object_criteria : <function ApartmentZoneDirectorMixin._run_common_area_cleanup.<locals>.object_criteria at 0x14bd75a70>, plex_service : plex_service]
File 'T:\InGame\Gameplay\Scripts\Server\situations\service_npcs\modify_lot_items_tuning.py', line 324, in modify_objects [ self : ModifyAllLotItems(modifications=(ImmutableSlots({'action': ImmutableSlots({'action_type': 0}), 'chance': 1.0, 'global_tests': TestList([]), 'tests': CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)]), 'weighted_tests': ()}),)), object_criteria : <function ApartmentZoneDirectorMixin._run_common_area_cleanup.<locals>.object_criteria at 0x14bd75a70>, modifications : defaultdict(<class 'event_testing.tests.CompoundTestList'>, {ImmutableSlots({'action_type': 0}): CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)])}), mod : ImmutableSlots({'action': ImmutableSlots({'action_type': 0}), 'chance': 1.0, 'global_tests': TestList([]), 'tests': CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)]), 'weighted_tests': ()}), all_objects : '[object_Shell_Apartment(0x06b90d7ba66f38d3), prototype(0x06b90d7ba66f38d4), prototype(0x06b90d7ba66f38d5), prototype(0x06b90d7ba66f38d6), prototype(0x06b90d7ba66f38d7), prototype(0x06b90d7ba66f38d8), prototype(0x06b90d7ba66f38d9), prototype(0x06b90d7ba66f38da), prototype(0x06b90d7ba66f38db), prototype(0x06b90d7ba66f38dc), prototype(0x06b90d7ba66f38dd), prototype(0x06b90d7ba66f38de), prototype(0x06b90d7ba66f38df), prototype(0x06b90d7ba66f38e0), prototype(0x06b90d7ba66f38e1), prototype(0x06b90d7ba66f38e2), prototype(0x06b90d7ba66f38e3), prototype(0x06b90d7ba66f38e4), prototype(0x06b90d7ba66f38e5), prototype(0x06b90d7ba66f38e6), prototype(0x06b90d7ba66f38e7), prototype(0x06b90d7ba66f38e8), prototype(0x06b90d7ba66f38e9), prototype(0x06b90d7ba66f38ea), prototype(0x06b90d7ba66f38eb), prototype(0x06b90d7ba66f38ec), prototype(0x06b90d7ba66f38ed), prototype(0x06b90d7ba66f38ee), prototype(0x06b90d7ba66f38ef), prototype(0x06b90d7ba66f38f0), prototype(0x06b90d7ba66f38f1), object_door_double(0x06b90d7ba66f38f2), object_do...', obj : ksuihuh:WickedWhims_Object_Condom_LittleRabbit:0x06bf0d89dacb923e, resolver : SingleObjectResolver: object: ksuihuh:WickedWhims_Object_Condom_LittleRabbit:0x06bf0d89d6828b8a, action : ImmutableSlots({'action_type': 0}), tests : CompoundTestList([(<situations.service_npcs.modify_lot_items_tuning.ObjectMatchesDefinitionOrTagTest object at 0x1e32c3738>,), (<event_testing.state_tests.StateTest object at 0x1cbdd8050>,), (<event_testing.state_tests.StateTest object at 0x1e3d00450>,)])]
File 'T:\InGame\Gameplay\Scripts\Server\apartments\apartment_zone_director.py', line 129, in object_criteria [ obj : ksuihuh:WickedWhims_Object_Condom_LittleRabbit:0x06bf0d89dacb923e, plex_service : plex_service]
File 'T:\InGame\Gameplay\Scripts\Server\plex\plex_service.py', line 144, in get_plex_zone_at_position [ self : plex_service, world_position : Vector3Immutable(0.000000, 0.000000, 0.000000), active_zone_id : 484433259643484370, master_id : 484433259643484370, _ : 122]
File 'T:\InGame\Gameplay\Scripts\Server\build_buy.py', line 717, in get_location_plex_id [ position : Vector3Immutable(0.000000, 0.000000, 0.000000)