exaviorn / RasPiWrite

A Python Script that prepairs and installs a Raspberry Pi compatiable distro to an SD Card
exaviorn.com/raspiwrite
GNU General Public License v3.0
209 stars 130 forks source link

Update raspiwrite.py #64

Open bobson38 opened 11 years ago

bobson38 commented 11 years ago

I got the following errors:

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

- File "./raspiwrite.py", line 275     SDsnip =  SD.replace(' ', '')[:-1]          ^   IndentationError: expected an indented block

So i added the ":" after the else on line 177, corrected the indentation level on line 275 and 278.

MidnightJava commented 11 years ago

This sounds like a useful tool, but it seems to not be supported any longer. After fixing the syntax and indentation errors mentioned above, the xml parser fails trying to parse http://www.exaviorn.com/raspiwrite.xml, which is not surprising since that domain is now up for sale. So using the Unix dd command as described on the Ras Pi Downloads page is the way to go.