Forum Discussion

TayMeowCx's avatar
7 years ago

CLOSED SOLUTION FOUND- getting Last exception: Attribute error: none type.

Hi, I'm having a issue with script mods, I just recently updated a bunch of my mods and also added some new ones, I didn't read any conflicts but I'm seeming to have one or something's going wrong with an object in game?? I read my exception that came in(I'm not a pro at it, I'll gladly share it, if it helps.), But all I really got from it was a none type error, which is odd. I've tried fixing it in every way I know how. Taking what I freshly downloaded out, didn't seem to fix it, but I know it's for sure a script problem, I had scripts turned off and the game ran great. I'd greatly appreciate the help on this one and have decided to add my exception for you guys to read. Thank you so much! Thats how much of the LE, below that could fit on the forums...
  • ill send the new Last Exception after i have updated my game


    21a300ff4eb88c47c5bb0e2f8desyncea.maxis.sims4_64.15.pc2018-09-30 15:59:35Local.Unknown.Unknown.1.46.18.1020-1.200.000.364.Releasetest_variants.py:38991a300ff4eb88c47c5bb0e2f8Exception during call to test method on <class 'sims4.tuning.instances.phone_JoinCareer'> (AttributeError: 'str' object has no attribute 'get_expected_args') Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Core\sims4\commands.py", line 369, in invoke_command File "T:\InGame\Gameplay\Scripts\Server\server_commands\career_commands.py", line 338, in find_career File "T:\InGame\Gameplay\Scripts\Server\sims\sim.py", line 3467, in push_super_affordance File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 233, in test_and_execute File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 166, in test File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2771, in test File ".\mc_utils.py", line 123, in _wrapper_function File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2693, in test File "T:\InGame\Gameplay\Scripts\Server\event_testing\tests.py", line 550, in run_tests File "T:\InGame\Gameplay\Scripts\Server\event_testing\resolver.py", line 102, in __call__ File "T:\InGame\Gameplay\Scripts\Server\event_testing\test_variants.py", line 3899, in get_expected_args AttributeError: 'str' object has no attribute 'get_expected_args'
    21a300ff4eb88c47c5bb0e2f8desyncea.maxis.sims4_64.15.pc2018-09-30 15:59:42Local.Unknown.Unknown.1.46.18.1020-1.200.000.364.Releasetest_variants.py:38991a300ff4eb88c47c5bb0e2f8Exception during call to test method on <class 'sims4.tuning.instances.phone_JoinCareer'> (AttributeError: 'str' object has no attribute 'get_expected_args') Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Core\sims4\commands.py", line 369, in invoke_command File "T:\InGame\Gameplay\Scripts\Server\server_commands\career_commands.py", line 338, in find_career File "T:\InGame\Gameplay\Scripts\Server\sims\sim.py", line 3467, in push_super_affordance File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 233, in test_and_execute File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 166, in test File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2771, in test File ".\mc_utils.py", line 123, in _wrapper_function File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2693, in test File "T:\InGame\Gameplay\Scripts\Server\event_testing\tests.py", line 550, in run_tests File "T:\InGame\Gameplay\Scripts\Server\event_testing\resolver.py", line 102, in __call__ File "T:\InGame\Gameplay\Scripts\Server\event_testing\test_variants.py", line 3899, in get_expected_args AttributeError: 'str' object has no attribute 'get_expected_args'
    21a300ff4eb88c47c5bb0e2f8desyncea.maxis.sims4_64.15.pc2018-09-30 15:59:43Local.Unknown.Unknown.1.46.18.1020-1.200.000.364.Releasetest_variants.py:38991a300ff4eb88c47c5bb0e2f8Exception during call to test method on <class 'sims4.tuning.instances.phone_JoinCareer'> (AttributeError: 'str' object has no attribute 'get_expected_args') Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Core\sims4\commands.py", line 369, in invoke_command File "T:\InGame\Gameplay\Scripts\Server\server_commands\interaction_commands.py", line 580, in generate_phone_choices File "T:\InGame\Gameplay\Scripts\Server\interactions\choices.py", line 113, in add_potential_aops File "T:\InGame\Gameplay\Scripts\Server\interactions\choices.py", line 200, in add_aop File "T:\InGame\Gameplay\Scripts\Server\interactions\choices.py", line 170, in is_valid_aop File "T:\InGame\Gameplay\Scripts\Server\interactions\aop.py", line 166, in test File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2771, in test File ".\mc_utils.py", line 123, in _wrapper_function File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 2693, in test File "T:\InGame\Gameplay\Scripts\Server\event_testing\tests.py", line 511, in run_tests File "T:\InGame\Gameplay\Scripts\Server\event_testing\resolver.py", line 102, in __call__ File "T:\InGame\Gameplay\Scripts\Server\event_testing\test_variants.py", line 3899, in get_expected_args AttributeError: 'str' object has no attribute 'get_expected_args'
    21a300ff4eb88c47c5bb0e2f8desyncea.maxis.sims4_64.15.pc2018-09-30 16:11:45Local.Unknown.Unknown.1.46.18.1020-1.200.000.364.Releaseinteraction.py:2921a300ff4eb88c47c5bb0e2f8Exception in Sim Timeline: Exception running Element (TypeError: 'NoneType' object is not callable) Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 212, in simulate File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 376, in _run File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 4937, in _execute_next_transition File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 4696, in _get_next_transition_info File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 292, in __init__ TypeError: 'NoneType' object is not callable
  • > @rosemow said:
    > Hello @Ana_Anushka
    > Try moving your whole mods folder to the desktop. Than delete the cache files.
    > Don’t put back your mods folder. Then load your save game and see if you still have the errors being generated.

    I'll try that right now
  • > @rosemow said:
    > Hello @Ana_Anushka
    > Try moving your whole mods folder to the desktop. Than delete the cache files.
    > Don’t put back your mods folder. Then load your save game and see if you still have the errors being generated.

    its definately one of my mods because i did not have it when i took my mods out, but the problem is that i dont know which one it is because i have about 1.6k
  • "LittleMsSam;c-16760066" wrote:
    "rosemow;c-16734833" wrote:
    Hello
    The mods that are causing the issues are
    LittleMsSamChangeIntoEverydayWhenInside
    Triplis-Sorcerer trait
    LittleMsSam_BuyTreatsViaPC.
    It would be best to remove those mods, download the latest versions, and see if the issues remain.


    Looking at the LE text it is actually just the LittleMsSamChangeIntoEverydayWhenInside Script that is the Problem. The other two mentioned in there just say "hi" because they are script Mods. And the LittleMsSamChangeIntoEverydayWhenInside does not have a script anymore in the current Version so forgetting to delete the script file will cause this error :P



    @LittleMsSam I fixed the problem when I spoke to you on deaderpool's discord server, I know you probably don't remember me, but thank you for letting me know again, I love your mods and I appreciate your hard work on them! ?
  • Hi ! I need help understanding an exception error file ...

    My file says this:


    23758ecc1e5150d2c5c93dfe1desyncea.maxis.sims4_64.15.pc2019-03-21 19:05:29Local.Unknown.Unknown.1.50.67.1020-1.200.000.385.Releasehousehold_milestone.py:383758ecc1e5150d2c5c93dfe1Exception raised while trying to run a test event in test_events.py: (AttributeError: 'NoneType' object has no attribute 'household_milestone_tracker') Traceback (most recent call last): Caught and logged: File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 113, in wrapped File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 109, 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 356, in c_api_client_connect File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 550, in do_zone_spin_up File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 1307, in update File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 227, in on_enter File "T:\InGame\Gameplay\Scripts\Server\sims\household_manager.py", line 70, in load_households File "T:\InGame\Gameplay\Scripts\Server\sims\household_manager.py", line 152, in _load_household_from_household_proto File "T:\InGame\Gameplay\Scripts\Server\sims\household.py", line 1139, in load_data File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info.py", line 2815, in load_sim_info File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info.py", line 3110, in _load_sim_info File "T:\InGame\Gameplay\Scripts\Server\distributor\fields.py", line 145, in __set__ File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info.py", line 2178, in allow_fame File "T:\InGame\Gameplay\Scripts\Server\objects\components\__init__.py", line 459, in exported_func File "T:\InGame\Gameplay\Scripts\Server\objects\components\statistic_component.py", line 960, in lock_statistic File "T:\InGame\Gameplay\Scripts\Server\statistics\ranked_statistic.py", line 938, in on_lock File "T:\InGame\Gameplay\Scripts\Server\statistics\continuous_statistic.py", line 998, in on_lock File "T:\InGame\Gameplay\Scripts\Server\statistics\ranked_statistic.py", line 708, in set_value File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_manager_service.py", line 256, in process_event File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_manager_service.py", line 365, in _process_test_event File "E:\Builds\MCCC_6_1_0\mc_cmd_center\mc_utils.py", line 127, in _wrapper_function File "E:\Builds\MCCC_6_1_0\mc_cmd_center\mc_injections.py", line 775, in inject_last_exception_log File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_manager_service.py", line 363, in _process_test_event File "T:\InGame\Gameplay\Scripts\Server\household_milestones\household_milestone.py", line 38, in handle_event AttributeError: 'NoneType' object has no attribute 'household_milestone_tracker' rtim=0
    23758ecc1e5150d2c5c93dfe1desyncea.maxis.sims4_64.15.pc2019-03-21 19:05:39Local.Unknown.Unknown.1.50.67.1020-1.200.000.385.Releaseplex_service.py:1443758ecc1e5150d2c5c93dfe1 culling_service failed to handle on_all_households_and_sim_infos_loaded due to exception (TypeError: argument 2 must be Vector3, not None) Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 113, in wrapped File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 109, 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 356, in c_api_client_connect File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 550, in do_zone_spin_up File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 1307, in update File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 251, in on_enter File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 443, in on_all_households_and_sim_infos_loaded File "E:\Builds\MCCC_6_1_0\mc_cmd_center\mc_utils.py", line 127, in _wrapper_function File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 440, in on_all_households_and_sim_infos_loaded File "T:\InGame\Gameplay\Scripts\Server\sims\culling\culling_service.py", line 74, in on_all_households_and_sim_infos_loaded File "T:\InGame\Gameplay\Scripts\Server\sims\culling\culling_service.py", line 129, in _create_pending_urnstones File "T:\InGame\Gameplay\Scripts\Server\objects\placement\placement_helper.py", line 458, in try_place_object File "T:\InGame\Gameplay\Scripts\Server\objects\placement\placement_helper.py", line 94, in try_place_object File "T:\InGame\Gameplay\Scripts\Server\objects\placement\placement_helper.py", line 227, in _get_reference_objects_gen File "T:\InGame\Gameplay\Scripts\Server\objects\placement\placement_helper.py", line 70, in get_objects_gen File "T:\InGame\Gameplay\Scripts\Server\world\lot.py", line 192, in get_default_position File "T:\InGame\Gameplay\Scripts\Server\plex\plex_service.py", line 144, in get_plex_zone_at_position TypeError: argument 2 must be Vector3, not None rtim=0


    The error shows up everytime i enter my saved game. When i start a new one, nothing happens. I removed all my cc - hairs, clothes, objects, shoes - and mods (that are all updated to the new version 1.50) and it keeps showing up. It also appears after i edit my sims clothes i dont know why.

    Ty
  • I am worried that this error will eventually corrupt my game ... I am really loving playing in this specific game that i created and i dont wanna lose anything
  • Hello @SarahPetrova
    Simmers have found that this error has been generated when you choose your sims to “ step out of the spotlight”. Try having them step back into the spotlight again, and see if that helps the issue.
  • "SarahPetrova;c-17006421" wrote:
    I am worried that this error will eventually corrupt my game ... I am really loving playing in this specific game that i created and i dont wanna lose anything


    Does the error still happen when you take all you mods out? If so then I'd try repairing the game, that's what I'd do when in doubt...