Skip to content

Conversation

@sjg
Copy link

@sjg sjg commented Jun 6, 2013

No line 177 error in this version. Runs on both Home and work machine

No line 177 error in this version.  Runs on both Home and work machine
@ixisio
Copy link

ixisio commented Jun 10, 2013

works for me, thanks!

@spuder
Copy link

spuder commented Aug 14, 2013

It looks like the line 177 error is still present in master. Commit 55ebcf2 does not show up in the branch

git log --grep 55ebcf2 | wc -l
0

@kwiatriot
Copy link

i recieved this error when trying to use the download:
File "raspiwrite.py", line 177
else
^
SyntaxError: invalid syntax

I am new to raspberry pi and trying to flash an SD card with V 1. 3. 3. please help?

@ghost
Copy link

ghost commented Feb 4, 2014

Can't tell anything about how active exaviorn might be, but in case you run into this bug and don't know how to apply this patch:

clone the repository and then:

curl https://github.com/exaviorn/RasPiWrite/pull/75.patch | git am

@ixisio
Copy link

ixisio commented Feb 5, 2014

@eazyliving perfect for me! seems to work as expected, thanks

@Mike6158
Copy link

File "raspiwrite.py", line 177
else
^
SyntaxError: invalid syntax

Not exactly what I was hoping for with my first time to load a Raspberry Pi. Any suggestions for how to fix this?

@Mike6158
Copy link

his didn't work either

curl https://github.com/exaviorn/RasPiWrite/pull/75.patch | git am
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0fatal: Not a git repository (or any of the parent directories): .git
47 34961 47 16561 0 0 23314 0 0:00:01 --:--:-- 0:00:01 23292
curl: (23) Failed writing body (0 != 1370)

@LarryWR1B
Copy link

Mike6158, I have the same problem. Just trying to follow the directions from a book to run RasPiWrite to create an SD card from my iMac, and the Python script won't run. It stops and gives this error message. Not knowing anything about Python, I've looked at the code, and see several other If, Else pairs in lines above 177 that I would guess are okay, since it doesn't stop there. What is different about the Else at line 177? I see the note about a patch, but I don't understand what I am supposed to do with that. Why not just have a correct version of the script to download? Any else have some suggestions? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants