<div dir="ltr">Hi Gianluca,<div><br></div><div>By default, Phenix uses en_US.utf8 for unicode support. You need to install that locale with</div><div><br></div><div><font face="monospace">sudo locale-gen en_US.utf8 </font><br><br>You can check what locales are installed with<br><br><font face="monospace">locale -a</font><br></div><div><br></div><div><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, Jun 22, 2023 at 4:05 AM Gianluca Cioci &lt;<a href="mailto:cioci@insa-toulouse.fr" target="_blank">cioci@insa-toulouse.fr</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">Dear All,<br>
<br>
I am experiencing difficulties in installing Phenix in my Linux system <br>
based on Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-75-generic x86_64)<br>
<br>
Installation is completed, but when I try tu run phenix I get the message:<br>
<br>
12:57:27: Cannot set locale to language &quot;English&quot;.<br>
12:57:27: locale &#39;en_GB&#39; cannot be set.<br>
<br>
and in the terminal I get:<br>
<br>
Error in sys.excepthook:<br>
Traceback (most recent call last):<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py&quot;, <br>
line 898, in _excepthook<br>
     Error.show_exception_dialog(type, value, traceback)<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/Error.py&quot;, <br>
line 76, in show_exception_dialog<br>
     if (app.bug_timer.IsRunning() is False):<br>
AttributeError: &#39;PhenixApp&#39; object has no attribute &#39;bug_timer&#39;<br>
<br>
Original exception was:<br>
Traceback (most recent call last):<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, <br>
line 23, in &lt;module&gt;<br>
     run(sys.argv[1:])<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, <br>
line 17, in run<br>
     wxapp = App.PhenixApp(args)<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py&quot;, <br>
line 74, in __init__<br>
     wx.App.__init__(self, 0)<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, <br>
line 8628, in __init__<br>
     self._BootstrapApp()<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, <br>
line 8196, in _BootstrapApp<br>
     return _core_.PyApp__BootstrapApp(*args, **kwargs)<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py&quot;, <br>
line 108, in OnInit<br>
     show_splash_screen(timeout=2000)<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py&quot;, <br>
line 952, in show_splash_screen<br>
dlg,-1,citations.format_citation(citations.citations_db.get(&quot;phenix&quot;)))<br>
   File <br>
&quot;/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_controls.py&quot;, <br>
line 997, in __init__<br>
_controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args, <br>
**kwargs))<br>
UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xc3 in position 40: <br>
ordinal not in range(128)<br>
<br>
Anyone has a working solution for this ?<br>
<br>
We have tried to change the locale to en_GB, but still it&#39;s not working.<br>
<br>
<br>
With many thanks,<br>
<br>
<br>
GIA<br>
<br>
<br>
<br>
<br>
-- <br>
Dr. Gianluca CIOCI<br>
Toulouse Biotechnology Institute (TBI)<br>
<a rel="noreferrer">https://www.toulouse-biotechnology-institute.fr/en/poles/equipe-cimes/</a><br>
PICT - Plateforme Intégrée de Criblage de Toulouse<br>
<a rel="noreferrer">http://www.pict.ipbs.fr/</a><br>
<br>
Tel: +33 (0)5 61 55 97 68<br>
E-mail: <a>cioci@insa-toulouse.fr</a><br>
<br>
TBI - INSA Toulouse<br>
135 avenue de Rangueil<br>
31077 Toulouse CEDEX 04<br>
<a rel="noreferrer">http://www.toulouse-biotechnology-institute.fr</a><br>
<br>
_______________________________________________<br>
phenixbb mailing list<br>
<a>phenixbb@phenix-online.org</a><br>
<a rel="noreferrer">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a>phenixbb-leave@phenix-online.org</a></blockquote></div>