Date: Tue, 11 Jun 2019 07:57:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238487] deskutils/conkyemail: "except Exception, e: SyntaxError: invalid syntax" Message-ID: <bug-238487-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238487 Bug ID: 238487 Summary: deskutils/conkyemail: "except Exception, e: SyntaxError: invalid syntax" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: katsu@miyoshi.matsuyama.ehime.jp Created attachment 204977 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204977&action= =3Dedit Makefile.patch I get an error when I execute conkyemail. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D % conky -D -c myconkyEmail.conf ... File "/usr/local/share/conkyemail/conkyEmail.py", line 167 except Exception, e: ^ SyntaxError: invalid syntax ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This is because conkyemail used python of python3.6. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D % grep python /usr/local/bin/conkyEmail $PYTHONPATH /usr/bin/env python /usr/local/share/conkyemail/conkyEmail.py "= $@" % python --version Python 3.6.8 % pkg info 'python*' python-3.6_3,2 python2-2_3 python27-2.7.16_1 python3-3_3 python36-3.6.8_2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (PYTHON_DEFAULT=3D3.6 is the current default.) USES=3Dpython:2.7 is specified in conkyemail/Makefile, and conkyemail needs= to use python2.7. Attach a simple patch to use ${PYTHON_VERSION}. Thanks. --=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-238487-7788>