Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Something in this script is crashing

    Feedback
    2
    5
    188
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tyller_
      Tyller_ Best Forum Helpers last edited by Tyller_

      I have the script 40b53d3e-8e79-4c5e-bf8d-9a434346083c-image.png and SOMETHING in the for loop is crashing, I tested wtih just dragging out the for loop and it doesnt crash, the error it logs is scratch-gui.4249d868093d19d7e7b7.js:1750 Uncaught TypeError: o.toLowerCase is not a function at Scratch3OperatorsBlocks.value (scratch-gui.4249d868093d19d7e7b7.js:1750:2355893) at scratch-gui.4249d868093d19d7e7b7.js:1728:78991 at e.value (scratch-gui.4249d868093d19d7e7b7.js:1750:673208) at e.value (scratch-gui.4249d868093d19d7e7b7.js:1750:668735) at m.value (scratch-gui.4249d868093d19d7e7b7.js:1430:182027) at scratch-gui.4249d868093d19d7e7b7.js:1430:191377 at o (scratch-gui.4249d868093d19d7e7b7.js:1430:190732)

      Edit: I realized I did have lowercase blocks in there, which I have removed and it did work (still dont know hwo they caused it, I removed htem becuase I realized I was broadcsating the world name which when I set the world name the first time I have it lowercased) but now the isuse is it seems to just not fetch from the sheets doc? error is now scratch-playground.050a4bba48f4da8d0101.js:55 GET https://web-agw.creaticode.com/api/block/v1/speech/google/sheet?spreadsheetId=1nzHTgYnCk9AkKvOJFAnnWzQgcFl2-zg4aMq2G6cdIk0&sheet=Messages&range=A1:Z100 500 (Internal Server Error)|

      Edit 2: Okay I have acutally checked the list and that error seems not to mean anything, but I have now found it fills in blank columns and rows, so I can’t just be lazy and say from column A to Z and down a bunch of rows (instead I gotta do column A to whatever and a bunch of rows, it used to just limit filling the table to wherevever there was data and not fill past that I’m pretty sure)

      <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
      </div>

      info-creaticode 1 Reply Last reply Reply Quote 0
      • info-creaticode
        CreatiCode @Tyller_ last edited by

        @tyller_

        Can you please share the project link?

        Tyller_ 1 Reply Last reply Reply Quote 0
        • Tyller_
          Tyller_ Best Forum Helpers @info-creaticode last edited by

          @info-creaticode I seem to have fixed the issue with some adjustments but not the log, I can set the project to shared tmrw when I have some time since its my chatrooms project and I need to adjust it so all sheet blocks reference one variable for the sheet (that way I don’t have random people accessing the sheet)

          <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
          </div>

          info-creaticode 1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @Tyller_ last edited by

            @tyller_

            If you are not ready to publish the project, you can also email the URL to info@creaticode.com. Our admin account can open private projects as well.

            Tyller_ 1 Reply Last reply Reply Quote 0
            • Tyller_
              Tyller_ Best Forum Helpers @info-creaticode last edited by

              @info-creaticode I have sent the email from my school email so it’s different from the one on my creaticode account

              <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
              </div>

              1 Reply Last reply Reply Quote 0
              • First post
                Last post