4.1 bytecompile error on RHEL 7

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: 4.1 bytecompile error on RHEL 7
Date: 2019-01-23 17:08:20
Message-ID: d8a86bd50e0409010e4963f0dbeff691095671af.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


Hi,

I'm seeing this at the end of the RPM build process on RHEL 7. Please note that
3.6 passes here:

==============================================
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below /var/lib/pgsql/rpm11/BUILDROOT/pgadmin4-4.1-
1.rhel7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7
Compiling /var/lib/pgsql/rpm11/BUILDROOT/pgadmin4-4.1-
1.rhel7.x86_64/usr/lib/python2.7/site-packages/pgadmin4-
web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py ...
File "/usr/lib/python2.7/site-packages/pgadmin4-
web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py", line 79
file=sys.stderr, end=""
^
SyntaxError: invalid syntax

==============================================

Any ideas?

Regards,

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2019-01-24 04:54:25 Re: 4.1 bytecompile error on RHEL 7
Previous Message Akshay Joshi 2019-01-23 12:55:52 pgAdmin 4 commit: 1) Messages tab of query tool should be clear on subs