twistedchecker installation fails with Python3

Bug #1219563 reported by Richard Wall on 2013-09-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twistedchecker
New
Undecided
Unassigned

Bug Description

I tried installing with Python3 but got various warnings and errors before it eventually failed.

Given that its a brand new tool with no backwards compatibility requirements, it would be nice if it worked on Python3 as soon as possible.

Here are some of the errors (I've attached the full install log)

      File "/home/richard/.virtualenvs/twistedchecker3/lib/python3.3/site-packages/twistedchecker/core/runner.py", line 304
        except SystemExit, exc:
                         ^
    SyntaxError: invalid syntax

      File "/home/richard/.virtualenvs/twistedchecker3/lib/python3.3/site-packages/twistedchecker/functionaltests/maxlinelength.py", line 3
        print "this line is long long long long long long long long ends at column 80"
                                                                                       ^
    SyntaxError: invalid syntax

      File "/home/richard/.virtualenvs/twistedchecker3/lib/python3.3/site-packages/twistedchecker/functionaltests/py3_exceptions.py", line 18
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

      File "/home/richard/.virtualenvs/twistedchecker3/lib/python3.3/site-packages/twistedchecker/functionaltests/trailingspace.py", line 4
        print "this line has trailing space"
                                           ^
    SyntaxError: invalid syntax

      File "/home/richard/.virtualenvs/twistedchecker3/lib/python3.3/site-packages/twistedchecker/functionaltests/py3_print_fail.py", line 4
        print "a print statement"
                                ^
    SyntaxError: invalid syntax

Richard Wall (richardw) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers