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

Custom Sheet Sandbox Problems

1595381199
Finderski
Pro
Sheet Author
Compendium Curator
Working on a sheet for the Git repo and trying to test a sheet.json but I keep getting this error message: Can somebody help me, please. I'd like to get this done and tested in time for this weekend's pull. I get that message even with the bare minimum of JSON. I've even run the JSON through JSLINT and get no errors.  
1595382672

Edited 1595382827
Finderski
Pro
Sheet Author
Compendium Curator
Same error in Firefox Firefox version: 78.0.2 (64bit) OS: macOS Catalina No extension installed Log: Some cookies are misusing the recommended “sameSite“ attribute&nbsp; 6 &nbsp; This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. &nbsp; 8070122 JQMIGRATE: Migrate is installed with logging active, version 3.0.0 &nbsp; v2.js :57:382 JQMIGRATE: jQuery.expr[":"] is now jQuery.expr.pseudos &nbsp; v2.js :57:129 console.trace() &nbsp; v2.js :57:178 &nbsp;&nbsp;&nbsp;&nbsp; i &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; get &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 178 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 178 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 178 Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. &nbsp; v2.js :51:25168 unreachable code after return statement &nbsp; browse.js :660:3 Logged in - checking Account GDPR status: true &nbsp; 8070122 :371:11 Ignoring unsupported entryTypes: paint. &nbsp; 8070122 :463:14586 No valid entryTypes; aborting registration. &nbsp; 8070122 :463:14586 Ignoring unsupported entryTypes: largest-contentful-paint. &nbsp; 8070122 :463:14620 No valid entryTypes; aborting registration. &nbsp; 8070122 :463:14620 window.controllers/Controllers is deprecated. Do not use it for UA detection. &nbsp; ace.js :1:18446 customcharsheet_json &nbsp; 8070122 :1889:10 JQMIGRATE: jQuery.fn.bind() is deprecated &nbsp; v2.js :57:129 console.trace() &nbsp; v2.js :57:178 &nbsp;&nbsp;&nbsp;&nbsp; i &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; bind &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; initialize &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 307 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 952 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 1182 &nbsp;&nbsp;&nbsp;&nbsp; each &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 50 &nbsp;&nbsp;&nbsp;&nbsp; each &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 50 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 1180 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/sheetsandbox/settings/8070122" rel="nofollow">https://app.roll20.net/sheetsandbox/settings/8070122</a> : 2480 JQMIGRATE: jQuery.fn.delegate() is deprecated &nbsp; v2.js :57:129 console.trace() &nbsp; v2.js :57:178 &nbsp;&nbsp;&nbsp;&nbsp; i &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; delegate &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 57 &nbsp;&nbsp;&nbsp;&nbsp; initialize &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 475 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 952 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 1182 &nbsp;&nbsp;&nbsp;&nbsp; each &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 50 &nbsp;&nbsp;&nbsp;&nbsp; each &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 50 &nbsp;&nbsp;&nbsp;&nbsp; spectrum &nbsp; <a href="https://app.roll20.net/js/spectrum/spectrum.js" rel="nofollow">https://app.roll20.net/js/spectrum/spectrum.js</a> : 1180 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/sheetsandbox/settings/8070122" rel="nofollow">https://app.roll20.net/sheetsandbox/settings/8070122</a> : 2480 Request to access cookie or storage on “&lt;URL&gt;” was blocked because it came from a tracker and content blocking is enabled.&nbsp; 2 &nbsp; Uncaught&nbsp; ReferenceError:&nbsp; prettysheets is not defined &nbsp;&nbsp;&nbsp;&nbsp; getCurrentSheetInfo &nbsp; <a href="https://app.roll20.net/sheetsandbox/settings/8070122" rel="nofollow">https://app.roll20.net/sheetsandbox/settings/8070122</a> : 1562 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; &nbsp; <a href="https://app.roll20.net/sheetsandbox/settings/8070122" rel="nofollow">https://app.roll20.net/sheetsandbox/settings/8070122</a> : 1687 &nbsp;&nbsp;&nbsp;&nbsp; dispatch &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 51 &nbsp;&nbsp;&nbsp;&nbsp; handle &nbsp; <a href="https://app.roll20.net/assets/v2.js?1594136624" rel="nofollow">https://app.roll20.net/assets/v2.js?1594136624</a> : 51 &nbsp;&nbsp;&nbsp;&nbsp; nrWrapper &nbsp; <a href="https://app.roll20.net/sheetsandbox/settings/8070122" rel="nofollow">https://app.roll20.net/sheetsandbox/settings/8070122</a> : 463 8070122 :1562:2
1595385642
Finderski
Pro
Sheet Author
Compendium Curator
I also get this error when I created a new sandbox game (before I even have HTML, CSS, or Translation.JSON files associated with the game).
1595388387
Finderski
Pro
Sheet Author
Compendium Curator
UPDATE The Aaron, resident genius that he is, gave a workaround, for those suffering the same issue... Open the Javascript console and paste this into it: let prettysheets = {}; You can then click the save button and it will save the Sheet.json.
1595412748
Finderski
Pro
Sheet Author
Compendium Curator
UPDATE The above work around will work the first time you load/save a sheet.json file. After that, if you leave any of the fields blank and try to save, you get this error message: However, filling in all the fields will allow a save to occur again. &nbsp;This is not how this should work, since those are settings, meaning some people may not want all the settings checked. For clarity, this will NOT &nbsp;allow a save: And this WILL allow a save (again, still need to use the above workaround):
Hey&nbsp;Finderski -&nbsp; I've sent this off to dev to further investigate and determine what might be going on. I'll keep you posted once we know more. Thanks for letting us know!
1595438290
Finderski
Pro
Sheet Author
Compendium Curator
Awesome. Thanks. &nbsp;
1596210554
Finderski
Pro
Sheet Author
Compendium Curator
Any update on this?
1596246272
Andreas J.
Forum Champion
Sheet Author
Translator
Finderski said: Any update on this? Did the Tuesday update do nothing? <a href="https://app.roll20.net/forum/post/9009986/release-note-for-july-28-2020" rel="nofollow">https://app.roll20.net/forum/post/9009986/release-note-for-july-28-2020</a> We’ve updated the Custom Sheet Sandbox to clear out console errors.
1596251588
Finderski
Pro
Sheet Author
Compendium Curator
Awesome! Missed that. It does seem to be working now...with a new issue...things we set to have a default value (at least checkboxes) don't set with a default value...but I'll open report that separately. Thanks, Andreas.