User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5147
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

STICKY: Bugs and regressions

Sun Oct 06, 2013 6:27 pm

Are you experiencing deviations between the baseline Scratch from MIT and the optimised version that Tim Rowlege is working on, which is shipped with Raspbian? Please let us know here. Thanks!
Director of Communications, Raspberry Pi

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Sun Oct 06, 2013 8:59 pm

When you report a problem please do your best to describe exactly what you did, whether you can reproduce the problem, whether it seems to be a new problem with something that used to work, what you've already tried out to get around it and so on. Every bit of info can save time and get a solution found sooner.
Please don't take offence if you don't get an answer by return of email. The bug fixing team has many assignments and may be off on some other job on some other planet in a galaxy far, far away. Or just asleep.
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html is a really good page to read to learn about effective bug reporting. I commend it to your earnest attention.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

rockspring
Posts: 5
Joined: Sun Oct 13, 2013 3:37 am

Re: Bugs and regressions

Sun Oct 13, 2013 3:51 am

These bugs may be related to the Bananas problem and the upload issue already cited. I will post as three separate in case they are different.

Problem -
Sprite costumes when edited "disappear"

Details -
1. Add a new sprite from file and select "bat 2-a" from the "Animals" folder.
2. Select the costumes tab and edit the image of the bat.
3. In the edit window, select the "pour/fill" tool. Select any color and click inside the black bat image to fill it with another color. Close the edit window.
4. The sprite should now be completely blank. This is reliably repeatable.

Configuration -
R-pi running latest Raspian, Scratch version 1.4 dated 2013-09-16

Why should anyone care?
For young children, under age of 5, getting used to Scratch often starts just by using the environment to create pictures. My pre-schooler spends many a half-hour drawing pictures with icons. After a few months, he has just started using it to script.

Therefore, this picture edit capability is important for younger users.

R-S

rockspring
Posts: 5
Joined: Sun Oct 13, 2013 3:37 am

Re: Bugs and regressions

Sun Oct 13, 2013 3:55 am

These bugs may be related to the Bananas problem and the upload issue already cited. I will post as three separate in case they are different.

Problem -
Save picture of stage no longer works.

Details -
1. After creating a canvas full of sprites, right click in the stage area and select "Save picture of stage." Give the GIF file a name.
2. From Raspian, open the exported GIF file. It will appear black and white, with some sprites dropped and other sprites only in outline form.

Configuration -
R-pi running latest Raspian, Scratch version 1.4 dated 2013-09-16

Why should anyone care?
For younger users, it is nice to create a printout which becomes a "souvenir"

R-S

rockspring
Posts: 5
Joined: Sun Oct 13, 2013 3:37 am

Re: Bugs and regressions

Sun Oct 13, 2013 3:59 am

ok, last one this time. 3 of 3. These bugs may be related to the Bananas problem and the upload issue already cited. I will post as three separate in case they are different.

Problem -
For projects created in the most recent version of Scratch, thumbnails do not render correctly.

Details -
1. Select File ... Open from the menus in scratch.
2. Select File menu ... Open and navigate to a folder with scratch project files in it, preferably from before and after the udpate.
3. Click once on files. Notice that files created pre update show a complete thumbnail. Files post update are black and white, often incomplete.

Configuration -
R-pi running latest Raspian, Scratch version 1.4 dated 2013-09-16

R-S

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Sun Oct 13, 2013 5:53 pm

These are all symptoms I'd expect from the bug we found and fixed in the 'bananas' thread. The fix should be wending its way to the outer world very soon.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Thu Oct 24, 2013 4:58 am

"costume2" of default sprite (Scratch Cat) is missing.
It should be loaded as cat1-b in Animals when startup Scratch.
I checked with Scratch20130916.image.

Cheers,
Kazuhiro Abe

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Thu Oct 24, 2013 5:10 am

Japanese translation files (ja.po and ja_HIRA.po) are outdated.
Could you replace them with the following files?
http://squeakland.jp/abee/scratch/japo131003.zip

Cheers,
Kazuhiro Abe

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Fri Oct 25, 2013 12:45 am

abee wrote:Japanese translation files (ja.po and ja_HIRA.po) are outdated.
Oh dear; I'll improve that as soon as practical. Thanks for the warning!

Of course, there is a bit of a problem in that we don't have a Cairo/whatever plugin to display non-ascii language glyphs, so I'm not sure anyone will notice for a while...
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Fri Oct 25, 2013 12:54 am

abee wrote:"costume2" of default sprite (Scratch Cat) is missing.
It should be loaded as cat1-b in Animals when startup Scratch.
Hmm. The file is certainly there in 'Animals' on my Pi, so it looks like it didn't get deleted, at least. Are you saying that it should automatically appear as a costume for the default Sprite1 when File->new.. is chosen?
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Fri Oct 25, 2013 4:52 am

timrowledge wrote:Hmm. The file is certainly there in 'Animals' on my Pi, so it looks like it didn't get deleted, at least. Are you saying that it should automatically appear as a costume for the default Sprite1 when File->new.. is chosen?
Yes, default "sprite1" on all other platforms appears with two costumes when File->new.
It makes easy to animate the scratch cat. Because it is very important for novice.
It is described in ScratchFrameMorph class>>readSkinFrom:.

Cheers,
Kazuhiro Abe

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Fri Oct 25, 2013 6:30 pm

The Mystery of the missing Cat.

Mystery solved but problem still there; the Media folder provided on the Pi does not have the relevant 'default.sprite' file included; thus it cannot be loaded at startup time. Sigh. In fact the MIT MacScratch1.4.dmg with the OS X distribution doesn't have it either, unless some strange thing happens when I open that archive. Nor does the unix package; I can't try the Windows one. It's a bit like the lack of the Skins folder with all the UI elements.

If you have a copy you can send, my email is tim at rowledge dot org
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Sat Oct 26, 2013 3:32 am

timrowledge wrote: the Media folder provided on the Pi does not have the relevant 'default.sprite' file included; thus it cannot be loaded at startup time.
Well-well. Take a look at the code in a non-developer 1.4 image for ScratchFrameMorph class>defaultSprite. It's a bit different; no loading of 'default.sprite' - it loads defaultSpriteCostume and defaultSpriteCostume2 explicitly to assemble a two-costume sprite rather than just a single costume.

OK, that will be easy enough to fix. Obviously it shouldn't have needed fixing.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Sat Oct 26, 2013 12:14 pm

timrowledge wrote:Well-well. Take a look at the code in a non-developer 1.4 image for ScratchFrameMorph class>defaultSprite. It's a bit different; no loading of 'default.sprite' - it loads defaultSpriteCostume and defaultSpriteCostume2 explicitly to assemble a two-costume sprite rather than just a single costume.

OK, that will be easy enough to fix. Obviously it shouldn't have needed fixing.
Thank you. Come to think of it, default sprite of developer version has only one costume (cat2).
Thank you again for updating Japanese translation files.
How can I have a developer verison for Raspbian with change file? I would like to read the change set of recent updates.
BTW, I commented in bananas problems topic. Could you check it?

Cheers,
Kazuhiro Abe

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Sun Oct 27, 2013 12:19 am

How can I have a developer verison for Raspbian with change file? I would like to read the change set of recent updates.
email me direct as above and I'll send you the files.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Sun Oct 27, 2013 7:18 pm

The newest release should be appearing about now; the vm bug is fixed and the newest Scratch image fixes the only-one-costume problem in the default sprite when you open a new project.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Thu Dec 12, 2013 5:45 am

timrowledge wrote:
abee wrote:Japanese translation files (ja.po and ja_HIRA.po) are outdated.
Oh dear; I'll improve that as soon as practical. Thanks for the warning!
I checked ja.po and ja_HIRA.po those installed with recent Scratch20131203.image.
However it seems they have not replaced with japo131003.zip.
Thank you for your help.

Kazuhiro Abe

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Fri Dec 13, 2013 6:09 am

Oops. I'll jiggle elbows and see if we can work out what happened and fix that...
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

ghp
Posts: 1146
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: Bugs and regressions

Sun Dec 15, 2013 2:05 pm

Hello, you asked for differences.

Version 20131203 on RPi has remote sensor connections enabled by default.
Version 1.4, 30-jun-09, the 'original scratch' has remote sensor connections disabled by default.

Test case: start scratch (empty project), navigate to 'sensing', right click on "'slider' sensor value". Expected 'enable remote sensor connections'
Current: 'disable remote sensor connections'

Greetings,
Gerhard

timrowledge
Posts: 1067
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Bugs and regressions

Mon Dec 16, 2013 10:42 pm

Explanation in http://www.raspberrypi.org/phpBB3/viewt ... 77&t=63393
tl;dr - I accidentally started the connection before making a release.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Thu Dec 26, 2013 11:25 am

timrowledge wrote:Oops. I'll jiggle elbows and see if we can work out what happened and fix that...
I confirmed it fixed in 20131203-2. Thank you, Tim!

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Fri Jan 17, 2014 1:48 pm

Scratch is always frozen when I choose 'Help page', 'Help screens' and 'Go To Scratch Website'. All of those menus send ScratchPlugin class>>primOpenURL:. Something might be wrong with primitiveOpenURL.
Thank you for your help.

Kazuhiro Abe

ghp
Posts: 1146
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: Bugs and regressions

Fri Jan 17, 2014 8:09 pm

Checked with my installation and 'works for me'. raspbian 2013-12-20, scratch 20131202.

abee
Posts: 24
Joined: Wed Feb 27, 2013 5:47 am

Re: Bugs and regressions

Sat Jan 18, 2014 7:04 pm

I'm sorry I forgot to write my environment and version.
I use Scratch20131203.image on 2013-12-20-wheezy-raspbian.
And I use Japanese locale (ja_JP.UTF-8).
I confirmed Scratch didn't freeze by Help when I chose English in Scratch.
It freezed with Japanese mode.
Thanks.

Kazuhiro Abe

AJB2K3
Posts: 193
Joined: Sun Aug 11, 2013 3:25 pm

Re: Bugs and regressions

Sun Jan 26, 2014 10:01 am

Last night I was using scratch with the piglow and scratch caused a full system freeze resulting in me needing to pull the power. I can get scratch to start up and create code but when I run it, noting happens.
I can access the piglow in python but scratch just sits there with no errors.

How do I purge Scratch and reinstall it?
Back in the old days, we were smarter then the technology.
Nowadays technology makes us look like villages fools in front of the children!

Return to “Scratch”

Who is online

Users browsing this forum: No registered users and 1 guest