ScratchJr-Desktop
ScratchJr-Desktop copied to clipboard
Doesn' t open after upgrading from Ubuntu 20.04 to 22.04
I' ve upgraded my linux version from 20.04 to 22.04 and ScratchJr doesn' t work any more. In fact it opens a window with only the title (scratch) shown and nothing else. After a couple of seconds it closes down. In terminal i receive the following message.
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 (node:23654) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:23654) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [23654:1104/131612.948495:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye. Παγίδα Trace/breakpoint (core dumped)
Any help please?
There is a fork with upgraded version of ScratchJr-Desktop and all its dependencies. Tested and it works great on Ubuntu 22.04. See also https://github.com/jfo8000/ScratchJr-Desktop/issues/44#issuecomment-1368225512 The fork: https://github.com/leonskb4/ScratchJr-Desktop .deb package installation (the newly created package) works too!
I have updated all dependencies to more recent versions and used github actions to create new releases here: https://github.com/JustSch/ScratchJr-Desktop/releases/latest . This should work without issue in ubuntu 22.04