MrsKSayers
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 16
Joined: Wed Jun 11, 2014 11:53 am
Location: Derby

Problem Installing Scratch GPIO

Sun Dec 07, 2014 4:51 pm

This is driving me nuts. I have 2 sets of SD cards and have successfully installed Scratch GPIO on my 8Gb cards but when I try to install it on my 4Gb cards I get errors.
I download the files OK then when running the install script I get:-

line 1: --2014-12-07: command not found
line 2: syntax error near unexpected token `('
line 2: `Resolving goo.gl (goo.gl)... 74.125.230.65, 74.125.230.64, 74.125.230.68, ...'

I'm typing this post from my Pi so do have an Internet connection.

I've used the instructions from Cymplecy to do this.

Help much appreciated before I go totally insane

Kim

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 4:58 pm

Hi - is this ScratchGPIO5 or 6beta?

Is there space enough on the card I wonder?

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4997
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 4:59 pm

MrsKSayers wrote:This is driving me nuts. I have 2 sets of SD cards and have successfully installed Scratch GPIO on my 8Gb cards but when I try to install it on my 4Gb cards I get errors.
...
Kim
It may be simply that you're running out of space on your 4Gb cards, especially if Raspbian was installed with NOOBS. You can check this via the df command (compare the result for both card sizes).
Trev.
Edit: I see that Simon has cross-posted with a similar suggestion.
Still running Raspbian Jessie on some older Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) but Stretch on my 2xP3A+, P3B+, P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

MrsKSayers
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 16
Joined: Wed Jun 11, 2014 11:53 am
Location: Derby

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:00 pm

simplesi wrote:Hi - is this ScratchGPIO5 or 6beta?

Is there space enough on the card I wonder?

Simon
I've tried 4 and 5 same error

MrsKSayers
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 16
Joined: Wed Jun 11, 2014 11:53 am
Location: Derby

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:02 pm

FTrevorGowen wrote:
MrsKSayers wrote:This is driving me nuts. I have 2 sets of SD cards and have successfully installed Scratch GPIO on my 8Gb cards but when I try to install it on my 4Gb cards I get errors.
...
Kim
It may be simply that you're running out of space on your 4Gb cards, especially if Raspbian was installed with NOOBS. You can check this via the df command (compare the result for both card sizes).
Trev.
I have 214Mb free apparently! is this enough? I'll scream if that's all it is!

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:24 pm

For some reason - your download could be being corrupted

try this (corrected) link instead

Code: Select all

sudo wget https://www.dropbox.com/s/56ohstul6g0nsem/install_scratchgpio5.sh?dl=0 -O isgh5.sh
and then

Code: Select all

sudo bash isgh5.sh
Simon
Last edited by simplesi on Sun Dec 07, 2014 5:30 pm, edited 1 time in total.
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:27 pm

Hold - on - wrong link!!
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:30 pm

I've corrected the link in the post 2 above
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:34 pm

I have 214Mb free apparently! is this enough? I'll scream if that's all it is!
Well - the file is 200Kb so there is enough room for it but that's might not be a lot working headroom for your Pi - try the new link and see how it goes
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

MrsKSayers
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 16
Joined: Wed Jun 11, 2014 11:53 am
Location: Derby

Re: Problem Installing Scratch GPIO

Sun Dec 07, 2014 5:44 pm

Thanks will give it a go

Return to “Troubleshooting”