<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Phil,</p>
<p><br>
</p>
<p>thanks a lot. You can find the file attached.<br>
</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Sam<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Carns, Philip H. <carns@mcs.anl.gov><br>
<b>Sent:</b> Friday, October 9, 2020 10:37:41 PM<br>
<b>To:</b> Omlin Samuel; darshan-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Darshan-users] dxt_analyzer.py: 'invalid continuation byte' error</font>
<div> </div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Sam,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I'm not sure off hand what would cause that. Can you share the log file by any chance (you can send it to me directly if you would prefer not to post it on the mailing list)? I can try to reproduce on some other systems and see if that narrows down the problem.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
-Phil<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Darshan-users <darshan-users-bounces@lists.mcs.anl.gov> on behalf of Omlin Samuel <omlin@cscs.ch><br>
<b>Sent:</b> Friday, October 9, 2020 10:18 AM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><br>
<b>Subject:</b> [Darshan-users] dxt_analyzer.py: 'invalid continuation byte' error</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div>Hi all,<br>
<br>
I have tried the following command both on Ubuntu 16.04 (python 3.5) and on SUSE Linux Enterprise Server 15 SP1 (python 3.6) and got the same error:<br>
```<br>
$ python3 /usr/local/bin/dxt_analyzer.py -i omlins_a.out_id1174947_10-9-40448-1694713884344482404_1602235659.darshan<br>
Traceback (most recent call last):<br>
File "/usr/local/bin/dxt_analyzer.py", line 264, in <module><br>
for line in infile:<br>
File "/usr/lib/python3.5/codecs.py", line 321, in decode<br>
(result, consumed) = self._buffer_decode(data, self.errors, final)<br>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 24: invalid continuation byte<br>
```<br>
<br>
With python 2.7.12 (on Ubuntu), I did not get the error, but the generated plot was empty.<br>
<br>
Note that the input file does contain values generated by DXT:<br>
```<br>
$ darshan-dxt-parser omlins_a.out_id1174947_10-9-40448-1694713884344482404_1602235659.darshan | tail -3<br>
X_POSIX 7 read 197 211527180650 1073741824 804.8381 806.1340 [ 0]<br>
X_POSIX 7 read 198 212600922683 1073741824 806.4404 807.7277 [ 0]<br>
X_POSIX 7 read 199 213674664716 1073741824 808.0719 809.3472 [ 0]<br>
```<br>
<br>
Can you fix this / help me to get this working?<br>
<br>
Thanks!!<br>
<br>
Sam<br>
<br>
<br>
<br>
</div>
<br>
</div>
</div>
</div>
</body>
</html>