Forum Discussion
I was able to fix this with a mod. I could not fix it by deleting all townies and residents of Brightchester. I think the problem was linked to my household sim and I couldn't delete her of course. There are 2 places in the code that I had to fix.
For some reason, the progress_stat returned is NoneType. This is probably due to an invalid assignment of an organization like I was describing in my how to reproduce post. Just setting the points_to_current_rank to 0 allows the function to complete. Since it's removing the organization, I don't see any side effects of this.
organizations.organization_tracker.
OrganizationTracker.leave_organization if progress_stat is None: tracker.set_value(progress_stat_type, 0) else: tracker.set_value(progress_stat_type,
progress_stat.points_to_current_rank())
Another problem was a sim was enrolled in university, but somehow had no courses. This creates the division by zero error. I just set the term gpa to 0 if there were no courses. This allowed the complete term function to run.
sims.university.degree_tracker.
DegreeTracker.complete_term if len(self._course_infos) == 0: term_gpa = 0.0 else: term_gpa = round(term_grade_point /
len(self._course_infos), 2)
After running this mod once, saving and deleting the mod, I am seeing no more LE's.
About The Sims 4 Mods & Custom Content
Community Highlights
Recent Discussions
- 14 hours ago