From: | Usman Muzaffar <usman(dot)muzaffar(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | process_executor.py error |
Date: | 2018-10-11 10:46:29 |
Message-ID: | CAOiUKEPvkJnpKXMejeV6PsSqGAXjG9gb0jz3tB3kihNoYtrs8Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Hackers,
While running API test cases, i encountered following error in
process_executor.py file
==============================================
fp.write('EXCEPTION::\n{0}'.format(res))
TypeError: a bytes-like object is required, not 'str'
==============================================
so changed the file opening mode to 'a'. The API test cases are again run
without this error with following versions
i) Python 2.7
ii) Python 3.4
iii) Python 3.5
iiii) Python 3.6
Please review the patch and commit.
--
Thanks,
Usman Muzaffar
QA Team
EnterpriseDB Corporation
Attachment | Content-Type | Size |
---|---|---|
process_executor_v1.patch | application/octet-stream | 557 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Usman Muzaffar | 2018-10-11 11:50:42 | Re: process_executor.py error |
Previous Message | Aditya Toshniwal | 2018-10-11 10:08:41 | Re: [pgAdmin4][RM3562] Migrate Bootstrap 3 to Bootstrap 4 |