<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello everybody,</p>
<p>I use GSAS-II on Archlinux and I'm the maintainer of the
<a class="moz-txt-link-freetext" href="https://aur.archlinux.org/packages/gsas2-svn">https://aur.archlinux.org/packages/gsas2-svn</a> package. In the
current sources, there is a bug in the file GSASIIdataGUI.py at
the line 617:</p>
<p><code>elif platform.python_version()[:3] not in
['2.7','3.6','3.7','3.8','3.9']:</code></p>
<p>I currently use python 3.10.2. This version is not only missing
on the list, but also when added, the
'platform.python_version()[:3]' return 3.1. I was able to make a
hotfix for my self by changing the line as follows:</p>
<p><code>elif platform.python_version()[:4] not in
['2.7','3.6','3.7','3.8','3.9','3.10']:</code></p>
<p>I don't know if it's a valid solution (I'm, not a python
developer) but maybe You will find better one ;)<br>
</p>
<p>Best regards,<br>
Bartłomiej Gędziorowski<br>
</p>
</body>
</html>