Opened 5 years ago
Closed 5 years ago
#3306 closed defect (fixed)
ChimeraX startup: unsupported locale setting
Reported by: | Owned by: | Greg Couch | |
---|---|---|---|
Priority: | normal | Milestone: | 1.1 |
Component: | Core | Version: | |
Keywords: | Cc: | Conrad Huang | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17763 ChimeraX Version: 1.0rc202005242323 (2020-05-24 23:23:37 UTC) Description I started ChimeraX and these was a startup error Log: Startup Errors --- error | Bundle 'ChimeraX-Registration' custom initialization failed warning | Traceback (most recent call last): File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\core\toolshed\info.py", line 342, in initialize api._api_caller.initialize(api, session, self) File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\core\toolshed\\__init__.py", line 1571, in initialize return cls._get_func(api, "initialize")(session, bi) File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\registration\\__init__.py", line 41, in initialize nag(session) File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\registration\nag.py", line 28, in nag if not check_registration(logger=session.logger): File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\registration\nag.py", line 49, in check_registration return _check_expiration(param, logger) File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\registration\nag.py", line 130, in _check_expiration expires = _expiration_time(param) File "D:\ChimeraX 1.0rc202005242323\bin\lib\site- packages\chimerax\registration\nag.py", line 151, in _expiration_time locale.setlocale(locale.LC_TIME, "en_US.UTF-8") File "D:\ChimeraX 1.0rc202005242323\bin\lib\locale.py", line 608, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting > cd "C:\Users\Tony Schaefer/Desktop" Current working directory is: C:\Users\Tony Schaefer\Desktop UCSF ChimeraX version: 1.0rc202005242323 (2020-05-24) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX OpenGL version: 3.3.0 NVIDIA 445.75 OpenGL renderer: GeForce RTX 2070/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation Manufacturer: To Be Filled By O.E.M. Model: To Be Filled By O.E.M. OS: Microsoft Windows 10 Education (Build 17763) Memory: 17,107,533,824 MaxProcessMemory: 137,438,953,344 CPU: 16 AMD Ryzen 7 2700X Eight-Core Processor " PyQt version: 5.12.3 Compiled Qt version: 5.12.4 Runtime Qt version: 5.12.8
Change History (4)
comment:1 by , 5 years ago
Cc: | added |
---|---|
Component: | Unassigned → Core |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → ChimeraX startup: unsupported locale setting |
comment:3 by , 5 years ago
Cc: | added; removed |
---|---|
Milestone: | → 1.1 |
Owner: | changed from | to
Conrad is retired. Seems pretty important to not get registration errors on startup.
comment:4 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed code to use hardcoded strftime and strptime for our time format in English, instead of changing the locale. All registration dates, that are shown to the user, are in the user's locale.
Note:
See TracTickets
for help on using tickets.