Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[StatusInfo] Getting "Error: No attribute or sheet field found for character_id" in API when applying markers

1575334640

Edited 1575421403
I am using TokenMod to apply markers and StatusInfo to tell everyone in chat the condition related to the marker and keep tracks of them with CombatTracker. A simple command !token-mod --set statusmarkers#!stopwatch create "Error: No attribute or sheet field found for character_id -LihzL_-V9KakPo3SL7x named character_sheet" in the API and sometimes completely crashes the API, generally in combat when I use those commands a lot. I am using DnD5e sheet, same thing happens if it is a PC, a NPC, an image, etc, ... The error goes away if I disable StatusInfo, so it comes from it for sure. I know the creator of the script has gone missing and Victor B. made an updated version but same thing happens with the updated scripts. Any idea of why or alternatives ?
Are you using the new combat tracker or the one-click one. If you are using the new one it has statusinfo build into it so you do not need it.
1575421382

Edited 1575421542
I have the same error pop up if I use the one-click one and the one Victor B. worked on&nbsp; ( <a href="https://app.roll20.net/forum/post/6252784/script-statusinfo/?pageforid=7417691#post-7417691" rel="nofollow">https://app.roll20.net/forum/post/6252784/script-statusinfo/?pageforid=7417691#post-7417691</a> ) which I guess is the updated one you are talking about ? The one from Victor B. use 2 scripts that you need to install separately, where did you see this built-in statusinfo ?
If you use Status info with CombatTrackers (Victors) you will get an error as Victor combined them
OOOOOOH OK, thanks for the head ups, I installed the new one and no more errors. Didn't see the new one to install and the READ ME still say to install independently so I didn't look at the solo file. For anyone looking into this, on the Victor B. github ( <a href="https://github.com/vicberg/Combattracker" rel="nofollow">https://github.com/vicberg/Combattracker</a> ) you must install the combattracker.js on the master repository ( <a href="https://github.com/vicberg/Combattracker/blob/master/combattracker.js" rel="nofollow">https://github.com/vicberg/Combattracker/blob/master/combattracker.js</a> ), this one has statusinfo included and works without error with tokenmod, not the one in the 0.3.0 folder.
1575946073

Edited 1575946114
Victor B.
Pro
Sheet Author
API Scripter
Yes, I haven't had time to create new help pages.&nbsp; I'm not going to update the WIKI because I'm not pushing my changes into Roll20 Github because everyone ELSE using CT and SI that's currently in Roll20 Github will start failing.&nbsp; It's quite tempting right now to push it anyway and I can probably ask Roll20 to bring down statusinfo, but for now I'm keeping my changes to CT separate from what Robyn last published in Roll20 Github.&nbsp;&nbsp;
1575946273
Victor B.
Pro
Sheet Author
API Scripter
Also note that " Error: No attribute or sheet field found for character_id in API when applying markers" may occur if you've included a token that isn't assigned to a char sheet.&nbsp; It's simply a token.&nbsp; Roll20 returns the error.&nbsp; I detect that error and don't process any further, but Roll20 has already sent the error message to console.&nbsp; &nbsp;
1575962659
GiGs
Pro
Sheet Author
API Scripter
If you want to add it to the scripts github, the best thing would be to leave the existing versions, and do a simple find/replace to change a few things in your script: Script name (Combat tracker 2?) The combattracker.module name and references to it Your state variable names (COMBATSTATE and STATUSSTATE).&nbsp; With optionally a version checker to migrate any existing state to the new state, to be run only once.
1576006656
Victor B.
Pro
Sheet Author
API Scripter
I'll think about doing that.&nbsp;&nbsp;