[phenixbb] an installation issue

Billy Poon BKPoon at lbl.gov
Fri Oct 27 07:57:53 PDT 2023


Hi Dmitry,

Yes, on Ubuntu, there is a quirk where both en_GB.UTF-8 and en_US.UTF-8
need to be installed. The default locale for Phenix i en_US and for some
reason, en_GB is needed for that to work.

You can check the instructions here

https://github.com/phenix-project/phenix_html/blob/master/wsl_instructions.md#installing-locales

That document also has instructions for getting Coot to run in WSL.

--
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, Oct 26, 2023 at 4:43 PM Dmitry Semchonok <semchonok at gmail.com>
wrote:

> Dear colleagues,
>
> Installing phenix of WSL I received an error -
>
>
> david at DESKTOP-NMD1JP9:~$ phenix
> [1] 402
> david at DESKTOP-NMD1JP9:~$ Error in sys.excepthook:
> Traceback (most recent call last):
>   File "/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py", line
> 961, in _excepthook
>     Error.show_exception_dialog(type, value, traceback)
>   File "/usr/local/phenix-1.21rc1-5130/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
> "/usr/local/phenix-1.21rc1-5130/build/../modules/phenix/wxGUI2/command_line/main.py",
> line 34, in <module>
>     run(sys.argv[1:])
>   File
> "/usr/local/phenix-1.21rc1-5130/build/../modules/phenix/wxGUI2/command_line/main.py",
> line 28, in run
>     wxapp = App.PhenixApp(args)
>   File "/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py", line
> 84, in __init__
>     wx.App.__init__(self, 0)
>   File
> "/usr/local/phenix-1.21rc1-5130/conda_base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
> line 8628, in __init__
>     self._BootstrapApp()
>   File
> "/usr/local/phenix-1.21rc1-5130/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 "/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py", line
> 118, in OnInit
>     show_splash_screen(timeout=2000)
>   File "/usr/local/phenix-1.21rc1-5130/modules/phenix/wxGUI2/App.py", line
> 1015, in show_splash_screen
>     dlg,-1,citations.format_citation(citations.citations_db.get("phenix")))
>   File
> "/usr/local/phenix-1.21rc1-5130/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)
>
>
>
>
>    1. it is a new Desktop and WSL;
>    2. Additionally, I installed python
>    3. I run sudo locale-gen "en_GB.UTF-8"  (but maybe there is a command
>    to check if it works properly)
>    4. on my laptop WSL phenix works nicely
>
>
> Any advice?
>
> Many thanks.
>
> Sincerely,
> Dmitry
> _______________________________________________
> phenixbb mailing list
> phenixbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/phenixbb
> Unsubscribe: phenixbb-leave at phenix-online.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20231027/275ec776/attachment.htm>


More information about the phenixbb mailing list