[Ifeffit] Larix.desktop on Arch Linux AttributeError: 'list' object has no attribute 'shape'
Chris Vijeu
cv236 at kent.ac.uk
Sun Feb 18 04:22:22 CST 2024
Hello,
So I recently installed Larch on two different machines running two different distributions of Arch (Manjaro and EndeavourOS). When I am starting Larix.desktop from the terminal and open a .xlsx data file with two columns (energy and intensity), I get the following error:
Traceback (most recent call last):
File "/home/chris/xraylarch/lib/python3.11/site-packages/larch/wxxas/xasgui.py", line 1162, in onReadDialog
self.onRead(path)
File "/home/chris/xraylarch/lib/python3.11/site-packages/larch/wxxas/xasgui.py", line 1187, in onRead
self.show_subframe('readfile', ColumnDataFileFrame, filename=path,
File "/home/chris/xraylarch/lib/python3.11/site-packages/larch/wxxas/xasgui.py", line 1114, in show_subframe
self.subframes[name] = frameclass(self, **opts)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chris/xraylarch/lib/python3.11/site-packages/larch/wxlib/columnframe.py", line 870, in __init__
self.set_energy_units()
File "/home/chris/xraylarch/lib/python3.11/site-packages/larch/wxlib/columnframe.py", line 1208, in set_energy_units
ncol, npts = workgroup.data.shape
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'shape'
I haven't modified any of the respective files at all. This is what the programme came as.
Chris
Cristian Vijeu,
Postgraduate PhD Student, Materials for Energy and Electronics
Division of Natural Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20240218/ba740e74/attachment.htm>
More information about the Ifeffit
mailing list