Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Groundhog Day in Chrome

36 views
Skip to first unread message

Max Stephen Russell

unread,
Feb 1, 2025, 8:11:28 PMFeb 1
to Blockly
While experimenting with block customization, with Chrome as my browser, I ended up with an error . . .

Uncaught TypeError: Invalid block definition for type: UV99_999
    at new Block$$module$build$src$core$block (blockly_compressed.js:994:486)
    at new BlockSvg$$module$build$src$core$block_svg (blockly_compressed.js:1242:349)
    at WorkspaceSvg$$module$build$src$core$workspace_svg.newBlock (blockly_compressed.js:1670:444)
    at appendPrivate$$module$build$src$core$serialization$blocks (blockly_compressed.js:193:210)
    at appendInternal$$module$build$src$core$serialization$blocks (blockly_compressed.js:190:436)
    at append$$module$build$src$core$serialization$blocks (blockly_compressed.js:189:89)
    at BlockSerializer$$module$build$src$core$serialization$blocks.load (blockly_compressed.js:624:1028)
    at Object.load$$module$build$src$core$serialization$workspaces [as load] (blockly_compressed.js:419:209)
    at load (serialization.js:30:1)
    at eval (index.js:38:1)

. . . that won't go away, even though I have removed the offending block type, killed the server, rebooted, and even reinstalled the entire sample-app package. I suspect the serialized data, wherever it is, needs to be flushed, but I don't know how to get to it. On the other hand, when I open localhost in Edge, no problem, everything is running as expected.

Would anyone have a suggestion for how I can break out of this doom loop in Chrome?

Thanks very much!

--Steve

Mark Friedman

unread,
Feb 2, 2025, 3:32:57 PMFeb 2
to blo...@googlegroups.com
Steve,

  This looks very similar to the situation that you posted about a couple of weeks ago (in this thread).  I replied with a detailed post (here) describing the reason for the problem, providing a solution and giving guidance for how to avoid the issue in the future.  If the solution I posted there doesn't work, let me know.

  Hope this helps.

-Mark


--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/3e630a7d-6db1-4391-b30e-1b06c4b30a0an%40googlegroups.com.

Max Stephen Russell

unread,
Feb 2, 2025, 4:21:14 PMFeb 2
to Blockly
Hello Mark,

I don't know how I failed to look again at your generously detailed response from the other day, I mean in particular how to clear the zombie in Chrome. Thank you again, and I would say that having to repeat yourself to me was done very kindly and patiently. 😎 

-Steve

Reply all
Reply to author
Forward
0 new messages