Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax errors running on Python 2.7 using Mac OS X 10.8.2 #56

Closed
wants to merge 1 commit into from

Conversation

buley
Copy link

@buley buley commented Dec 1, 2012

For whatever reason, I needed to make the attached changes in order to run raspiwrite.py on my environment. Figured I'd create a pull request and document the syntax errors I ran into in case others run into similar issues.

✪ git clone https://github.com/exaviorn/RasPiWrite.git 1354378953
Cloning into 'RasPiWrite'...
remote: Counting objects: 64, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 64 (delta 30), reused 62 (delta 28)
Unpacking objects: 100% (64/64), done.
✪ ./raspiwrite.py 1354378971
File "./raspiwrite.py", line 177
else
^
SyntaxError: invalid syntax

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

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

@ghost
Copy link

ghost commented Dec 2, 2012

Ran into the same issues (on MBPro Retina - 10.8.2)

@ljantos
Copy link

ljantos commented Jan 2, 2013

Same problem on 10.7.3

@doghuntergithub
Copy link

Same problem :(

Copy link

@loode-511 loode-511 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IndentationError: expected an indented block

@buley buley closed this Jun 7, 2023
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.

4 participants