You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file trslib/utils.py, function list_eth_names,
the following line of code is used to identify a 64 bit OS.
os.uname()[4].endswith("_64"):
However this works for x86 since the 64 bit version ends in x86_64.
On ARM though, the architecture is AARCH64. This code breaks down and makes the wrong assumption.
The bug can be simply be fixed by changing the _64 to 64.
-Pankaj
The text was updated successfully, but these errors were encountered:
On Mon, 2017-03-06 at 13:55 -0800, pankajgarg03 wrote:
In the file trslib/utils.py, function list_eth_names,
the following line of code is used to identify a 64 bit OS.
os.uname()[4].endswith("_64"):
However this works for x86 since the 64 bit version ends in x86_64.
On ARM though, the architecture is AARCH64. This code breaks down and makes
the wrong assumption.
The bug can be simply be fixed by changing the _64 to 64.
I would rather prefer this to be explicitly defined to the respective
architecture string.
In the file trslib/utils.py, function list_eth_names,
the following line of code is used to identify a 64 bit OS.
os.uname()[4].endswith("_64"):
However this works for x86 since the 64 bit version ends in x86_64.
On ARM though, the architecture is AARCH64. This code breaks down and makes the wrong assumption.
The bug can be simply be fixed by changing the _64 to 64.
-Pankaj
The text was updated successfully, but these errors were encountered: