process_executor.py error - Mailing list pgadmin-hackers

From Usman Muzaffar
Subject process_executor.py error
Date
Msg-id CAOiUKEPvkJnpKXMejeV6PsSqGAXjG9gb0jz3tB3kihNoYtrs8Q@mail.gmail.com
Whole thread Raw
Responses Re: process_executor.py error  (Usman Muzaffar <usman.muzaffar@enterprisedb.com>)
List 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

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin4][RM3562] Migrate Bootstrap 3 to Bootstrap 4
Next
From: Usman Muzaffar
Date:
Subject: Re: process_executor.py error