problems in running Phenix
Dear All, I am experiencing difficulties in installing Phenix in my Linux system based on Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-75-generic x86_64) Installation is completed, but when I try tu run phenix I get the message: 12:57:27: Cannot set locale to language "English". 12:57:27: locale 'en_GB' cannot be set. and in the terminal I get: Error in sys.excepthook: Traceback (most recent call last): File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 898, in _excepthook Error.show_exception_dialog(type, value, traceback) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/Error.py", line 76, 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 "/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py", line 23, in <module> run(sys.argv[1:]) File "/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py", line 17, in run wxapp = App.PhenixApp(args) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 74, in __init__ wx.App.__init__(self, 0) File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__ self._BootstrapApp() File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 108, in OnInit show_splash_screen(timeout=2000) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 952, in show_splash_screen dlg,-1,citations.format_citation(citations.citations_db.get("phenix"))) File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_controls.py", line 997, in __init__ _controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args, **kwargs)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128) Anyone has a working solution for this ? We have tried to change the locale to en_GB, but still it's not working. With many thanks, GIA -- Dr. Gianluca CIOCI Toulouse Biotechnology Institute (TBI) https://www.toulouse-biotechnology-institute.fr/en/poles/equipe-cimes/ PICT - Plateforme Intégrée de Criblage de Toulouse http://www.pict.ipbs.fr/ Tel: +33 (0)5 61 55 97 68 E-mail: [email protected] TBI - INSA Toulouse 135 avenue de Rangueil 31077 Toulouse CEDEX 04 http://www.toulouse-biotechnology-institute.fr
Hi Gianluca,
By default, Phenix uses en_US.utf8 for unicode support. You need to install
that locale with
sudo locale-gen en_US.utf8
You can check what locales are installed with
locale -a
--
Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Fax: (510) 486-5909
Web: https://phenix-online.org
On Thu, Jun 22, 2023 at 4:05 AM Gianluca Cioci
Dear All,
I am experiencing difficulties in installing Phenix in my Linux system based on Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-75-generic x86_64)
Installation is completed, but when I try tu run phenix I get the message:
12:57:27: Cannot set locale to language "English". 12:57:27: locale 'en_GB' cannot be set.
and in the terminal I get:
Error in sys.excepthook: Traceback (most recent call last): File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 898, in _excepthook Error.show_exception_dialog(type, value, traceback) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/Error.py", line 76, 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 "/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py",
line 23, in <module> run(sys.argv[1:]) File "/data/software/phenix/phenix-1.20.1-4487/build/../modules/phenix/wxGUI2/command_line/main.py",
line 17, in run wxapp = App.PhenixApp(args) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 74, in __init__ wx.App.__init__(self, 0) File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
line 8628, in __init__ self._BootstrapApp() File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
line 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 108, in OnInit show_splash_screen(timeout=2000) File "/data/software/phenix/phenix-1.20.1-4487/modules/phenix/wxGUI2/App.py", line 952, in show_splash_screen dlg,-1,citations.format_citation(citations.citations_db.get("phenix"))) File "/data/software/phenix/phenix-1.20.1-4487/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_controls.py",
line 997, in __init__ _controls_.StaticText_swiginit(self,_controls_.new_StaticText(*args, **kwargs)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)
Anyone has a working solution for this ?
We have tried to change the locale to en_GB, but still it's not working.
With many thanks,
GIA
-- Dr. Gianluca CIOCI Toulouse Biotechnology Institute (TBI) https://www.toulouse-biotechnology-institute.fr/en/poles/equipe-cimes/ PICT - Plateforme Intégrée de Criblage de Toulouse http://www.pict.ipbs.fr/
Tel: +33 (0)5 61 55 97 68 E-mail: [email protected]
TBI - INSA Toulouse 135 avenue de Rangueil 31077 Toulouse CEDEX 04 http://www.toulouse-biotechnology-institute.fr
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb Unsubscribe: [email protected]
participants (2)
-
Billy Poon
-
Gianluca Cioci