<div dir="ltr"><div dir="ltr">Hi Danilo,<div><br></div><div>Another user on Debian 9 had a similar issue. What is the output to &quot;locale -a&quot; and what is your LANG and LC_ALL environment variables set to? And in the &lt;phenix installation&gt;/build/bin/phenix file, there is a place where LC_ALL is set. What is LC_ALL set to in that file?</div><div><br></div><div>For unicode support, Phenix requires a language with UTF8 support (e.g. en_GB.UTF-8). During the installation, Phenix tries to determine the locale from the LC_ALL environment variable. By default, it gets set to en_US.UTF-8 if nothing can be found. However, on Debian 9, I got an error about en_GB even though en_US was available and set as the locale.</div><div><br></div><div>On my Debian 9.6 virtual machine, I have en_US.UTF-8 and en_GB.UTF-8 installed and my phenix installation is using en_US.UTF-8. If you want to update the LC_ALL variable in the scripts in &lt;phenix installation&gt;/build/bin,</div><div><br></div><div>1) Set LC_ALL to the language you want with UTF-8 support (e.g. &quot;export LC_ALL=en_US.UTF-8&quot;)</div><div>2) Run the &quot;config_modules.sh&quot; file in the &lt;phenix installation&gt;/build directory to change all the scripts to use the new locale.</div><div><br clear="all"><div><div dir="ltr" class="gmail-m_2947969452341261777gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><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>Tel: (510) 486-5709</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></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 8, 2019 at 7:47 AM Danilo Belviso &lt;<a href="mailto:danilo.belviso@ic.cnr.it" target="_blank">danilo.belviso@ic.cnr.it</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 Rob,<br>
<br>
Thanks for your suggestions. I have just tried but it doesn&#39;t work, <br>
unfortunately.<br>
<br>
Thanks again.<br>
<br>
Regards,<br>
<br>
Danilo<br>
<br>
Il 2019-01-08 15:43 Robert Oeffner ha scritto:<br>
&gt; Dear Danilo,<br>
&gt; <br>
&gt; <br>
&gt; I encountered the same problem with the locale when installing Phenix<br>
&gt; on Ubuntu on Windows 10. The solution was to do from a bash shell:<br>
&gt; <br>
&gt; <br>
&gt; *cd /usr/share/locale*<br>
&gt; <br>
&gt; **<br>
&gt; <br>
&gt; *sudo locale-gen &quot;en_GB.UTF-8&quot;*<br>
&gt; <br>
&gt; **<br>
&gt; <br>
&gt; *sudo dpkg-reconfigure locales*<br>
&gt; <br>
&gt; I&#39;m no linux expert so I wouldn&#39;t know if this procedure is general<br>
&gt; enough that it would work on your system or if it would also solve the<br>
&gt; other issues you mention before.<br>
&gt; <br>
&gt; Regards,<br>
&gt; <br>
&gt; Rob<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On 08/01/2019 14:32, Danilo Belviso wrote:<br>
&gt;&gt; Dear all,<br>
&gt;&gt; <br>
&gt;&gt; I am intalling phenix on my Debian 9.6.<br>
&gt;&gt; <br>
&gt;&gt; My arch is adm64 thus I downloaded the phenix version named Kernel 2.6 <br>
&gt;&gt; (64-bit; CentOS 6).<br>
&gt;&gt; <br>
&gt;&gt; The installation procedure has been performed as suggested by the <br>
&gt;&gt; guide and no problems were obtained. However, by running phenix (after <br>
&gt;&gt; source phenix_env.sh) I get the follow output with several errors:<br>
&gt;&gt; <br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion <br>
&gt;&gt; &#39;G_IS_LOADABLE_ICON (icon)&#39; failed<br>
&gt;&gt; (main.py:14196): Gtk-WARNING **: Error loading theme icon &#39;gtk-ok&#39; for <br>
&gt;&gt; stock: Failed to load icon<br>
&gt;&gt; (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion <br>
&gt;&gt; &#39;pixbuf != NULL&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion <br>
&gt;&gt; &#39;G_IS_OBJECT (object)&#39; failed<br>
&gt;&gt; <br>
&gt;&gt; Error in sys.excepthook:<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py&quot;, <br>
&gt;&gt; line 886, in _excepthook<br>
&gt;&gt;     Error.show_exception_dialog(type, value, traceback)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Error.py&quot;, <br>
&gt;&gt; line 75, in show_exception_dialog<br>
&gt;&gt;     if (app.bug_timer.IsRunning() is False):<br>
&gt;&gt; AttributeError: &#39;PhenixApp&#39; object has no attribute &#39;bug_timer&#39;<br>
&gt;&gt; <br>
&gt;&gt; Original exception was:<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, <br>
&gt;&gt; line 23, in &lt;module&gt;<br>
&gt;&gt;     run(sys.argv[1:])<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/build/../modules/phenix/wxGUI2/command_line/main.py&quot;, <br>
&gt;&gt; line 17, in run<br>
&gt;&gt;     wxapp = App.PhenixApp(args)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py&quot;, <br>
&gt;&gt; line 70, in __init__<br>
&gt;&gt;     wx.App.__init__(self, 0)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, <br>
&gt;&gt; line 8628, in __init__<br>
&gt;&gt;     self._BootstrapApp()<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py&quot;, <br>
&gt;&gt; line 8196, in _BootstrapApp<br>
&gt;&gt;     return _core_.PyApp__BootstrapApp(*args, **kwargs)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py&quot;, <br>
&gt;&gt; line 116, in OnInit<br>
&gt;&gt;     self.start_gui()<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py&quot;, <br>
&gt;&gt; line 144, in start_gui<br>
&gt;&gt;     callback_on_import=self.show_message)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py&quot;, <br>
&gt;&gt; line 280, in start_tracking<br>
&gt;&gt;     project_class=&quot;wxGUI2.Tracking.phenix_project_database&quot;, **kwds)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/__init__.py&quot;, <br>
&gt;&gt; line 19, in start_tracking<br>
&gt;&gt;     callback_on_import=callback_on_import)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py&quot;, <br>
&gt;&gt; line 117, in __init__<br>
&gt;&gt;     super(phenix_project_database, self).__init__(*args, **kwds)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/project_db.py&quot;, <br>
&gt;&gt; line 39, in __init__<br>
&gt;&gt;     self.choose_project(try_current_dir=True)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/project_db.py&quot;, <br>
&gt;&gt; line 339, in choose_project<br>
&gt;&gt;     project_info = self.create_first_project()<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py&quot;, <br>
&gt;&gt; line 124, in create_first_project<br>
&gt;&gt;     from wxGUI2.Home import Projects<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Home/Projects.py&quot;, <br>
&gt;&gt; line 3, in &lt;module&gt;<br>
&gt;&gt;     from wxGUI2 import Base, Controls, PhilLayout, Windows, utils, <br>
&gt;&gt; Buttons<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/PhilLayout.py&quot;, <br>
&gt;&gt; line 5, in &lt;module&gt;<br>
&gt;&gt;     from wxGUI2 import Base, Controls, Windows, utils, PhilInterface, <br>
&gt;&gt; FileDisplay<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/FileDisplay.py&quot;, <br>
&gt;&gt; line 5, in &lt;module&gt;<br>
&gt;&gt;     import wxtbx.info_panels<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/cctbx_project/wxtbx/info_panels.py&quot;, <br>
&gt;&gt; line 5, in &lt;module&gt;<br>
&gt;&gt;     import wxtbx.plots<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/modules/cctbx_project/wxtbx/plots/__init__.py&quot;, <br>
&gt;&gt; line 21, in &lt;module&gt;<br>
&gt;&gt;     locale.setlocale(locale.LC_ALL, &#39;&#39;)<br>
&gt;&gt;   File <br>
&gt;&gt; &quot;/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/locale.py&quot;, <br>
&gt;&gt; line 581, in setlocale<br>
&gt;&gt;     return _setlocale(category, locale)<br>
&gt;&gt; locale.Error: unsupported locale setting<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Phenix starts by opening a window that states &quot;locale &#39;en_GB&#39; cannot <br>
&gt;&gt; be set&quot; and abruptly closes so that I cannot use it.<br>
&gt;&gt; <br>
&gt;&gt; Do you have any suggestions to overcome such problems?<br>
&gt;&gt; <br>
&gt;&gt; I tried with Kernel 2.6 (64-bit; CentOS 5) and the 32-bit version too <br>
&gt;&gt; and the result is the same.<br>
&gt;&gt; <br>
&gt;&gt; Thanks in advance for your suggestions.<br>
&gt;&gt; <br>
&gt;&gt; Danilo<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; phenixbb mailing list<br>
&gt;&gt; <a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
&gt;&gt; <a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
&gt;&gt; Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank">phenixbb-leave@phenix-online.org</a><br>
_______________________________________________<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></blockquote></div>