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

Macros no longer working - debug says it can't find the 5e-themed template (default)

Hello all, For some reason all of the macro's that i've tested have stopped working.  I've pulled up the debug screen to see any error messages and this is what i'm seeing: Finished after going 2 levels deep. app.js?1571800986:559 Begin processing op! app.js?1571800986:559 Levels deep: 0 app.js?1571800986:559 Finished 0 app.js?1571800986:559 Levels deep: 0 app.js?1571800986:559 Inline rolls complete! app.js?1571800986:559 Didn't find a roll template called '5e-shaped' d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 h @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ firebase.2.4.0.js:203 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 jquery-1.9.1.js:4421 Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default] {{name=Treasure Hoard     at Function.Sizzle.error (jquery-1.9.1.js:4421)     at tokenize (jquery-1.9.1.js:5076)     at select (jquery-1.9.1.js:5460)     at Function.Sizzle [as find] (jquery-1.9.1.js:3998)     at init.find (jquery-1.9.1.js:5576)     at jQuery.fn.init.init (jquery-1.9.1.js:196)     at new jQuery.fn.init (jquery.migrate.js:211)     at jQuery (jquery-1.9.1.js:62)     at Object.d20.textchat.incoming (app.js?1571800986:559)     at a (app.js?1571800986:559) now i have no idea how this has happened or what i need to do to rectify it so i'm praying that someone smarter and more clued up on all things Roll20 may be able to help me here.
Hello laurcair, I'm sorry to hear that you're having issues with macros no longer working. To rule out possible issue,  please carefully work through these steps of our guide to  Solving Technical Issues : Step 1: Make sure to use the right browser Please check if these issues persist when using both Chrome  and  Firefox. Step 2: Ensure that there are no extensions/addons interfering with Roll20 Please disable  all  add-ons/extensions. Step 3: Clear your cache If none of the above succeeds, please thoroughly work through all of the requested information in  Step 4 .  (Don't forget the complete Console Log! Thank you!
1572035084

Edited 1572035147
Ziechael
Forum Champion
Sheet Author
API Scripter
Is the game still using the 5e Shaped sheet? If the sheet has changed then the macros that rely on that sheets templates will no longer work. If so, it might be worth posting one of your macros in case something has crept into them and broken them since testing?!
1572035400
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Is this a new campaign? It looks like you are trying to use the Shaped sheet. Verify that this is indeed the sheet that has been chosen for your campaign on the Campaign Settings Page. If you have manually uploaded and installed the Shaped sheet, try re-installing from the original, just in case of corruption. Remember to press the Raw button on the sheet's github source, to ensure yo udon't copy over any bad characters.
1572035421
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Sniped! :)
Hello all thank you for coming back to me so quickly on this. Rainflame,&nbsp; I had tried all of those 3 things before i posted.&nbsp;&nbsp; Ziechael said: Is the game still using the 5e Shaped sheet? If the sheet has changed then the macros that rely on that sheets templates will no longer work. If so, it might be worth posting one of your macros in case something has crept into them and broken them since testing?! the game has always used the default roll20 5e stuff (see below image)&nbsp; i've never changed it. Macro example all which worked beforehand /w gm [[1t[LootEncounter]]] /w gm &amp;{template:default} {{name=LootGenerator}} {{Individual Treasure = |[Individual-Loot-CR0-4](! #IndividualLootCR0-4)[IndividualLootCR5-10](! #IndividualLootCR5-10) [IndividualLootCR11-16](! #IndividualLootCR11-16)[IndividualLootCR17-20](! #IndividualLootCR17-20)}} keithcurtis said: Is this a new campaign? It looks like you are trying to use the Shaped sheet. Verify that this is indeed the sheet that has been chosen for your campaign on the Campaign Settings Page. If you have manually uploaded and installed the Shaped sheet, try re-installing from the original, just in case of corruption. Remember to press the Raw button on the sheet's github source, to ensure yo udon't copy over any bad characters. I've been using the campaign for about 3-4 months now.for a home game and not had any issues until recently.&nbsp; I wouldn't know how to manually load a new sheet style as the preloaded ones has always worked. The code from the moment i logged in shows: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-GAZNqSmAeHBZh0xGh2G61uKmEJb1nYjDH/oSLRSHaA8='), or a nonce ('nonce-...') is required to enable inline execution. app.roll20.net/:13 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-JeWbh0DatVbnZhQNBSXTdn1mQkTkdb72YVLCn8c2k88='), or a nonce ('nonce-...') is required to enable inline execution. jquery.migrate.js:20 JQMIGRATE: Logging is active app.roll20.net/:5411 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-vileAyXucIHIT+3pbOzFP62jSSQqBYQ/DZ/WZAa5v4Y='), or a nonce ('nonce-...') is required to enable inline execution. app.js:541 70 app.js:543 TOUCH SUPPORTED: false app.js:543 USING WEBGL ACCELERATION... app.js:543 WEBGL STARTUP SUCCESS app.js:545 Custom Sheet Translation app.js?1571800986:536 select app.js?1571800986:536 Switch mode to select app.js?1571800986:557 Initializing new dice engine with randomness... app.js?1571800986:557 Using random entropy app.js?1571800986:560 Compiling sheet... app.js?1571800986:560 Found rolltemplate: simple app.js?1571800986:560 Found rolltemplate: atk app.js?1571800986:560 Found rolltemplate: dmg app.js?1571800986:560 Found rolltemplate: atkdmg app.js?1571800986:560 Found rolltemplate: desc app.js?1571800986:560 Found rolltemplate: spell app.js?1571800986:560 Found rolltemplate: traits app.js?1571800986:560 Found rolltemplate: npc app.js?1571800986:560 Found rolltemplate: npcatk app.js?1571800986:560 Found rolltemplate: npcdmg app.js?1571800986:560 Found rolltemplate: npcaction app.js?1571800986:560 Found rolltemplate: mancerroll app.js?1571800986:560 Found rolltemplate: mancerhproll app.js?1571800986:560 Found Charactermancer Repeating Section: topbar app.js?1571800986:560 Found Charactermancer Repeating Section: leveler-topbar app.js?1571800986:560 Found Charactermancer Repeating Section: row app.js?1571800986:560 Found Charactermancer Repeating Section: utilityrow app.js?1571800986:560 Found Charactermancer Repeating Section: choose app.js?1571800986:560 Found Charactermancer Repeating Section: custom-proficiency app.js?1571800986:560 Found Charactermancer Repeating Section: custom-trait app.js?1571800986:560 Found Charactermancer Repeating Section: spell-holder app.js?1571800986:560 Found Charactermancer Repeating Section: spell-item app.js?1571800986:560 Found Charactermancer Repeating Section: asi-row app.js?1571800986:560 Found Charactermancer Repeating Section: hpbylevel app.js?1571800986:560 Found Charactermancer Template: l1-welcome app.js?1571800986:560 Found Charactermancer Template: l1-race app.js?1571800986:560 Found Charactermancer Template: l1-class app.js?1571800986:560 Found Charactermancer Template: l1-abilities app.js?1571800986:560 Found Charactermancer Template: l1-background app.js?1571800986:560 Found Charactermancer Template: l1-equipment app.js?1571800986:560 Found Charactermancer Template: l1-spells app.js?1571800986:560 Found Charactermancer Template: l1-feat app.js?1571800986:560 Found Charactermancer Template: l1-bio app.js?1571800986:560 Found Charactermancer Template: l1-summary app.js?1571800986:560 Found Charactermancer Template: final app.js?1571800986:560 Found Charactermancer Template: lp-welcome app.js?1571800986:560 Found Charactermancer Template: lp-levels app.js?1571800986:560 Found Charactermancer Template: lp-choices app.js?1571800986:560 Found Charactermancer Template: lp-asi app.js?1571800986:560 Found Charactermancer Template: lp-spells app.js?1571800986:560 Found Charactermancer Template: lp-summary app.js?1571800986:560 Found Charactermancer Template: lp-spellchoice app.js?1571800986:560 Found webworker script app.js?1571800986:560 Finding sheet rolls... app.js?1571800986:561 Including compendium template css. app.js?1571800986:563 window resize app.js?1571800986:543 Final set zoom! app.js?1571800986:542 UPDATE GL SIZE! app.js?1571800986:543 Final set zoom! tutorial_tips.js:7 tuts loaded 9Mixed Content: The page at '&lt;URL&gt;' was loaded over HTTPS, but requested an insecure image '&lt;URL&gt;'. This content should also be served over HTTPS. app.js?1571800986:563 window resize app.js?1571800986:543 Final set zoom! app.js?1571800986:542 UPDATE GL SIZE! app.js?1571800986:543 Final set zoom! app.js?1571800986:551 Final page load. app.js?1571800986:563 Refresh jukebox List! sheetsandboxworker.js?1572037224109:682 Starting up WEB WORKER app.js?1571800986:551 Scan for new plays! app.js?1571800986:549 Auth'ed. app.js?1571800986:549 Go post auth! app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:549 initial setup app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:547 T.i&nbsp;{attributes: {…}, _escapedAttributes: {…}, cid: "c0", changed: {…}, _silent: {…},&nbsp;…} app.js?1571800986:555 refershing page listings! app.js?1571800986:560 Refresh Journal List! VM1787:3 Uncaught TypeError: Cannot read property 'id' of undefined at Object.eval (eval at jqotec (base.js?1569951309:20), &lt;anonymous&gt;:3:76) at HTMLScriptElement.&lt;anonymous&gt; (base.js?1569951309:20) at Function.each (jquery-1.9.1.js:648) at jQuery.fn.init.each (jquery-1.9.1.js:270) at jQuery.fn.init.jqote (base.js?1569951309:20) at Object.d20.journal.refreshSpeakingAsOptions (app.js?1571800986:560) at Object.d20.journal.refreshJournalList (app.js?1571800986:560) at app.js?1571800986:560 eval @ VM1787:3 (anonymous) @ base.js?1569951309:20 each @ jquery-1.9.1.js:648 each @ jquery-1.9.1.js:270 jqote @ base.js?1569951309:20 d20.journal.refreshSpeakingAsOptions @ app.js?1571800986:560 d20.journal.refreshJournalList @ app.js?1571800986:560 (anonymous) @ app.js?1571800986:560 setTimeout (async) i @ app.js?1571800986:560 d20.journal.refreshJournalList @ app.js?1571800986:560 (anonymous) @ app.js?1571800986:549 trigger @ base.js?1569951309:7 change @ base.js?1569951309:7 set @ base.js?1569951309:7 (anonymous) @ app.js?1571800986:549 (anonymous) @ firebase.2.4.0.js:201 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 app.js?1571800986:549 Got players value... app.js?1571800986:550 joining game... app.js?1571800986:548 Player -Liy7uA54clWBrC9Wsgx is offline... app.js?1571800986:548 Global Volume: 100=1 app.js?1571800986:548 Player -Liy8C9wmE4IjxzEcGho is offline... app.js?1571800986:550 Deferred finish joining... app.js?1571800986:541 Firebase Online 34app.js?1571800986:547 Full load page! app.js?1571800986:549 We have 39 pages app.js?1571800986:551 Scan for new plays! app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:549 handle page changes app.js?1571800986:549 false app.js?1571800986:550 init active page! app.js?1571800986:547 activate page! app.js?1571800986:547 FULLY ACTIVATE VIEWS FOR PAGE. app.js?1571800986:559 Didn't find a roll template called '5e-shaped' d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 (anonymous) @ app.js?1571800986:559 c @ firebase.2.4.0.js:240 (anonymous) @ firebase.2.4.0.js:201 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 jquery-1.9.1.js:4421 Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default] {{name=Treasure Hoard at Function.Sizzle.error (jquery-1.9.1.js:4421) at tokenize (jquery-1.9.1.js:5076) at select (jquery-1.9.1.js:5460) at Function.Sizzle [as find] (jquery-1.9.1.js:3998) at init.find (jquery-1.9.1.js:5576) at jQuery.fn.init.init (jquery-1.9.1.js:196) at new jQuery.fn.init (jquery.migrate.js:211) at jQuery (jquery-1.9.1.js:62) at Object.d20.textchat.incoming (app.js?1571800986:559) at a (app.js?1571800986:559) Sizzle.error @ jquery-1.9.1.js:4421 tokenize @ jquery-1.9.1.js:5076 select @ jquery-1.9.1.js:5460 Sizzle @ jquery-1.9.1.js:3998 find @ jquery-1.9.1.js:5576 init @ jquery-1.9.1.js:196 jQuery.fn.init @ jquery.migrate.js:211 jQuery @ jquery-1.9.1.js:62 d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 (anonymous) @ app.js?1571800986:559 c @ firebase.2.4.0.js:240 (anonymous) @ firebase.2.4.0.js:201 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 app.js?1571800986:547 Graphics: 0 app.js?1571800986:547 Paths: 0 app.js?1571800986:545 Do refresh link cache! app.js?1571800986:555 refershing page listings! app.js?1571800986:560 Refresh Journal List! app.js?1571800986:560 Search took 70ms app.js?1571800986:547 Reorder by ZORDER 76app.js?1571800986:542 new caster! app.js?1571800986:547 Reorder by ZORDER app.js?1571800986:546 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/thumb.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/thumb.jpg?15623643195</a> to <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195</a> app.js?1571800986:540 Executing swap, new source: <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195</a> app.js?1571800986:547 Reorder by ZORDER 5app.js?1571800986:542 new lamp app.js?1571800986:547 Reorder by ZORDER app.js?1571800986:547 /w gm [[1t[LootEncounter]]] app.js?1571800986:545 139 app.js?1571800986:559 Finished after going 2 levels deep. app.js?1571800986:559 Begin processing op! app.js?1571800986:559 Levels deep: 0 app.js?1571800986:559 Finished 0 app.js?1571800986:559 Levels deep: 0 app.js?1571800986:559 Inline rolls complete! app.js?1571800986:559 Didn't find a roll template called '5e-shaped' d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 h @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ firebase.2.4.0.js:203 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Ob @ firebase.2.4.0.js:221 X.Ob @ firebase.2.4.0.js:259 r @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ base.js?1569951309:6 setTimeout (async) C.delay @ base.js?1569951309:6 C.defer @ base.js?1569951309:6 u @ app.js?1571800986:559 d @ app.js?1571800986:558 h @ app.js?1571800986:559 r @ app.js?1571800986:559 c @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:558 setTimeout (async) (anonymous) @ app.js?1571800986:558 TaskCompletionCallback.taskComplete @ app.js?1571800986:557 (anonymous) @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 TaskCompletionCallback.taskComplete @ app.js?1571800986:557 i @ app.js?1571800986:558 individualRollCallback @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 setTimeout (async) asyncRand @ app.js?1571800986:558 rollDie @ app.js?1571800986:558 doRolls @ app.js?1571800986:558 initiateRolls @ app.js?1571800986:558 process @ app.js?1571800986:558 s @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 a @ app.js?1571800986:559 S @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 C.each.C.forEach @ base.js?1569951309:6 E @ app.js?1571800986:559 A @ app.js?1571800986:559 k @ app.js?1571800986:559 k @ app.js?1571800986:559 d20.textchat.doChatInput @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:547 dispatch @ jquery-1.9.1.js:3074 elemData.handle @ jquery-1.9.1.js:2750 jquery-1.9.1.js:4421 Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default] {{name=Treasure Hoard at Function.Sizzle.error (jquery-1.9.1.js:4421) at tokenize (jquery-1.9.1.js:5076) at select (jquery-1.9.1.js:5460) at Function.Sizzle [as find] (jquery-1.9.1.js:3998) at init.find (jquery-1.9.1.js:5576) at jQuery.fn.init.init (jquery-1.9.1.js:196) at new jQuery.fn.init (jquery.migrate.js:211) at jQuery (jquery-1.9.1.js:62) at Object.d20.textchat.incoming (app.js?1571800986:559) at a (app.js?1571800986:559) Sizzle.error @ jquery-1.9.1.js:4421 tokenize @ jquery-1.9.1.js:5076 select @ jquery-1.9.1.js:5460 Sizzle @ jquery-1.9.1.js:3998 find @ jquery-1.9.1.js:5576 init @ jquery-1.9.1.js:196 jQuery.fn.init @ jquery.migrate.js:211 jQuery @ jquery-1.9.1.js:62 d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 h @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ firebase.2.4.0.js:203 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Ob @ firebase.2.4.0.js:221 X.Ob @ firebase.2.4.0.js:259 r @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ base.js?1569951309:6 setTimeout (async) C.delay @ base.js?1569951309:6 C.defer @ base.js?1569951309:6 u @ app.js?1571800986:559 d @ app.js?1571800986:558 h @ app.js?1571800986:559 r @ app.js?1571800986:559 c @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:558 setTimeout (async) (anonymous) @ app.js?1571800986:558 TaskCompletionCallback.taskComplete @ app.js?1571800986:557 (anonymous) @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 TaskCompletionCallback.taskComplete @ app.js?1571800986:557 i @ app.js?1571800986:558 individualRollCallback @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 (anonymous) @ app.js?1571800986:558 setTimeout (async) asyncRand @ app.js?1571800986:558 rollDie @ app.js?1571800986:558 doRolls @ app.js?1571800986:558 initiateRolls @ app.js?1571800986:558 process @ app.js?1571800986:558 s @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 a @ app.js?1571800986:559 S @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 C.each.C.forEach @ base.js?1569951309:6 E @ app.js?1571800986:559 A @ app.js?1571800986:559 k @ app.js?1571800986:559 k @ app.js?1571800986:559 d20.textchat.doChatInput @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:547 dispatch @ jquery-1.9.1.js:3074 elemData.handle @ jquery-1.9.1.js:2750 app.js?1571800986:547 /w gm &amp;{template:default} {{name=LootGenerator}} {{Individual Treasure = |[Individual-Loot-CR0-4](! #IndividualLootCR0-4)[IndividualLootCR5-10](! #IndividualLootCR5-10) [IndividualLootCR11-16](! #IndividualLootCR11-16)[IndividualLootCR17-20](! #IndividualLootCR17-20)}} app.js?1571800986:545 139 app.js?1571800986:559 Finished after going 2 levels deep. app.js?1571800986:559 Begin processing op! app.js?1571800986:559 Inline rolls complete! app.js?1571800986:559 Didn't find a roll template called '5e-shaped' d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 h @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ firebase.2.4.0.js:203 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Ob @ firebase.2.4.0.js:221 X.Ob @ firebase.2.4.0.js:259 r @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ base.js?1569951309:6 setTimeout (async) C.delay @ base.js?1569951309:6 C.defer @ base.js?1569951309:6 u @ app.js?1571800986:559 d @ app.js?1571800986:558 h @ app.js?1571800986:559 r @ app.js?1571800986:559 c @ app.js?1571800986:559 a @ app.js?1571800986:559 c @ app.js?1571800986:559 a @ app.js?1571800986:559 S @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 C.each.C.forEach @ base.js?1569951309:6 E @ app.js?1571800986:559 A @ app.js?1571800986:559 k @ app.js?1571800986:559 k @ app.js?1571800986:559 d20.textchat.doChatInput @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:547 dispatch @ jquery-1.9.1.js:3074 elemData.handle @ jquery-1.9.1.js:2750 jquery-1.9.1.js:4421 Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default] {{name=Treasure Hoard at Function.Sizzle.error (jquery-1.9.1.js:4421) at tokenize (jquery-1.9.1.js:5076) at select (jquery-1.9.1.js:5460) at Function.Sizzle [as find] (jquery-1.9.1.js:3998) at init.find (jquery-1.9.1.js:5576) at jQuery.fn.init.init (jquery-1.9.1.js:196) at new jQuery.fn.init (jquery.migrate.js:211) at jQuery (jquery-1.9.1.js:62) at Object.d20.textchat.incoming (app.js?1571800986:559) at a (app.js?1571800986:559) Sizzle.error @ jquery-1.9.1.js:4421 tokenize @ jquery-1.9.1.js:5076 select @ jquery-1.9.1.js:5460 Sizzle @ jquery-1.9.1.js:3998 find @ jquery-1.9.1.js:5576 init @ jquery-1.9.1.js:196 jQuery.fn.init @ jquery.migrate.js:211 jQuery @ jquery-1.9.1.js:62 d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 h @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ firebase.2.4.0.js:203 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Ob @ firebase.2.4.0.js:221 X.Ob @ firebase.2.4.0.js:259 r @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 (anonymous) @ base.js?1569951309:6 setTimeout (async) C.delay @ base.js?1569951309:6 C.defer @ base.js?1569951309:6 u @ app.js?1571800986:559 d @ app.js?1571800986:558 h @ app.js?1571800986:559 r @ app.js?1571800986:559 c @ app.js?1571800986:559 a @ app.js?1571800986:559 c @ app.js?1571800986:559 a @ app.js?1571800986:559 S @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:559 C.each.C.forEach @ base.js?1569951309:6 E @ app.js?1571800986:559 A @ app.js?1571800986:559 k @ app.js?1571800986:559 k @ app.js?1571800986:559 d20.textchat.doChatInput @ app.js?1571800986:559 (anonymous) @ app.js?1571800986:547 dispatch @ jquery-1.9.1.js:3074 elemData.handle @ jquery-1.9.1.js:2750 If there's anything else i can do to assist please let me know. Thank you all&nbsp;
1572043575

Edited 1572043650
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The line which said it was looking for the "shaped" template was a red herring. It looks to me like you may have run afoul of HTML Replacements , then. The exclamation, followed by a carriage return followed by a hashtag is an example of what happens when you create a macro using html replacements and then later try to edit it. Try this: /w gm &amp;{template:default} {{name=LootGenerator}} {{Individual Treasure = |[Individual-Loot-CR0-4](!&amp;#13;#IndividualLootCR0-4)[IndividualLootCR5-10](!&amp;#13;#IndividualLootCR5-10) [IndividualLootCR11-16](!&amp;#13;#IndividualLootCR11-16)[IndividualLootCR17-20](!&amp;#13;#IndividualLootCR17-20)}} If that works, be aware that every time you open the macro, the code will substitute again, and you will have to redo the replacements. I would suggest writing such macros as abilities on a Macro Sheet . Abilities do not usually suffer from the same issues.
1572081021

Edited 1572081469
Hi Keith, i'tried pasting that in the the macro and it still didn't work.&nbsp; so i've removed every macro i made to see if i still get any errors when opening up the game and start again building them to see if they actually work.&nbsp; I've also removed all API scripts and this is what i'm left with when i use the console: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-zr4RjNnWk2QmQdy1825GGH7fbEERbk482AZR9qkc9z8='), or a nonce ('nonce-...') is required to enable inline execution. /editor/:13 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-JeWbh0DatVbnZhQNBSXTdn1mQkTkdb72YVLCn8c2k88='), or a nonce ('nonce-...') is required to enable inline execution. jquery.migrate.js:20 JQMIGRATE: Logging is active app.roll20.net/:5410 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-vileAyXucIHIT+3pbOzFP62jSSQqBYQ/DZ/WZAa5v4Y='), or a nonce ('nonce-...') is required to enable inline execution. app.js?1571800986:541 70 app.js?1571800986:543 TOUCH SUPPORTED: false app.js?1571800986:543 USING WEBGL ACCELERATION... app.js?1571800986:543 WEBGL STARTUP SUCCESS app.js?1571800986:545 Custom Sheet Translation app.js?1571800986:536 select app.js?1571800986:536 Switch mode to select app.js?1571800986:557 Initializing new dice engine with randomness... app.js?1571800986:557 Using random entropy app.js?1571800986:560 Compiling sheet... app.js?1571800986:560 Found rolltemplate: 5e-shaped app.js?1571800986:560 Found webworker script app.js?1571800986:560 Finding sheet rolls... app.js?1571800986:561 Including compendium template css. app.js?1571800986:563 window resize app.js?1571800986:543 Final set zoom! app.js?1571800986:542 UPDATE GL SIZE! app.js?1571800986:543 Final set zoom! tutorial_tips.js:7 tuts loaded 5Mixed Content: The page at '&lt;URL&gt;' was loaded over HTTPS, but requested an insecure image '&lt;URL&gt;'. This content should also be served over HTTPS. app.js?1571800986:551 Final page load. app.js?1571800986:563 Refresh jukebox List! sheetsandboxworker.js?1572081396124:682 Starting up WEB WORKER app.js?1571800986:551 Scan for new plays! app.js?1571800986:549 Auth'ed. app.js?1571800986:549 Go post auth! app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:549 initial setup app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:547 T.i&nbsp;{attributes: {…}, _escapedAttributes: {…}, cid: "c0", changed: {…}, _silent: {…},&nbsp;…} app.js?1571800986:555 refershing page listings! app.js?1571800986:560 Refresh Journal List! VM1506:3 Uncaught TypeError: Cannot read property 'id' of undefined at Object.eval (eval at jqotec (base.js?1569951309:20), &lt;anonymous&gt;:3:76) at HTMLScriptElement.&lt;anonymous&gt; (base.js?1569951309:20) at Function.each (jquery-1.9.1.js:648) at jQuery.fn.init.each (jquery-1.9.1.js:270) at jQuery.fn.init.jqote (base.js?1569951309:20) at Object.d20.journal.refreshSpeakingAsOptions (app.js?1571800986:560) at Object.d20.journal.refreshJournalList (app.js?1571800986:560) at app.js?1571800986:560 eval @ VM1506:3 (anonymous) @ base.js?1569951309:20 each @ jquery-1.9.1.js:648 each @ jquery-1.9.1.js:270 jqote @ base.js?1569951309:20 d20.journal.refreshSpeakingAsOptions @ app.js?1571800986:560 d20.journal.refreshJournalList @ app.js?1571800986:560 (anonymous) @ app.js?1571800986:560 setTimeout (async) i @ app.js?1571800986:560 d20.journal.refreshJournalList @ app.js?1571800986:560 (anonymous) @ app.js?1571800986:549 trigger @ base.js?1569951309:7 change @ base.js?1569951309:7 set @ base.js?1569951309:7 (anonymous) @ app.js?1571800986:549 (anonymous) @ firebase.2.4.0.js:201 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 app.js?1571800986:549 Got players value... app.js?1571800986:550 joining game... app.js?1571800986:551 Scan for new plays! app.js?1571800986:548 Player -Liy7uA54clWBrC9Wsgx is offline... app.js?1571800986:548 Global Volume: 100=1 app.js?1571800986:548 Player -Liy8C9wmE4IjxzEcGho is offline... app.js?1571800986:550 Deferred finish joining... app.js?1571800986:541 Firebase Online 34app.js?1571800986:547 Full load page! app.js?1571800986:549 We have 39 pages app.js?1571800986:551 Scan for new plays! app.js?1571800986:563 Refresh jukebox List! app.js?1571800986:549 handle page changes app.js?1571800986:549 false app.js?1571800986:555 refershing page listings! app.js?1571800986:550 init active page! app.js?1571800986:547 activate page! app.js?1571800986:547 FULLY ACTIVATE VIEWS FOR PAGE. app.js?1571800986:547 Graphics: 0 app.js?1571800986:547 Paths: 0 app.js?1571800986:545 Do refresh link cache! app.js?1571800986:555 refershing page listings! app.js?1571800986:560 Refresh Journal List! app.js?1571800986:560 Search took 52ms app.js?1571800986:547 Reorder by ZORDER jquery-1.9.1.js:4421 Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default] {{name=Treasure Hoard at Function.Sizzle.error (jquery-1.9.1.js:4421) at tokenize (jquery-1.9.1.js:5076) at select (jquery-1.9.1.js:5460) at Function.Sizzle [as find] (jquery-1.9.1.js:3998) at init.find (jquery-1.9.1.js:5576) at jQuery.fn.init.init (jquery-1.9.1.js:196) at new jQuery.fn.init (jquery.migrate.js:211) at jQuery (jquery-1.9.1.js:62) at Object.d20.textchat.incoming (app.js?1571800986:559) at a (app.js?1571800986:559) Sizzle.error @ jquery-1.9.1.js:4421 tokenize @ jquery-1.9.1.js:5076 select @ jquery-1.9.1.js:5460 Sizzle @ jquery-1.9.1.js:3998 find @ jquery-1.9.1.js:5576 init @ jquery-1.9.1.js:196 jQuery.fn.init @ jquery.migrate.js:211 jQuery @ jquery-1.9.1.js:62 d20.textchat.incoming @ app.js?1571800986:559 a @ app.js?1571800986:559 r @ base.js?1569951309:6 setTimeout (async) (anonymous) @ base.js?1569951309:6 (anonymous) @ app.js?1571800986:559 c @ firebase.2.4.0.js:240 (anonymous) @ firebase.2.4.0.js:201 gc @ firebase.2.4.0.js:52 cc @ firebase.2.4.0.js:30 dc @ firebase.2.4.0.js:29 h.Kb @ firebase.2.4.0.js:220 h.Ld @ firebase.2.4.0.js:188 Eh.Ld @ firebase.2.4.0.js:178 (anonymous) @ firebase.2.4.0.js:176 yh @ firebase.2.4.0.js:170 La.onmessage @ firebase.2.4.0.js:169 76app.js?1571800986:542 new caster! app.js?1571800986:547 Reorder by ZORDER app.js?1571800986:546 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/thumb.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/thumb.jpg?15623643195</a> to <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195</a> app.js?1571800986:540 Executing swap, new source: <a href="https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/85692668/xg1pcB9eR43n0P_tdSY8rQ/original.jpg?15623643195</a> 5app.js?1571800986:542 new lamp app.js?1571800986:547 Reorder by ZORDER
1572104620
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Sorry, you've exceeded my knowledge base. :/ I can help with macros, and their interaction with sheets, as well as commands with many API scripts, but the console log is out of my wheelhouse. You might need to wait for Rainflame to escalate this to the dev team, or write directly to <a href="mailto:team@roll20.net" rel="nofollow">team@roll20.net</a>. Unless someone more savvy is reading along.
Hi&nbsp;Iaurcair -&nbsp; Would you mind providing me with the name of the game that is experiencing these Macro issues, please? I'll pop in and take a look to see what might be going on here.
Nicholas said: Hi&nbsp;Iaurcair -&nbsp; Would you mind providing me with the name of the game that is experiencing these Macro issues, please? I'll pop in and take a look to see what might be going on here. Hi Nicholas,&nbsp; I've PM'd you that information and a link to the game