Good morning,

I have OSX Larch installed and attempting to open XAS data files.  It cannot read the file and Larch returns an error:

Error trying to read '/Users/DrPatridge/Desktop/2019-03-21/CaVO_50-40-10_vs_Zn.002':

    _tmp_file_ = read_xdi('/Users/DrPatridge/Desktop/2019-03-21/CaVO_50-40-10_vs_Zn.002')
             ^^^
   File /Users/DrPatridge/.larch/init.lar, line 1
  File "/xraylarch/share/larch/plugins/io/xdi.py", line 258, in read_xdi
    xdif = XDIFile(filename, labels=labels)
  File "/xraylarch/share/larch/plugins/io/xdi.py", line 124, in __init__
    self.read(self.filename)
  File "/xraylarch/share/larch/plugins/io/xdi.py", line 165, in read
    mvals = tostrlist(xdi.meta_values,   self.nmetadata)
  File "/xraylarch/share/larch/plugins/io/xdi.py", line 65, in Py3tostrlist
    return [str(i, 'ASCII') for i in (nitems*c_char_p).from_address(address)]
  File "/xraylarch/share/larch/plugins/io/xdi.py", line 65, in <listcomp>
    return [str(i, 'ASCII') for i in (nitems*c_char_p).from_address(address)]

UnicodeDecodeError: ('ascii', b'3.1356369 \xc3\x85', 10, 11, 'ordinal not in range(128)’)

Is this a plugin error or something else?  I attached one of the files if anyone could test?  I can open it in Athena.

Thanks for any help,

Chris

**********************************************
Dr Christopher Patridge
Associate Professor 
Dept of Chemistry
SASE 315
716-829-8096 | patridgc@dyc.edu

Social: Twitter