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

API Script halted again

1424256165

Edited 1424256217
Gen Kitty
Forum Champion
In the middle of a game I'm not the GM of, Powercard script halted again with no errors reported by the GM. All I know to do is keep reporting this. Here's the weblog, we're over three hours in at this point so I'm sure it's massively spammy. (Edited to add: Huh, I'm seeing error messages in there, this should be useful?) "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "select" app.js:18 "Switch mode to select" app.js:18 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Reorder by ZORDER" app.js:26 "Updating character sheet values" app.js:29 "Reorder by ZORDER" app.js:26 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "select" app.js:18 "Switch mode to select" app.js:18 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Show Character View Dialog!" app.js:29 "Render character view" app.js:29 "Redoing charsheet html" app.js:29 "476ms to end of html" app.js:29 "Updating character sheet values" app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "Took 556ms" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "measure" app.js:18 "Switch mode to measure" app.js:18 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Reorder by ZORDER" app.js:26 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "select" app.js:18 "Switch mode to select" app.js:18 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "select" app.js:18 "Switch mode to select" app.js:18 "Reorder by ZORDER" app.js:26 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Reorder by ZORDER" app.js:26 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Reorder by ZORDER" app.js:26 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Reorder by ZORDER" app.js:26 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Finished after going 2 levels deep." app.js:33 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "Took 318ms" app.js:29 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "Finished after going 2 levels deep." app.js:33 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Reorder by ZORDER" app.js:26 "Finished after going 2 levels deep." app.js:33 "Updating character sheet values" app.js:29 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Player -JXQj-62lGMT4zr6eXI2 is offline..." app.js:27 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "select" app.js:18 "Switch mode to select" app.js:18 "Finished after going 2 levels deep." app.js:33 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Player -Jg9dysQFeYzcsJz9R64 is offline..." app.js:27 "Finished after going 2 levels deep." app.js:33 "Adding myself before -JgkvoMKiIZa6BmqolrC" app.js:27 "Show Character View Dialog!" app.js:29 "Render character view" app.js:29 "Redoing charsheet html" app.js:29 "566ms to end of html" app.js:29 "Updating character sheet values" app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined Stack trace: d20.models.Character&lt;.autoCalcFormula@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:30:3512</a> d20.models.CharacterView&lt;._updateSheetValues/&lt;@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:21537</a> .each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:14475</a> p.prototype.each@ <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js:2:11149</a> d20.models.CharacterView&lt;._updateSheetValues@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/app.js?1424207692:29:20720</a> k.debounce/&lt;/n@ <a href="https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net/assets/base.js?1409800079:1:7634</a> app.js:29 "Took 661ms" app.js:29 "Finished after going 2 levels deep." app.js:33 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Player -Jg9dysQFeYzcsJz9R64 is offline..." app.js:27 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Adding myself before -JgkvoMKiIZa6BmqolrC" app.js:27 "Player -Jf6uaP9yamxZNOGnkKJ is offline..." app.js:27 "Updating character sheet values" app.js:29 "window resize" app.js:36 "Final set zoom!" app.js:23 Array [ 1296, 860 ] app.js:23 "UPDATE GL SIZE!" app.js:23 "Final set zoom!" app.js:23 Array [ 1296, 860 ] app.js:23 "UPDATE GL SIZE!" app.js:23 "Debounced init page!" app.js:23 "init active page!" app.js:28 "Updating character sheet values" app.js:29 "Finished after going 2 levels deep." app.js:33 "Updating character sheet values" app.js:29
1424257840
Gen Kitty
Forum Champion
And then about 30 minutes and a map change later, the script resumes working all on its own. x.x
1424259696
Gen Kitty
Forum Champion
... and another 30 minutes and two map changes and it halts again
1424260978
Gen Kitty
Forum Champion
Final interesting wrinkle: Someone used their powercard'd init macro and the &{tracker} part worked, even though nothing was displayed in chat. By next week, I will have figured out how to turn on logging for the web console and will be able to deliver a full session log, from page-loading. That has to be useful in diagnosing this, yeah?
The tracker will definitely work since it triggers off the chat being sent to the window in the initial instance, not when the powercard is sent.
1424276001
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
GenKitty, I'm seeing the below in your log: "ERROR parsing formula: undefined" app.js:29 TypeError: formula is undefined It's possible there was something wrong with one of the powercard macros someone was trying to use that caused it to become unresponsive.
1424295391
Gen Kitty
Forum Champion
That wouldn't entirely surprise me. But why would that break things so badly that resaving the script doesn't clear the errors? Also, the powercards will be working fine for a combat, we leave combat, change maps, and then we'll discover the script has halted when the other player's init macro doesn't pop into chat. I'll get the macros from the other player in the game and carefully go through all of them to see if either of us have faulty macros. This also means I need to go through the macros in my 4e game (where I GM) to figure out if that's the issue *there*. Iy yi yi.