TurboWarp/desktop

Custom extension crashes when loaded using an URL and that URL is different than the last time it was loaded.

I-D-K-L-O-L opened this issue · 7 comments

I inserted a custom extension using the extension's URL (https://anonymous-cat1.github.io/WorkingTurboGPT/extension.js) , and it was name WorkingTurboGPT. However, the person who made that extension, edited the name to be penguinGPT. Now I keep getting the same two errors and the editor shows no blocks. "error: IR: Unknown input:" and "Error: IR: Unknown stacked block:" (The blocks are the blocks from the extension that was edited.) Now I'm completely unable to use my program, I have tried de-corrupting it and all sorts of stuff but the same error stays.

(sorry for bad english or incorrect grammar)

This is the extension creator's fault, for changing the extension's ID (which is separate from its URL).
You can probably fix this manually by editing the sb3's project.json to replace WorkingTurboGPT with penguinGPT.

Anonymous-cat1/WorkingTurboGPT@76e23b9

complain to them for breaking your project.

or find the old version in their commit history and load that as text

you gotta understand, that's the risk with custom extensions, we literally can't help you when they break

you gotta understand, that's the risk with custom extensions, we literally can't help you when they break

Yeah I understand, but it'd be nice if there were a debugger or a turbowarp at least removing blocks that don't work instead of not showing any code at all😅
Thanks for answering though

or find the old version in their commit history and load that as text

Thanks that actually worked!

Yeah, I'm sorry about that. The update was meant as a 'band-aid' fix for WTGPT on PenguinMod. (In other words, I replaced it with PenguinGPT (by Ruby Team). so projects with it already on PenguinMod would get the update)

I know ya'll already solved the issue but, the old version of the extension is still available at: https://anonymous-cat1.github.io/WorkingTurboGPT/oldextension.js