Phenix GUI does not show (on Debian)
Dear all, I installed phenix 1.19.2.4158 on Debian testing (version 11.0) and Debian stable (version 10.10). On Debian stable, phenix works just fine. On Debian stable (kernel 5.10.0-7-amd64), when I type 'phenix' at the command prompt, I get the usually error about the locale 'en_GB' not being available, and the Phenix splash screen, that disappears automatically. After that, nothing happens. The prompt does not return, phenix is running tg@fibonacci:~$ ps -eLF | grep phenix tg 3823 3776 3823 0 1 33859 83056 6 09:36 pts/1 00:00:00 /xtal/Suites/Phenix/phenix-1.19.2-4158/build/../conda_base/bin/python2.7 -Qnew /xtal/Suites/Phenix/phenix-1.19.2-4158/build/../modules/phenix/wxGUI2/command_line/main.py but no GUI shows up. I can use phenix through ssh on stable, so that this is not an urgent issue. I was just wondering if anyone might have a clue why phenix GUI won't show up on Debian testing? I tried two window managers, KDE and awesomewm on two different computers. Best wishes, Tim -- -- Tim Gruene Head of the Centre for X-ray Structure Analysis Faculty of Chemistry University of Vienna Phone: +43-1-4277-70202 GPG Key ID = A46BEE1A
Hi Tim,
Can you try installing the en_GB.utf8 locale? For unicode support, the
default locale is set to en_US.utf8 unless you define the LC_ALL to be some
other locale with UTF8 support.
On Debian/Ubuntu distributions that locale seems to only work if en_GB.utf8
is also available.
You can check what locales are available by typing
locale -a
If en_US.utf-8 and en_GB.utf-8 are not available, you can install the
locales with the instructions here
https://wiki.debian.org/Locale
https://help.ubuntu.com/community/Locale#A.28Re-.29Generating_locales
Basically, if those two locales are not available, you can run
sudo locale-gen en_US.utf8
sudo locale-gen en_GB.utf8
sudo update-locale
The last line may not be needed.
Let me know if it's still not working.
--
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 Wed, Jun 30, 2021 at 12:49 AM Tim Gruene
Dear all,
I installed phenix 1.19.2.4158 on Debian testing (version 11.0) and Debian stable (version 10.10).
On Debian stable, phenix works just fine. On Debian stable (kernel 5.10.0-7-amd64), when I type 'phenix' at the command prompt, I get the usually error about the locale 'en_GB' not being available, and the Phenix splash screen, that disappears automatically. After that, nothing happens. The prompt does not return, phenix is running tg@fibonacci:~$ ps -eLF | grep phenix tg 3823 3776 3823 0 1 33859 83056 6 09:36 pts/1 00:00:00 /xtal/Suites/Phenix/phenix-1.19.2-4158/build/../conda_base/bin/python2.7 -Qnew
/xtal/Suites/Phenix/phenix-1.19.2-4158/build/../modules/phenix/wxGUI2/command_line/main.py
but no GUI shows up.
I can use phenix through ssh on stable, so that this is not an urgent issue. I was just wondering if anyone might have a clue why phenix GUI won't show up on Debian testing? I tried two window managers, KDE and awesomewm on two different computers.
Best wishes, Tim
-- -- Tim Gruene Head of the Centre for X-ray Structure Analysis Faculty of Chemistry University of Vienna
Phone: +43-1-4277-70202
GPG Key ID = A46BEE1A _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb Unsubscribe: [email protected]
Hi Billy,
thanks a lot for the response! It seems that creating the British
locale indeed solved my problem. I am using the US utf8 locale as
default, but the British one was not available.
In case anyone else uses Debian: On Debian, locales are handled
differently from Ubuntu: The command 'locale-gen' does not take any
command line options, but generates all locales as listed in the file
/etc/locale.gen
Hence, I had to uncomment the line containing 'en_GB.UTF-8 UTF-8' and
run locale-gen (as root or via sudo).
Cheers,
Tim
On Fri, 2 Jul 2021 11:48:19 -0700
Billy Poon
Hi Tim,
Can you try installing the en_GB.utf8 locale? For unicode support, the default locale is set to en_US.utf8 unless you define the LC_ALL to be some other locale with UTF8 support.
On Debian/Ubuntu distributions that locale seems to only work if en_GB.utf8 is also available.
You can check what locales are available by typing
locale -a
If en_US.utf-8 and en_GB.utf-8 are not available, you can install the locales with the instructions here
https://wiki.debian.org/Locale https://help.ubuntu.com/community/Locale#A.28Re-.29Generating_locales
Basically, if those two locales are not available, you can run
sudo locale-gen en_US.utf8 sudo locale-gen en_GB.utf8 sudo update-locale
The last line may not be needed.
Let me know if it's still not working.
-- 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 Wed, Jun 30, 2021 at 12:49 AM Tim Gruene
wrote: Dear all,
I installed phenix 1.19.2.4158 on Debian testing (version 11.0) and Debian stable (version 10.10).
On Debian stable, phenix works just fine. On Debian stable (kernel 5.10.0-7-amd64), when I type 'phenix' at the command prompt, I get the usually error about the locale 'en_GB' not being available, and the Phenix splash screen, that disappears automatically. After that, nothing happens. The prompt does not return, phenix is running tg@fibonacci:~$ ps -eLF | grep phenix tg 3823 3776 3823 0 1 33859 83056 6 09:36 pts/1 00:00:00 /xtal/Suites/Phenix/phenix-1.19.2-4158/build/../conda_base/bin/python2.7 -Qnew
/xtal/Suites/Phenix/phenix-1.19.2-4158/build/../modules/phenix/wxGUI2/command_line/main.py
but no GUI shows up.
I can use phenix through ssh on stable, so that this is not an urgent issue. I was just wondering if anyone might have a clue why phenix GUI won't show up on Debian testing? I tried two window managers, KDE and awesomewm on two different computers.
Best wishes, Tim
-- -- Tim Gruene Head of the Centre for X-ray Structure Analysis Faculty of Chemistry University of Vienna
Phone: +43-1-4277-70202
GPG Key ID = A46BEE1A _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb Unsubscribe: [email protected]
-- -- Tim Gruene Head of the Centre for X-ray Structure Analysis Faculty of Chemistry University of Vienna Phone: +43-1-4277-70202 GPG Key ID = A46BEE1A
participants (2)
-
Billy Poon
-
Tim Gruene