cccttt01123 Posted May 19, 2023 Posted May 19, 2023 I kept getting this after my sim got abducted, anyone know how to fix it? File ".\WickedWhims_v175e\wickedwhims\main\game_handlers\pregnancy_handler.py", line 175, in _wickedwhims_on_pregnancy_element_behavior File "T:\InGame\Gameplay\Scripts\Server\sims\pregnancy\pregnancy_element.py", line 131, in _do_behaviorTypeError: cannot unpack non-iterable SimInfo objectrtim=0
HiHoke Posted May 21, 2023 Posted May 21, 2023 Also encountered this error. Here's the full exception from WW: Game Version: 1.97.62.1020, WickedWhims Version: v175e, 05/21/23 13:02:33 Traceback (most recent call last): File ".\WickedWhims_v175e\wickedwhims\main\game_handlers\pregnancy_handler.py", line 143, in _wickedwhims_on_pregnancy_element_behavior File "T:\InGame\Gameplay\Scripts\Server\sims\pregnancy\pregnancy_element.py", line 131, in _do_behavior TypeError: cannot unpack non-iterable SimInfo object TurboLib: Failed to alter Sim pregnancy behavior at 'PregnancyElement._do_behavior'. -> TypeError: cannot unpack non-iterable SimInfo object Here's a formatted exception: Exception in Sim Timeline: Exception running Element (TypeError: cannot unpack non-iterable SimInfo object) Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\interaction_elements.py", line 174, in _behavior_element File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v175e\injector.py", line 26, in _wrapped_function File ".\WickedWhims_v175e\wickedwhims\main\game_handlers\pregnancy_handler.py", line 175, in _wickedwhims_on_pregnancy_element_behavior File "T:\InGame\Gameplay\Scripts\Server\sims\pregnancy\pregnancy_element.py", line 131, in _do_behaviorTypeError: cannot unpack non-iterable SimInfo objectrtim=0 ClientInfo isn't here Here's the exception attributes: self: <scheduling.Timeline object at 0x00007FF4BDBE98D0>, until: 02:03:36.800 day:6 week:2, max_elements: 10000, max_time_ms: 17, count: 45, start_time: 96318.531, end_time: 96318.54800000001, early_exit: False, handle: [None, None, <scheduling.Timeline object at 0x00007FF4BDBE98D0>, False, <Fn; XevtTriggeredElement._behavior_element@170>], when: 02:02:07.240 day:6 week:2, _: 1071890, _t: <scheduling.Timeline object at 0x00007FF4BDBE98D0>, _s: True, e: <Fn; XevtTriggeredElement._behavior_element@170>, calling: True, result: [None, None, <scheduling.Timeline object at 0x00007FF4BDBE98D0>, False, <Fn; XevtTriggeredElement._behavior_element@170>], exc: cannot unpack non-iterable SimInfo object, will_reschedule: False, self: <Fn; XevtTriggeredElement._behavior_element@170>, timeline: <scheduling.Timeline object at 0x00007FF4BDBE98D0>, self: <PregnancyElement#0x7ff4d6a10f18>, timeline: <scheduling.Timeline object at 0x00007FF4BDBE98D0>, args: (<PregnancyElement#0x7ff4d6a10f18>,), kwargs: {}, new_function: <function _wickedwhims_on_pregnancy_element_behavior at 0x00007FF4BA2D20E0>, original_function: <function PregnancyElement._do_behavior at 0x00007FF4C58E8B00>, original: <function PregnancyElement._do_behavior at 0x00007FF4C58E8B00>, self: <PregnancyElement#0x7ff4d6a10f18>, args: (), kwargs: {}, sim_instance: Anne XXX, sim_info: , turbo_sim: Anne XXX, has_already_attempted_pregnancy: False, interaction_id: 102862, self: <PregnancyElement#0x7ff4d6a10f18>, args: (), kwargs: {}, subject_sim: Anne XXX, death_interaction: None, subject_sim_info: , Looks to me like `sim_info` is being passed as None now. Dunno if you need to fix the root problem, or if a simple `sim_info = sim_info or []` will get you through - not familiar with the codebase and decompiling `.pyc` is probably where I should halt investigating. In the mean time, Anne doesn't get an alien baby I suppose.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now