Exception due to py2/py3 differences with test-xattr

Bug #1435481 reported by Brian Ealdwine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netflix Desktop
New
Undecided
Unassigned

Bug Description

Python 3 is the default python on my system.

When running netflix-desktop, I get the following error:

  File "/usr/share/wine-browser-installer/test-xattr", line 10
    print "Usage: test-xattr <directory>"
                                        ^
SyntaxError: Missing parentheses in call to 'print'

Looking at test-xattr, the hashbang is:
#!/usr/bin/env python

..which would run python3 on my system.

I've changed this to:
#!/usr/bin/env python2

..which works fine. Aside from the syntax differences, the xattr module isn't installed in python3 on my system, and is on python2, so I figure python2 was your intended target.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.