From: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: 4.1 bytecompile error on RHEL 7 |
Date: | 2019-01-24 05:42:50 |
Message-ID: | CAFOhELc=P8e9PB_maU8svMY2+HuT9iG+x00jO3qizOsantaidg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Wed, Jan 23, 2019 at 8:54 PM Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>
> On Wed, Jan 23, 2019 at 10:38 PM Devrim Gündüz <devrim(at)gunduz(dot)org> 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
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2019-01-24 05:55:09 | pgAdmin 4 commit: Fix syntax error on python 2.7 for the feature test. |
Previous Message | Khushboo Vashi | 2019-01-24 05:41:58 | [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test |