I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 8348, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8466, in script call
$ _return.call_action(the_person)
File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
$ crisis_list.remove(daughter_work_crisis)
File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
$ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 8348, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8466, in script call
$ _return.call_action(the_person)
File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
$ crisis_list.remove(daughter_work_crisis)
File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\ast.py", line 862, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\python.py", line 1912, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
$ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined
Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 11:06:24 2019
Hey, I am unable to reproduce the error on my system so might be something quirky with linux.Trollden Tristim
clean game, patch and bugfix
new game, did tutorial, upon completion, this...
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 1830, in execute
if renpy.python.py_eval(condition):
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2035, in py_eval
return py_eval_bytecode(code, globals, locals)
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2028, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'
Linux-4.15.0-66-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 18:25:31 2019
```
return (mandatory_vibe_policy.is_owned() and get_from_policy_list(mandatory_vibe_policy).enabled) and mc.business.is_open_for_business()
. Should make it return False as soon as it recognizes that mandatory_vibe_policy.is_owned()
is False.get_from_policy_list
to return False instead on NoneType if nothing is found, which might be the heart of the issue despite working fine on my system.Try updating the version you have of the mod. I believe Tristim has fixed it. Let us know if you still have issues with it.I wanted to check on the status of the HR Director mod and see if the Job Posting option is fully operational or if that is still in the works. When I attempt to have the HR Director post the job listing I receive an error.
Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 8348, in script call call talk_person(picked_option) from _call_talk_person File "game/script.rpy", line 8466, in script call $ _return.call_action(the_person) File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script $ crisis_list.remove(daughter_work_crisis) File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module> $ crisis_list.remove(daughter_work_crisis) NameError: name 'daughter_work_crisis' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/script.rpy", line 8348, in script call call talk_person(picked_option) from _call_talk_person File "game/script.rpy", line 8466, in script call $ _return.call_action(the_person) File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script $ crisis_list.remove(daughter_work_crisis) File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\ast.py", line 862, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\python.py", line 1912, in py_exec_bytecode exec bytecode in globals, locals File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module> $ crisis_list.remove(daughter_work_crisis) NameError: name 'daughter_work_crisis' is not defined Windows-8-6.2.9200 Ren'Py 7.0.0.196 Lab Rats 2 - Down to Business v0.21.1 Thu Oct 24 11:06:24 2019
It's ok. We appreciate you.Sorry, it's been a very very long month for me and going through commit notes it looks like I missed a bunch of things in the mod update. I'll try to be more careful with the next one.
Worked after updated mods.Hey, I am unable to reproduce the error on my system so might be something quirky with linux.
Pushed an update to the requirement so it saysreturn (mandatory_vibe_policy.is_owned() and get_from_policy_list(mandatory_vibe_policy).enabled) and mc.business.is_open_for_business()
. Should make it return False as soon as it recognizes thatmandatory_vibe_policy.is_owned()
is False.
Also changed theget_from_policy_list
to return False instead on NoneType if nothing is found, which might be the heart of the issue despite working fine on my system.
Let me know if it's not resolved or not.
Do you mean the default pose that they use while you are talking to them or something else?Will there be a mod to make us able to change the poses for the women?
It can be whatever you want, but has to be unique.Here's a Python-newb question:
I'm writing a scene that leads into a blowjob and the line that leads to it should assumably look something like this:
call fuck_person(the_person, private = True, start_position = blowjob, skip_intro = True, position_locked = True)
From what I understand, this line should end with from _call_fuck_person_31 , but what eludes me is what exactly defines that number and what effect does it have? Can I just put whatever I want? I haven't found duplicate numbers so do I have to make sure the same number doesn't appear anywhere else? Basically everything I know about Python comes from reading various files of this game and I haven't found anything where that from-part could come from, so I'm at a complete loss. Sure I could go with trial-and-error and I most likely will before anyone sees this, but I'd like to know how stuff is done, instead of a just hammering it home with luck.
from
calls itself, but since we are doing loose file modifications we have to put them in ourselves if we want them.HUGE thanks for your quick response! So it was how I suspected, but it's a massive relief to get confirmation to it. This is gonna make writing new stuff so much easier. Thanks again!It can be whatever you want, but has to be unique.
I have the same error when trying to load a save game since I updated from 0.20.1 to 0.21.1/Code:I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00action_file.rpy", line 441, in __call__ renpy.load(fn) AttributeError: 'StoreModule' object has no attribute 'date_requirement' -- Full Traceback ------------------------------------------------------------ ............ Windows-8-6.2.9200 Ren'Py 7.0.0.196 Lab Rats 2 - Down to Business v0.21.0 Wed Oct 02 14:13:57 2019
All actions have a function (requirement) that it checks for to see if you can do it. I can't find any trace of a function called date_requirement in version 0.21.1 and 0.22.0 so it is likely removed. Since you have the old basic date action in your save game, it will look for the date_requirement function that is tied to it.I have the same error when trying to load a save game since I updated from 0.20.1 to 0.21.1/
Does anyone know where it comes from. I don"t really want to loose my saved games.
init -2 python:
line might fix it?def date_requirement(the_person):
if the_person.love < 20:
return "Requires: 20 Love"
return True