Hello, I tried to update Larch 2025. 1 (that was installed at C: \Users\<MyName>\xraylarch and worked fine on Win10) to the latest version of 2025. 3. 0, using the "Update_larch" shortcut icon. it was "updated" within a few seconds and the
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
Hello,

I tried to update Larch 2025.1 (that was installed at C:\Users\<MyName>\xraylarch and  worked fine on Win10)
to the latest version of 2025.3.0, using the "Update_larch" shortcut icon. 
it was "updated" within a few seconds and the command window closed, 
but when launching  "Larix" (i.e. clicking on the larix shortcut icon) the  message posted below is displayed
in the terminal that then closes after a few seconds. I re-ran Update_larch 2 times with the same effect.
Paradoxically, all other applications e.g., XRD viewer, XRF mapper open when clicking on the corresponding icon, and display the latest version 2025.3...
-----------------------------------------------
# run in conda environment "base":
# C:/Users/glebou/xraylarch/Scripts/larix.exe
Exception in thread Thread-1 (importer):
Traceback (most recent call last):
  File "C:\Users\glebou\xraylarch\Lib\threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "C:\Users\glebou\xraylarch\Lib\threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\larix_app.py", line 58, in importer
    from larch.wxxas.xasgui import LarixFrame
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\xasgui.py", line 54, in <module>
    from .xas_controller import XASController
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\xas_controller.py", line 11, in <module>
    import darkdetect
ModuleNotFoundError: No module named 'darkdetect'
Traceback (most recent call last):
  File "C:\Users\glebou\xraylarch\Lib\site-packages\wx\core.py", line 3427, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\larix_app.py", line 62, in ShowMain
    from larch.wxxas.xasgui import LarixFrame
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\xasgui.py", line 54, in <module>
    from .xas_controller import XASController
  File "C:\Users\glebou\xraylarch\Lib\site-packages\larch\wxxas\xas_controller.py", line 11, in <module>
    import darkdetect
ModuleNotFoundError: No module named 'darkdetect'
----------------------------------------------------------------------------------

Probably the update option fails to properly update from 2025.1 to 2025.3 directly ?
should I go for a complete re-installation?

thank you 
best regards
Gleb Pokrovski


On 10/09/2025 20:47, Matthew Newville via Ifeffit wrote:
Hi Folks, A new version of Larch and the Larix GUI are now available for download and for automated update. The last message about Larch 2025. 2. 0 was in late May, though there were updates pushed on in late July too. Since then, there have been
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd

Hi Folks,

 

A new version of Larch and the Larix GUI are now available for download and for automated update.  The last message about Larch 2025.2.0 was in late May, though there were updates pushed on in late July too.  Since then, there have been many updates and improvements, especially to the Larix GUI.

 

A more complete list of changes is at https://github.com/xraypy/xraylarch/releases/tag/2025.3.0 (and see  https://github.com/xraypy/xraylarch/releases/tag/2025.2.2 too), but a few of the most obvious changes include:

 

There have been many bug fixes and other improvements, too.

As always, Mauro Rovezzi and Shelly Kelly and her group at the APS deserve a lot of credit for either making or inspiring these changes.  There have also been bug reports and pull requests from a growing number of people.  The GitHub repository is really the best place for this, but thanks to everyone.

 

Let us know if you have any questions, comments, or suggestions.

 

--Matt


ifeffit mailing list:  https://millenia.cars.aps.anl.gov/mailman3/lists/ifeffit.millenia.cars.aps.anl.gov/
to unsubscribe, send mail to ifeffit-leave@millenia.cars.aps.anl.gov