Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmX2N-0002EP-8x for pgadmin-hackers@arkaria.postgresql.org; Thu, 24 Jan 2019 04:54:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmX2J-0006iK-Je for pgadmin-hackers@arkaria.postgresql.org; Thu, 24 Jan 2019 04:54:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmX2J-0006iD-90 for pgadmin-hackers@lists.postgresql.org; Thu, 24 Jan 2019 04:54:43 +0000 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmX2E-0002ML-GX for pgadmin-hackers@lists.postgresql.org; Thu, 24 Jan 2019 04:54:42 +0000 Received: by mail-oi1-x244.google.com with SMTP id y1so3808012oie.12 for ; Wed, 23 Jan 2019 20:54:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tlPfYfu1DbKXVghu1tR61U9m4mn5X1UYaRMFCYvtDfg=; b=hf0JD9X9nVB+Eyp/MGoQ10P0NAdSAaBMjIPGZ47gom4VZpyqH1LWDF3ngXPrafj8w1 WGtOIsAV/9BhdavrsGEfVRwzJ6sfPqvCfcjwEoUy5nf/0/F9UJVwDYs/sI6fAhzczZrB i/YwNV7fNpmxJJE51POwoevxEU1flXKjUTb88+FXs2MZ0jI2MqUgVvErVNvWVD5fK8jz 81qx2nHYyv0VeLnr41QXuQSNNjMZfivAF4uwlXV1zgfgevHxk48pcDBP4ULRHi54Dass FudrFGjf0kcrdv4uyJ6RxDFGrJ3VKe5H8xLHYhJM8m1ZOX75ZsfUltmor3TfHr73GuUu U1Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tlPfYfu1DbKXVghu1tR61U9m4mn5X1UYaRMFCYvtDfg=; b=iIvEoEuNFWlVV7ga3lPtREoTfeQ2EV6Fl1I/SL7rdE1MEihpZeRjC1AyQ5QbdU/z6E RHecylYbKJCMUlJvSr6arLTegQTb09ZTwo3cQxBqxEM7j3t/q+nh6mI6DuDa3uFHCOzF um2J/JZCTWMspGK88puh7hREQrfTX4z1nktynnHy56z+8FEId3NjB6OoLmbcO0wapT70 ZmugvejPz+hnrhIRWrxo+zO4lIytzOwB5sWSqUXg034ryMIGuiQGUqhhcHqPm9+Ba2ry vDzQOcchj9yNJEgmWdPkgJ7TcfdQHXObjZu/fdY+busNeDUfaRe6HUzOGFHt0tLQ3273 0xZA== X-Gm-Message-State: AJcUukcLKB9OSj93y1YYOQRTRkTExbxcYUWdgxeTS2xqb4fgYResx4Ip PEFQE7XGTTr6SZCUPFjwxC3QZC+5baiDKs3z8xPWtxsL X-Google-Smtp-Source: ALg8bN6Phvvh4Rk8G2wTsIvrMr+qVVOE/HhOnZI8uCx24sLVQFR6z6BblFWCZYo9s/Gnl2HDx5ZwKOo9Wfz7199pacU= X-Received: by 2002:aca:ab16:: with SMTP id u22mr156747oie.249.1548305675976; Wed, 23 Jan 2019 20:54:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Khushboo Vashi Date: Thu, 24 Jan 2019 10:24:25 +0530 Message-ID: Subject: Re: 4.1 bytecompile error on RHEL 7 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000d2196c05802d014e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000d2196c05802d014e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2019 at 10:38 PM Devrim G=C3=BCnd=C3=BCz wrote: > > Hi, > > I'm seeing this at the end of the RPM build process on RHEL 7. Please not= e > that > 3.6 passes here: > > =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 > + /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=3Dsys.stderr, end=3D"" > ^ > 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 > Any ideas? > > This is the issue only on Python 2.7. Let me fix it in pgAdmin 4. > Regards, > > -- > Devrim G=C3=BCnd=C3=BCz > EnterpriseDB: https://www.enterprisedb.com > PostgreSQL Consultant, Red Hat Certified Engineer > Twitter: @DevrimGunduz , @DevrimGunduzTR > --000000000000d2196c05802d014e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Jan 23, 2019 at 10:38 PM Devr= im G=C3=BCnd=C3=BCz <devrim@gunduz.= org> wrote:

Hi,

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

=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
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below /var/lib/pgsql/rpm11/BUILDROOT/pgadmin4-4.1-<= br> 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 ...
=C2=A0 File "/usr/lib/python2.7/site-packages/pgadmin4-
web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py", l= ine 79
=C2=A0 =C2=A0 file=3Dsys.stderr, end=3D""
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
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
Any ideas?

This is the issue only on Python 2.7. Let me fix it i= n pgAdmin 4.=C2=A0
Regards,

--
Devrim G=C3=BCnd=C3=BCz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
--000000000000d2196c05802d014e--