'str' object has no attribute 'endwith'

6,416 views
Skip to first unread message

Junjun Liu

unread,
Dec 10, 2016, 4:03:54 AM12/10/16
to gprMax-users
Hi Craig,


   I downloaded and installed gprMax yesterday, and there was a question when I run a file, as shown in the figure, then I checked it, may there should be an attribute named endswith but not endwith in the 143th row in the utilities.py. Hope you can confirm it. Thanks!

Junjun Liu

Antonis Giannopoulos

unread,
Dec 10, 2016, 7:20:26 AM12/10/16
to gprMax-users
Hi Junjun,

The attribute needs to be 'endswith'  and I think Craig has fixed this as it is correct in the 'utilities.py' file in GitHub. Try to update the code base you have and should be OK.

Best

Antonis

Craig Warren

unread,
Dec 10, 2016, 9:19:20 AM12/10/16
to gprMax-users
Reply all
Reply to author
Forward
0 new messages