Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Test Subject
Original Poster
#1 Old 16th Jan 2020 at 1:24 PM Last edited by Erisa : 21st Jan 2020 at 1:30 PM. Reason: Updating
Default [Resolved]AttributeError: 'NoneType' object has no attribute 'guid64'
Greetings.
When creating a custom career with Sims 4 Studio, I encountered an issue in the game: AttributeError: 'NoneType' object has no attribute 'guid64'.

It seems a level on my xml is using a vanilla instance ID, but I checked already and I don't see the problem.

I posted a picture of the faulty level, it is blank. There are the snippets of the xmls too:

This is Career Level tuning

Code:
<?xml version="1.0" encoding="utf-8"?> <I c="CareerLevel" i="career_level" m="careers.career_tuning" n="Erisaren_career_Dreamer_Level7" s="15526939625535919198">
<T n="aspiration">14745471171779235072<!--Erisaren_aspiration_Dreamer_Level7--></T>


This is the Career Track tuning

Code:
<?xml version="1.0" encoding="utf-8"?> <I c="TunableCareerTrack" i="career_track" m="careers.career_tuning" n="Erisaren_Dreamer_Track1" s="11040996399636340890">
<T n="active_assignment_amount">2</T>
<L n="branches">
<T>10744939342597694220<!--Erisaren_Dreamer_Track2_Sleeper--></T>
<T>13044215427330741121<!--Erisaren_Dreamer_Track3_Daydreamer--></T>
</L>
<T n="busy_time_situation_picker_tooltip">0x77D1D57E<!--This Sim will need to go to work in the middle of this Social Event.--></T>
<T n="career_description">0xCA0AD31C<!--Hey, psst... You... Yes, you. Don't you want to make something meaningful and more lucrative?--></T>
<L n="career_levels">
<T>15526939625535919192<!--Erisaren_career_Dreamer_Level1--></T>
<T>15526939625535919195<!--Erisaren_career_Dreamer_Level2--></T>
<T>15526939625535919194<!--Erisaren_career_Dreamer_Level3--></T>
<T>15526939625535919197<!--Erisaren_career_Dreamer_Level4--></T>
<T>15526939625535919196<!--Erisaren_career_Dreamer_Level5--></T>
<T>15526939625535919199<!--Erisaren_career_Dreamer_Level6--></T>
<T>15526939625535919198<!--Erisaren_career_Dreamer_Level7--></T>
</L>
<T n="career_name">0xC3526D9B<!--Dreamer--></T>
<T n="career_name_gender_neutral">0xC3526D9B<!--Dreamer--></T>


Everything seems to be listed correctly, and I am out of idea. The Simdata files too are correct. Level 7 is the last level before branching and this is what I got as Last Exception:

Quote:
[Jan-16-2020 13:35:26]Initializing MC Command Center version: 6.6.3...
[Jan-16-2020 13:39:40]Initializing Zone Data...
[Jan-16-2020 13:41:31]Traceback (most recent call last):

File "E:\Builds\MCCC_6_6_3\mc_cheats\mc_cheats_dlg.py", line 874, in _cheat_confirmation_response

File "T:\InGame\Gameplay\Scripts\Server\careers\career_base.py", line 3053, in promote

File "T:\InGame\Gameplay\Scripts\Server\careers\career_base.py", line 3212, in _promote

File "T:\InGame\Gameplay\Scripts\Server\careers\career_base.py", line 3298, in _promote_to_new_branch

File "T:\InGame\Gameplay\Scripts\Server\careers\career_tuning.py", line 1395, in get_select_career_track_pb

AttributeError: 'NoneType' object has no attribute 'guid64'


I am not very good at reading logs, but according to some research, there is an instance ID which is missing somewhere. I hope maybe someone understanding the issue will tell me where I am wrong.
Screenshots
Advertisement
Field Researcher
#2 Old 16th Jan 2020 at 6:11 PM
Try checking your script file as well, and I'd open the career you were using as a base to compare the files and make sure everything looks the same minus the text and instances.

Creator Musings is a Sims 4 modder, poser/animator, and CC creator hangout server (though everyone is allowed) with a tutorial/resource directory, help channels, and mod/cc/sims 4 news channels!
My Discord | Twitter | Tumblr | Patreon
Test Subject
Original Poster
#3 Old 20th Jan 2020 at 2:17 PM Last edited by Erisa : 21st Jan 2020 at 1:29 PM. Reason: Updating
Hello!
With WinMerge, I compared each files and I corrected three typos in the simdata files (After triple checking, I wonder how I got them...) but now I get an additional error AttributeError: 'NoneType' object has no attribute 'add_statistic' and the level 7 is really broken now. Impossible to go past level 6. A file must contain bad information since I corrected its simdata file...

This means one thing: I restart from scratch. It should be fast. I will make sure to quadruple check this time. Everything looks neat and because of that no error will come up obviously. Starting from zero, here I go.
Sorry for the trouble. I may update if something changes.

EDIT:
Good news!
I started from scratch and I edited the files again.
I am pretty happy I could finally create this career. I think the guid64 error is because of a mismatch somewhere.
Back to top