<div dir="ltr">Hi Dmitry,<div><br></div><div>Yes, on Ubuntu, there is a quirk where both en_GB.UTF-8 and en_US.UTF-8 need to be installed. The default locale for Phenix i en_US and for some reason, en_GB is needed for that to work.</div><div><br></div><div>You can check the instructions here</div><div><br></div><div><a href="https://github.com/phenix-project/phenix_html/blob/master/wsl_instructions.md#installing-locales">https://github.com/phenix-project/phenix_html/blob/master/wsl_instructions.md#installing-locales</a><br></div><div><br></div><div>That document also has instructions for getting Coot to run in WSL.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 26, 2023 at 4:43 PM Dmitry Semchonok &lt;<a href="mailto:semchonok@gmail.com">semchonok@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg-3619833464305108852">




<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Dear colleagues,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Installing phenix of WSL I received an error - </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(23,78,134)">david@DESKTOP-NMD1JP9:~$ phenix</span>
<div><span style="color:rgb(23,78,134)">[1] 402</span></div>
<div><span style="color:rgb(23,78,134)">david@DESKTOP-NMD1JP9:~$ Error in sys.excepthook:</span></div>
<div><span style="color:rgb(23,78,134)">Traceback (most recent call last):</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py&quot;, line 961, in _excepthook</span></div>
<div><span style="color:rgb(23,78,134)">    Error.show_exception_dialog(type, value, traceback)</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/Error.py&quot;, line 76, in show_exception_dialog</span></div>
<div><span style="color:rgb(23,78,134)">    if (app.bug_timer.IsRunning() is False):</span></div>
<div><span style="color:rgb(23,78,134)">AttributeError: &#39;PhenixApp&#39; object has no attribute &#39;bug_timer&#39;</span></div>
<div><br>
</div>
<div><span style="color:rgb(23,78,134)">Original exception was:</span></div>
<div><span style="color:rgb(23,78,134)">Traceback (most recent call last):</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, line 34, in &lt;module&gt;</span></div>
<div><span style="color:rgb(23,78,134)">    run(sys.argv[1:])</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, line 28, in run</span></div>
<div><span style="color:rgb(23,78,134)">    wxapp = App.PhenixApp(args)</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py&quot;, line 84, in __init__</span></div>
<div><span style="color:rgb(23,78,134)">    wx.App.__init__(self, 0)</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, line 8628, in __init__</span></div>
<div><span style="color:rgb(23,78,134)">    self._BootstrapApp()</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, line 8196, in _BootstrapApp</span></div>
<div><span style="color:rgb(23,78,134)">    return _core_.PyApp__BootstrapApp(*args, **kwargs)</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py&quot;, line 118, in OnInit</span></div>
<div><span style="color:rgb(23,78,134)">    show_splash_screen(timeout=2000)</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py&quot;, line 1015, in show_splash_screen</span></div>
<div><span style="color:rgb(23,78,134)">    dlg,-1,citations.format_citation(citations.citations_db.get(&quot;phenix&quot;)))</span></div>
<div><span style="color:rgb(23,78,134)">  File &quot;/usr/local/phenix-1.21rc1-5130/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_controls.py&quot;, line 997, in __init__</span></div>
<div><span style="color:rgb(23,78,134)">    _controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args, **kwargs))</span></div>
<span style="color:rgb(23,78,134)">UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xc3 in position 40: ordinal not in range(128)</span><br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<ol>
<li style="list-style-type:&quot;1) &quot;">it is a new Desktop and WSL;</li><li style="list-style-type:&quot;2) &quot;">Additionally, I installed python</li><li style="list-style-type:&quot;3) &quot;">I run sudo locale-gen &quot;en_GB.UTF-8&quot;  (but maybe there is a command to check if it works properly)</li><li style="list-style-type:&quot;4) &quot;">on my laptop WSL phenix works nicely</li></ol>
<div><br>
</div>
<div>Any advice? </div>
<div><br>
</div>
<div>Many thanks.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div>Dmitry </div>
</div>
</div>

_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank">phenixbb-leave@phenix-online.org</a></div></blockquote></div>