[mcstas-users] Current McStas/McXtrace releases and Python 3.10

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Fri Sep 23 20:29:37 CEST 2022

Dear all,

We have recently become aware of a couple of issues that arise with all current releases of McStas (2.7.1 / 3.1) and McXtrace (1.7 / 3.0)

On system with the newest Python versions (3.10 and beyond) you may experience that

* mcgui/mxgui fails on execution, see  https://github.com/McStasMcXtrace/McCode/issues/1270 for details
* mcplot/mxplot fails on execution, see https://github.com/McStasMcXtrace/McCode/issues/1281 for details

In case you experience these problems you may replace the following files within your installation folder:

tools/Python/mcgui/viewclasses.py - please replace by https://raw.githubusercontent.com/McStasMcXtrace/McCode/mccode-3/tools/Python/mcgui/viewclasses.py
(mxgui in case of McXtrace)

tools/Python/mccodelib/pqtgfrontend.py - please replace by https://raw.githubusercontent.com/McStasMcXtrace/McCode/mccode-3/tools/Python/mccodelib/pqtgfrontend.py

New stable releases of McStas/McXtrace should be released during November/December this year.

Best and sorry for the inconvenience,

Peter Willendrup

Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent
Næstformand for DTU Fysik LSU

DTU Physics

[cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk]

Technical University of Denmark

[cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk]

Department of Physics
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20220923/5537b03e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20220923/5537b03e/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20220923/5537b03e/attachment-0003.gif>

More information about the mcstas-users mailing list