diffpy / diffpy.pdfgui

graphical user interface for real space structure refinement to PDF
Other
19 stars 24 forks source link

Temperature series multiple data file import error #98

Closed LalitYadav07 closed 1 year ago

LalitYadav07 commented 1 year ago

The new pdfgui version throws up error when importing files in temperature series micro:

Traceback (most recent call last): File "C:\Users\lalit\anaconda3\envs\pdfgui2\lib\site-packages\diffpy\pdfgui\gui\errorwrapper.py", line 62, in _f return func(*args, **kwargs) File "C:\Users\lalit\anaconda3\envs\pdfgui2\lib\site-packages\diffpy\pdfgui\gui\temperatureseriespanel.py", line 286, in fillList index = self.listCtrlFiles.InsertItem(sys.maxsize, str(temperature)) wx._core.wxAssertionError: C++ assertion "info.m_itemId != -1" failed at ....\src\msw\listctrl.cpp(1981) in wxListCtrl::InsertItem(): Item ID must be set.

dragonyanglong commented 1 year ago

Hi @LalitYadav07 , thanks for reporting the issue. This is due to different system setting across windows and other OS. We have fixed it and updated the version. Please try running conda install -c conda-forge diffpy.pdfgui in the same conda environment to update your pdfgui.

dragonyanglong commented 1 year ago

it may take some while to be updated.