[Bug 239106] unoconv 0.6_1 but crashes with "SyntaxError: Missing parentheses in call to 'print'"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 10 09:25:34 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239106

            Bug ID: 239106
           Summary: unoconv 0.6_1 but crashes with "SyntaxError: Missing
                    parentheses in call to 'print'"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: gmelis at mikroskosmos.gr

Created attachment 205651
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205651&action=edit
patch to make unoconv 0.6_1 run successfully with python3

When starting `/usr/local/bin/unoconv --listener` it crashes with error
message:
-----
  File "/usr/local/share/unoconv/unoconv", line 241
    print 'PATH=%s' % os.environ['PATH']
                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('PATH=%s' % os.environ['PATH'])?
-----
>From what I saw it calls python3, but its code still uses python2 functions.
The attached patch modifies the code from python2 to use python3 and starts
unoconv successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list