scratch-gui: Raspberry Pi - Stage fails to load

Expected Behavior

When Scratch UI is opened the default sprite appears on the stage.

Actual Behavior

The default sprite doesnt appear and the stage is blank

Steps to Reproduce

Open llk.github.io/scratch-gui on a Raspbery Pi running Raspbian Stretch

Operating System and Browser

Raspberry Pi Raspbian Stretch Chromium - Version 60.0.3112.89 (Developer Build) Built on Ubuntu 14.04, running on Raspbian 9.1 (32-bit)

Developer mode noted 3 errors while loading:

raven.js:55 You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.
a.(anonymous function) @ raven.js:55
o @ lib.min.js:51
(anonymous) @ lib.min.js:51
(anonymous) @ lib.min.js:51
t @ lib.min.js:46
(anonymous) @ lib.min.js:61
t @ lib.min.js:46
e.exports.t.a @ lib.min.js:61
t @ lib.min.js:46
e.exports.e.exports @ lib.min.js:46
t @ lib.min.js:46
e.exports.t.a @ lib.min.js:61
t @ lib.min.js:46
(anonymous) @ lib.min.js:56
t @ lib.min.js:46
e.exports.Object.defineProperty.value @ lib.min.js:51
t @ lib.min.js:46
e.exports.Object.defineProperty.value @ lib.min.js:51
t @ lib.min.js:46
(anonymous) @ lib.min.js:46
(anonymous) @ lib.min.js:46
t @ lib.min.js:1
(anonymous) @ lib.min.js:100
t @ lib.min.js:1
(anonymous) @ lib.min.js:35
t @ lib.min.js:1
123 @ index.jsx:5
t @ lib.min.js:1
window.webpackJsonp @ lib.min.js:1
(anonymous) @ gui.js:1
(index):1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Promise (async)
Blockly.WorkspaceAudio.preload @ lib.min.js:79
l @ lib.min.js:79
a @ lib.min.js:79
d @ raven.js:416
(index):1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Promise (async)
Blockly.WorkspaceAudio.preload @ lib.min.js:79
l @ lib.min.js:79
a @ lib.min.js:79
d @ raven.js:416

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

I 'm bringing some cool news!

I 'm currently running Scratch 3.0 preview on a Raspberry Pi 3 and Chromium. I let the cat glide forever to random position. It is eating up about 50% of the CPU but the movement is almost smooth (some glitches here and there but they are not annoying at all).

My steps to make it work (I don’t know if all of them are required):

  1. Ran rpi-update to update to latest firmware
  2. Enabled OpenGL (Full KMS) in raspi-config
  3. Removed --disable-gpu-compositing from /etc/chromium-browser/customizations/00-rpi-var (kudos Wayne Keenan
  4. Overrid the software rendering list in chrome://flags (kudos kusti8 )
  5. Visited https://preview.scratch.mit.edu and saw the feline!

It’s disabled because GPU compositing caused a crash when playing YouTube videos when using Eric’s driver. (As of last August - the crash may or may not have been fixed by now…)