Kilian / f.lux-indicator-applet

This repository is unmaintained. Visit:
https://github.com/xflux-gui/xflux-gui
Other
549 stars 105 forks source link

Syntax error with Python 3.5 (Arch Linux, Python 3.5 default interpreter) #63

Open RyanSquared opened 8 years ago

RyanSquared commented 8 years ago

From what it looks like, someone attempted poorly to port Python 2.7 code to Python 3.

The below section includes a section of an error log when attempting to install with python3 as the default Python interpreter:

running install_lib
byte-compiling /usr/lib/python3.5/site-packages/fluxgui/fluxapp.py to fluxapp.cpython-35.pyc
  File "/usr/lib/python3.5/site-packages/fluxgui/fluxapp.py", line 28
    print e
          ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/lib/python3.5/site-packages/fluxgui/settings.py to settings.cpython-35.pyc
  File "/usr/lib/python3.5/site-packages/fluxgui/settings.py", line 102
    except DirectoryCreationError, e:
                                 ^
SyntaxError: invalid syntax
nyovaya commented 8 years ago

I have a similiar error when starting fluxgui: File "/usr/lib/python3.5/site-packages/fluxgui/fluxapp.py", line 28 print e ^ SyntaxError: Missing parentheses in call to 'print'