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

Shaped Script Debugging and Log

Hi all: I'm trying to use the 5E Shaped Sheet in a new campaign.  I've added the helper script and I'm getting the following when I drag a spell from the compendium to a character sheet: Shaped Scripts Error An error occurred. Please see the log for more details. Googling a bit I dont know where the log is or how to proceed.  Any tips? thanks!
1597590280
timmaugh
Forum Champion
API Scripter
It's at the bottom of any tab in your script library. When you save a script or restart the sandbox, you will see the console output cycle through shutting down and restarting events.
Thanks Hmm... its intimidating!!! "5eShapedCompanion 1597589149084 INFO : Summary of adding SRD entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":8},\"monsters\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":325},\"spells\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":319}}" "5eShapedCompanion 1597589149086 INFO : Summary of adding UAArtificer entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":1}}" "5eShapedCompanion 1597589149089 INFO : Summary of adding UACleric entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149092 INFO : Summary of adding UALightDarkUnderdark entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149098 INFO : Summary of adding UAModernMagic entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":4,\"added\":0},\"spells\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":0}}" "5eShapedCompanion 1597589149103 INFO : Summary of adding UAOldBlackMagic entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":2,\"added\":0},\"spells\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":5}}" "5eShapedCompanion 1597589149106 INFO : Summary of adding UAPaladin entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149107 INFO : Summary of adding UARanger entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149108 INFO : Summary of adding UARangerRevised entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149109 INFO : Summary of adding UASorcerer entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149118 INFO : Summary of adding UAStarterSpells entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":8,\"added\":0},\"spells\":{\"withErrors\":0,\"deleted\":0,\"patched\":0,\"added\":17}}" "5eShapedCompanion 1597589149120 INFO : Summary of adding UATheFaithful entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149121 INFO : Summary of adding UATrioOfSubclasses entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":2,\"added\":0}}" "5eShapedCompanion 1597589149122 INFO : Summary of adding UAWarlock entity group to the lookup: {\"errors\":0,\"entityGroupName\":{},\"classes\":{\"withErrors\":0,\"deleted\":0,\"patched\":1,\"added\":0}}" "5eShapedCompanion 1597589149123 INFO : -=> ShapedScripts v10.0.1 <=-" "-=> GroupCheck v1.12 <=-" "5eShapedCompanion 1597589153709 INFO : Detected sheet version as : 19.3.0" "5eShapedCompanion 1597589153710 INFO : Configuration state: {\"version\":4.7,\"config\":{\"genderPronouns\":[{\"matchPattern\":\"^f$|female|girl|woman|feminine\",\"nominative\":\"she\",\"accusative\":\"her\",\"possessive\":\"her\",\"reflexive\":\"herself\"},{\"matchPattern\":\"^m$|male|boy|man|masculine\",\"nominative\":\"he\",\"accusative\":\"him\",\"possessive\":\"his\",\"reflexive\":\"himself\"},{\"matchPattern\":\"^n$|neuter|none|construct|thing|object\",\"nominative\":\"it\",\"accusative\":\"it\",\"possessive\":\"its\",\"reflexive\":\"itself\"}],\"logLevel\":\"INFO\",\"tokenSettings\":{\"number\":false,\"bar1\":{\"attribute\":\"HP\",\"max\":true,\"link\":false,\"showPlayers\":false},\"bar2\":{\"attribute\":\"speed\",\"max\":false,\"link\":true,\"showPlayers\":false},\"bar3\":{\"attribute\":\"\",\"max\":false,\"link\":false,\"showPlayers\":false},\"aura1\":{\"radius\":\"\",\"color\":\"#FFFF99\",\"square\":false},\"aura2\":{\"radius\":\"\",\"color\":\"#59e594\",\"square\":false},\"light\":{\"radius\":\"\",\"dimRadius\":\"\",\"otherPlayers\":false,\"hasSight\":true,\"angle\":360,\"losAngle\":360,\"multiplier\":1},\"showName\":true,\"showNameToPlayers\":false,\"showAura1ToPlayers\":true,\"showAura2ToPlayers\":true,\"monsterTokenName\":\"\"},\"newCharSettings\":{\"sheetOutput\":\"***default***\",\"deathSaveOutput\":\"***default***\",\"initiativeOutput\":\"***default***\",\"showNameOnRollTemplate\":\"***default***\",\"rollOptions\":\"***default***\",\"initiativeRoll\":\"\",\"initiativeToTracker\":0,\"breakInitiativeTies\":false,\"showTargetAC\":false,\"showTargetName\":false,\"autoAmmo\":true,\"autoRevertAdvantage\":false,\"houserules\":{\"mediumArmorMaxDex\":2,\"saves\":{\"useCustomSaves\":false,\"useAverageOfAbilities\":false,\"fortitude\":{\"fortitudeStrength\":false,\"fortitudeDexterity\":false,\"fortitudeConstitution\":false,\"fortitudeIntelligence\":false,\"fortitudeWisdom\":false,\"fortitudeCharisma\":false},\"reflex\":{\"reflexStrength\":false,\"reflexDexterity\":false,\"reflexConstitution\":false,\"reflexIntelligence\":false,\"reflexWisdom\":false,\"reflexCharisma\":false},\"will\":{\"willStrength\":false,\"willDexterity\":false,\"willConstitution\":false,\"willIntelligence\":false,\"willWisdom\":false,\"willCharisma\":false},\"savingThrowsHalfProf\":false},\"baseDC\":\"***default***\",\"expertiseAsAdvantage\":false,\"inspirationMultiple\":false,\"criticalDamageHouserule\":\"***default***\",\"proficiencyDice\":false,\"psionics\":false,\"customClasses\":false,\"honorToggle\":false,\"sanityToggle\":false,\"hitPointsRecoveredOnALongRest\":\"***default***\",\"hitDiceRecoveredOnALongRest\":\"***default***\"},\"tab\":\"***default***\",\"tokenActions\":{\"initiative\":false,\"abilityChecks\":null,\"advantageTracker\":null,\"savingThrows\":null,\"attacks\":null,\"statblock\":false,\"traits\":null,\"actions\":null,\"reactions\":null,\"legendaryActions\":null,\"lairActions\":null,\"regionalEffects\":null,\"rests\":false,\"spells\":false,\"showRecharges\":false,\"classFeatures\":null,\"feats\":null,\"racialTraits\":null},\"textSizes\":{\"spellsTextSize\":\"text\",\"abilityChecksTextSize\":\"text\",\"savingThrowsTextSize\":\"text\"},\"hide\":{\"hideAttack\":\"***default***\",\"hideDamage\":\"***default***\",\"hideAbilityChecks\":\"***default***\",\"hideSavingThrows\":\"***default***\",\"hideSavingThrowDC\":\"***default***\",\"hideSavingThrowFailure\":\"***default***\",\"hideRecharge\":\"***default***\",\"hideFreetext\":\"***default***\",\"hideContent\":\"***default***\"},\"applyToAll\":false,\"hitDiceOutput\":\"***default***\",\"display\":{\"showPassiveSkills\":false,\"showWeight\":\"***default***\",\"showEmote\":false,\"showFreetext\":false,\"showFreeform\":false,\"showDiceModifiers\":false,\"showCritRange\":false,\"extraOnACrit\":false},\"measurementSystems\":{\"distanceSystem\":\"***default***\",\"weightSystem\":\"***default***\"},\"automaticHigherLevelQueries\":\"***default***\",\"automaticallyExpendSpellResources\":true,\"automaticallyRollDamageForAttacks\":\"***default***\",\"automaticallyRollDamageForSavingThrows\":\"***default***\"},\"advTrackerSettings\":{\"showMarkers\":false,\"ignoreNpcs\":false,\"advantageMarker\":\"green\",\"disadvantageMarker\":\"red\",\"output\":\"silent\"},\"sheetEnhancements\":{\"rollHPOnDrop\":true,\"autoHD\":true,\"autoTraits\":true,\"turnRecharges\":false,\"ammoRecovery\":false},\"defaultGenderIndex\":2,\"variants\":{\"rests\":{\"longRestHDRecovery\":0.5,\"longRestHPRecovery\":1}}}}" "5eShapedCompanion 1597589475309 ERROR : TypeError: Cannot read property 'timeoutId' of undefined" "5eShapedCompanion 1597589475312 ERROR : TypeError: Cannot read property 'timeoutId' of undefined     at resolvePending (apiscript.js:8399:31)     at apiscript.js:8413:19     at handlerWrapper (apiscript.js:9243:33)     at apiscript.js:9159:82     at Array.forEach (<anonymous>)     at apiscript.js:9159:63     at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)     at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)     at TrackedObj.set (/home/node/d20-api-server/api.js:1055:14)     at updateLocalCache (/home/node/d20-api-server/api.js:1345:18)" API sandbox shutdown due to campaign inactivity.