scratch icon indicating copy to clipboard operation
scratch copied to clipboard

bad header error

Open brianlean opened this issue 10 years ago • 11 comments

Running a scratch on Pi camp and the girls in camp keep getting the same error. Related to adding backgrounds or sprites to a project.
image1

brianlean avatar Jul 16 '15 01:07 brianlean

Please upload copies of any file you can possibly imagine might help track this down (your project ,the sprites, etc), plus any recipe you can come up with to replicate it. You should find a file called 'SqueakDebug.log' or similar in your user directory that starts with something along the lines of "Error: bad header date and time of error

VM: unix - Smalltalk Image: Squeak 4,5" etc Send that too since it provides a backtrace of how you got there.

timrowledge avatar Jul 16 '15 01:07 timrowledge

Holly

Good news. The Raspberry Pi folks are working a new version of Scratch. I pulled the latest code and will try to bring that by today and I have this bug logged with them. If it happens again try to capture as much info as possible including getting a copy of the project and the text in the error.

Thanks

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Wed, Jul 15, 2015 at 9:47 PM, tim Rowledge [email protected] wrote:

Please upload copies of any file you can possibly imagine might help track this down (your project ,the sprites, etc), plus any recipe you can come up with to replicate it. You should find a file called 'SqueakDebug.log' or similar in your user directory that starts with something along the lines of "Error: bad header date and time of error

VM: unix - Smalltalk Image: Squeak 4,5" etc Send that too since it provides a backtrace of how you got there.

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-121798486 .

brianlean avatar Jul 16 '15 10:07 brianlean

Tim

I absolutely will pull together more info on this.

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Wed, Jul 15, 2015 at 9:47 PM, tim Rowledge [email protected] wrote:

Please upload copies of any file you can possibly imagine might help track this down (your project ,the sprites, etc), plus any recipe you can come up with to replicate it. You should find a file called 'SqueakDebug.log' or similar in your user directory that starts with something along the lines of "Error: bad header date and time of error

VM: unix - Smalltalk Image: Squeak 4,5" etc Send that too since it provides a backtrace of how you got there.

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-121798486 .

brianlean avatar Jul 16 '15 13:07 brianlean

Brian, any progress on this?

timrowledge avatar Aug 01 '15 17:08 timrowledge

Tim

sorry - I was not able to get anything useful off the Pi that had the error 2 weeks ago. Good news is one of our camps had the same issue at the end of the week. I'll get the Pi back tomorrow and hope to have something for you to work with.

Thanks

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Sat, Aug 1, 2015 at 1:29 PM, tim Rowledge [email protected] wrote:

Brian, any progress on this?

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-126938871 .

brianlean avatar Aug 01 '15 22:08 brianlean

Tim

I got the Pi's back and I cannot find the debug file you are looking for. I'm looking in the user directory home/pi can't find it. Any ideas?

I can tell you what happened but the file the girl was building no longer exists. She was using the paint editor to create a new sprite.

I'll keep trying to reproduce it. Let me know about the debug log file.

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Sat, Aug 1, 2015 at 1:29 PM, tim Rowledge [email protected] wrote:

Brian, any progress on this?

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-126938871 .

brianlean avatar Aug 04 '15 10:08 brianlean

On 04-08-2015, at 3:23 AM, BrianM [email protected] wrote:

I got the Pi's back and I cannot find the debug file you are looking for. I'm looking in the user directory home/pi can't find it. Any ideas?

Ah, of course, forgot to mention that part. It is a bit of a pain but that�s just how unix likes to make it - it would have ended up in /usr/share/scratch/SqueakDebug.log

Someday I�ll have a moment to change where it gets written and make it somewhere easier to find/mail to gihub

tim

tim Rowledge; [email protected]; http://www.rowledge.org/tim ..... REALITY.SYS Corrupted - Unable to recover Universe

timrowledge avatar Aug 04 '15 17:08 timrowledge

Ok - will dig it out tonight.

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Tue, Aug 4, 2015 at 1:19 PM, tim Rowledge [email protected] wrote:

On 04-08-2015, at 3:23 AM, BrianM [email protected] wrote:

I got the Pi's back and I cannot find the debug file you are looking for. I'm looking in the user directory home/pi can't find it. Any ideas?

Ah, of course, forgot to mention that part. It is a bit of a pain but that�s just how unix likes to make it - it would have ended up in /usr/share/scratch/SqueakDebug.log

Someday I�ll have a moment to change where it gets written and make it somewhere easier to find/mail to gihub

tim

tim Rowledge; [email protected]; http://www.rowledge.org/tim ..... REALITY.SYS Corrupted - Unable to recover Universe

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-127681915 .

brianlean avatar Aug 04 '15 17:08 brianlean

Tim

Bad news - no log file

Good news - I recreated the issue. Still no log file but the .img file from the Pi is at . https://www.dropbox.com/sh/zb1mdkcx3camzxl/AADMQgg-VR9A5MQB-oRI8aZYa?dl=0

It is really interesting, the file is now 0 bytes so I can't send it. It is on the image, on the desktop of the pi users.

Let me know what else I can do to help.

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Tue, Aug 4, 2015 at 1:19 PM, tim Rowledge [email protected] wrote:

On 04-08-2015, at 3:23 AM, BrianM [email protected] wrote:

I got the Pi's back and I cannot find the debug file you are looking for. I'm looking in the user directory home/pi can't find it. Any ideas?

Ah, of course, forgot to mention that part. It is a bit of a pain but that�s just how unix likes to make it - it would have ended up in /usr/share/scratch/SqueakDebug.log

Someday I�ll have a moment to change where it gets written and make it somewhere easier to find/mail to gihub

tim

tim Rowledge; [email protected]; http://www.rowledge.org/tim ..... REALITY.SYS Corrupted - Unable to recover Universe

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-127681915 .

brianlean avatar Aug 05 '15 00:08 brianlean

How weird. Well I'll look into it sometime soon. Don't suppose you remember how you triggered it? A recipe can be very useful.

timrowledge avatar Aug 05 '15 00:08 timrowledge

Tim

Yep - It was paint. I kept painting and adding sprites. Building small scripts for each then I saved, closed, reopened and there was the error.

One thing I noticed is I must have been pushing the limit on memory. A temp file would open on the desktop on each save. The project file was on the desktop.

Brian

Brian S. Moran The Boolean Girl Project www.booleangirl.org 703.608.1941

On Tue, Aug 4, 2015 at 8:21 PM, tim Rowledge [email protected] wrote:

How weird. Well I'll look into it sometime soon. Don't suppose you remember how you triggered it? A recipe can be very useful.

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/scratch/issues/138#issuecomment-127802313 .

brianlean avatar Aug 05 '15 00:08 brianlean