Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2019 09:25:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239106] unoconv 0.6_1 but crashes with "SyntaxError: Missing parentheses in call to 'print'"
Message-ID:  <bug-239106-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239106

            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@FreeBSD.org
          Reporter: gmelis@mikroskosmos.gr

Created attachment 205651
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205651&action=
=3Dedit
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=3D%s' % os.environ['PATH']
                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('PATH=3D%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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239106-7788>