public inbox for [email protected]
help / color / mirror / Atom feed4.1 bytecompile error on RHEL 7
4+ messages / 2 participants
[nested] [flat]
* 4.1 bytecompile error on RHEL 7
@ 2019-01-23 17:08 Devrim Gündüz <[email protected]>
2019-01-24 04:54 ` Re: 4.1 bytecompile error on RHEL 7 Khushboo Vashi <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Devrim Gündüz @ 2019-01-23 17:08 UTC (permalink / raw)
To: [email protected]
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
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 4.1 bytecompile error on RHEL 7
2019-01-23 17:08 4.1 bytecompile error on RHEL 7 Devrim Gündüz <[email protected]>
@ 2019-01-24 04:54 ` Khushboo Vashi <[email protected]>
2019-01-24 05:42 ` Re: 4.1 bytecompile error on RHEL 7 Khushboo Vashi <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Khushboo Vashi @ 2019-01-24 04:54 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers <[email protected]>
On Wed, Jan 23, 2019 at 10:38 PM Devrim Gündüz <[email protected]> wrote:
>
> 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?
>
> This is the issue only on Python 2.7. Let me fix it in pgAdmin 4.
> Regards,
>
> --
> Devrim Gündüz
> EnterpriseDB: https://www.enterprisedb.com
> PostgreSQL Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 4.1 bytecompile error on RHEL 7
2019-01-23 17:08 4.1 bytecompile error on RHEL 7 Devrim Gündüz <[email protected]>
2019-01-24 04:54 ` Re: 4.1 bytecompile error on RHEL 7 Khushboo Vashi <[email protected]>
@ 2019-01-24 05:42 ` Khushboo Vashi <[email protected]>
2019-01-25 10:43 ` Re: 4.1 bytecompile error on RHEL 7 Devrim Gündüz <[email protected]>
0 siblings, 1 reply; 4+ messages in thread
From: Khushboo Vashi @ 2019-01-24 05:42 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers <[email protected]>
On Wed, Jan 23, 2019 at 8:54 PM Khushboo Vashi <
[email protected]> wrote:
>
>
> On Wed, Jan 23, 2019 at 10:38 PM Devrim Gündüz <[email protected]> wrote:
>
>>
>> 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?
>>
>> This is the issue only on Python 2.7. Let me fix it in pgAdmin 4.
>
The fix has been sent to the pgAdmin hackers.
> Regards,
>>
>> --
>> Devrim Gündüz
>> EnterpriseDB: https://www.enterprisedb.com
>> PostgreSQL Consultant, Red Hat Certified Engineer
>> Twitter: @DevrimGunduz , @DevrimGunduzTR
>>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 4.1 bytecompile error on RHEL 7
2019-01-23 17:08 4.1 bytecompile error on RHEL 7 Devrim Gündüz <[email protected]>
2019-01-24 04:54 ` Re: 4.1 bytecompile error on RHEL 7 Khushboo Vashi <[email protected]>
2019-01-24 05:42 ` Re: 4.1 bytecompile error on RHEL 7 Khushboo Vashi <[email protected]>
@ 2019-01-25 10:43 ` Devrim Gündüz <[email protected]>
0 siblings, 0 replies; 4+ messages in thread
From: Devrim Gündüz @ 2019-01-25 10:43 UTC (permalink / raw)
To: Khushboo Vashi <[email protected]>; +Cc: pgadmin-hackers <[email protected]>
Hi Khushboo,
On Wed, 2019-01-23 at 21:42 -0800, Khushboo Vashi wrote:
> The fix has been sent to the pgAdmin hackers.
Applied the patch, and built packages. Thanks a lot for the quick fix.
Cheers,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-01-25 10:43 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 17:08 4.1 bytecompile error on RHEL 7 Devrim Gündüz <[email protected]>
2019-01-24 04:54 ` Khushboo Vashi <[email protected]>
2019-01-24 05:42 ` Khushboo Vashi <[email protected]>
2019-01-25 10:43 ` Devrim Gündüz <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox