I tried this today:
1) Select the Stage.
2) In File menu, choose "Export Sprite", choose a name and then Ok.
And this returns an dialog box saying: "Could not write file: Export failed".
I am trying to find if this is some error I've introduced by changing the source code or if this is the normal behaviour for Scratch. I've tested with Scratch and BYOB and both of them show the same message.
Although there exists the method ScratchStageMorph>>copyForExport, I've found that the problem occurs when storing the stage on file, in this piece of code found in ScriptableScratchMorph>>exportObject:
ObjStream new storeObj: objToExport on: f showProgress: true.
It doesn't seem to me that the problem is here, but I would like to know if you have any thoughts on this and if you experience the same behaviour.
Offline
I haven't tried this, but you can shift-click the R and click "turn error catching off" to get the Squeak error rather than the Scratch dialog box when you do this.
Offline
I am using the Scratch source code provided by MIT, not the official Scratch product, so there is no R here. The method ScratchFrameMorph>>developersMenu, which creates the menu with that option, has no senders, so it doesn't show up here.
Offline
The Squeak error would be more helpful. Try to add the dev menu somewhere so you can turn error catching off, or try it in regular Scratch.
Offline