Re: [AMBER] error

From: Tony Yang <>
Date: Tue, 16 Jun 2020 11:48:25 +0100

Hi Tran,

The error is caused by not decoding the error message properly. If you add one line
            out = out.decode("utf-8”)
after `if calc_failed:` in your file under (/Users/lib/python3.6/site-packages/MMPBSA_mods/), likely to be line 429.

Run this again would give you the proper error message output and you can see what was wrong with your calculations.

In terms of the exact error causing the original error report, it was because of a non-standard residue that was not in the optimised radii database. Adding radiopt=0 to the PB namelist fixed our error (see the manual for details regarding radiopt).

Hope this helps :)

Best wishes,

> On 15 Jun 2020, at 22:57, Oanh Thuy Ngoc Tran <> wrote:
> Hi,
> I was wondering if anyone solved this problem on amber archive regarding
> <>
> I did something similar and I got the same error here
> ‘
> File "/Users/lib/python3.6/site-packages/MMPBSA_mods/", line 430, in run
> error_list = [s.strip() for s in out.split('\n')
> TypeError: a bytes-like object is required, not 'str'
> Exiting. All files have been retained.
> ‘
> Thanks in advance for letting me know.
> Tran
> _______________________________________________
> AMBER mailing list

AMBER mailing list
Received on Tue Jun 16 2020 - 04:00:04 PDT
Custom Search