Dear Danilo, I encountered the same problem with the locale when installing Phenix on Ubuntu on Windows 10. The solution was to do from a bash shell: *cd /usr/share/locale* ** *sudo locale-gen "en_GB.UTF-8"* ** *sudo dpkg-reconfigure locales* I'm no linux expert so I wouldn't know if this procedure is general enough that it would work on your system or if it would also solve the other issues you mention before. Regards, Rob On 08/01/2019 14:32, Danilo Belviso wrote:
Dear all,
I am intalling phenix on my Debian 9.6.
My arch is adm64 thus I downloaded the phenix version named Kernel 2.6 (64-bit; CentOS 6).
The installation procedure has been performed as suggested by the guide and no problems were obtained. However, by running phenix (after source phenix_env.sh) I get the follow output with several errors:
(main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (main.py:14196): Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Failed to load icon (main.py:14196): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (main.py:14196): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Error in sys.excepthook: Traceback (most recent call last): File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py", line 886, in _excepthook Error.show_exception_dialog(type, value, traceback) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Error.py", line 75, in show_exception_dialog if (app.bug_timer.IsRunning() is False): AttributeError: 'PhenixApp' object has no attribute 'bug_timer'
Original exception was: Traceback (most recent call last): File "/home/bbdanilo/Programmi/phenix-1.14-3260/build/../modules/phenix/wxGUI2/command_line/main.py", line 23, in <module> run(sys.argv[1:]) File "/home/bbdanilo/Programmi/phenix-1.14-3260/build/../modules/phenix/wxGUI2/command_line/main.py", line 17, in run wxapp = App.PhenixApp(args) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py", line 70, in __init__ wx.App.__init__(self, 0) File "/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__ self._BootstrapApp() File "/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py", line 116, in OnInit self.start_gui() File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/App.py", line 144, in start_gui callback_on_import=self.show_message) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py", line 280, in start_tracking project_class="wxGUI2.Tracking.phenix_project_database", **kwds) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/__init__.py", line 19, in start_tracking callback_on_import=callback_on_import) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py", line 117, in __init__ super(phenix_project_database, self).__init__(*args, **kwds) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/project_db.py", line 39, in __init__ self.choose_project(try_current_dir=True) File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/phenix/tracking/project_db.py", line 339, in choose_project project_info = self.create_first_project() File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Tracking.py", line 124, in create_first_project from wxGUI2.Home import Projects File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/Home/Projects.py", line 3, in <module> from wxGUI2 import Base, Controls, PhilLayout, Windows, utils, Buttons File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/PhilLayout.py", line 5, in <module> from wxGUI2 import Base, Controls, Windows, utils, PhilInterface, FileDisplay File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/phenix/wxGUI2/FileDisplay.py", line 5, in <module> import wxtbx.info_panels File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/cctbx_project/wxtbx/info_panels.py", line 5, in <module> import wxtbx.plots File "/home/bbdanilo/Programmi/phenix-1.14-3260/modules/cctbx_project/wxtbx/plots/__init__.py", line 21, in <module> locale.setlocale(locale.LC_ALL, '') File "/home/bbdanilo/Programmi/phenix-1.14-3260/base/lib/python2.7/locale.py", line 581, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
Phenix starts by opening a window that states "locale 'en_GB' cannot be set" and abruptly closes so that I cannot use it.
Do you have any suggestions to overcome such problems?
I tried with Kernel 2.6 (64-bit; CentOS 5) and the 32-bit version too and the result is the same.
Thanks in advance for your suggestions.
Danilo _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb Unsubscribe: [email protected]
-- Robert Oeffner, Ph.D. Research Associate, The Read Group Department of Haematology, Cambridge Institute for Medical Research University of Cambridge Cambridge Biomedical Campus Wellcome Trust/MRC Building Hills Road Cambridge CB2 0XY www.cimr.cam.ac.uk/investigators/read/index.html tel: +44(0)1223 763234