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

Python 3.0 compatibility #4

Closed
dannguyen opened this issue May 7, 2015 · 5 comments · Fixed by #38
Closed

Python 3.0 compatibility #4

dannguyen opened this issue May 7, 2015 · 5 comments · Fixed by #38

Comments

@dannguyen
Copy link

I'm on 10.10.3. Ran brew install fpp and then fpp, and got this:

File "/usr/local/Cellar/fpp/0.5.3/libexec/src/processInput.py", line 126
    print USAGE_STR
                  ^
SyntaxError: Missing parentheses in call to 'print'
  File "/usr/local/Cellar/fpp/0.5.3/libexec/src/choose.py", line 54
    print 'Nothing to do!'
                         ^
SyntaxError: Missing parentheses in call to 'print'
sh: /Users/dan/.fbPager.sh: No such file or directory
@pcottle
Copy link
Contributor

pcottle commented May 7, 2015

What version of python are you running? python --version. It's likely a Python 3.0 compatibility issue

@pcottle pcottle changed the title Got an error right after installing Python 3.0 compatibility May 7, 2015
@dannguyen
Copy link
Author

Ah yes, I'm on Python 3.x

@pcottle
Copy link
Contributor

pcottle commented May 7, 2015

PR #15 helped this a bit as well in the meantime -- @dannguyen @vimeitor have either of you tried that yet?

Let me see what the python 2to3 converter says...

@vimeitor
Copy link

vimeitor commented May 7, 2015

@pcottle I can confirm that it works very well. It's a good first step for sure :).

@sdornan
Copy link

sdornan commented May 8, 2015

Would love for this to be compatible with Python 3.

@zkanda zkanda mentioned this issue May 8, 2015
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 a pull request may close this issue.

4 participants