Opened 3 years ago

Closed 3 years ago

#7301 closed defect (duplicate)

Freeze on Ubuntu 22.04 + registration date/time error

Reported by: hoh@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Platform Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hi

I've installed chim after updating ubunut to 22.04 nad got this error
Chim windows appears but it is freezed.

=================================================================================================================
(base) fhoh@fhoh-Precision-Tower-7810:~$ chim
WARNING: Traceback (most recent call last):
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 278, in _strptime
     month = _months.index(month_name)
ValueError: tuple.index(x): x not in tuple

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 289, in _strptime
     return datetime.strptime(TimeFormat, value)
   File "/usr/lib/ucsf-chimerax/lib/python3.9/_strptime.py", line 568, in 
_strptime_datetime
     tt, fraction, gmtoff_fraction = _strptime(data_string, format)
   File "/usr/lib/ucsf-chimerax/lib/python3.9/_strptime.py", line 349, in 
_strptime
     raise ValueError("time data %r does not match format %r" %
ValueError: time data '%a %b %d %H:%M:%S %Y' does not match format 'lun. 
oct. 14 16:11:34 2019'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/core/toolshed/info.py", 
line 365, in initialize
     api._api_caller.initialize(api, session, self)
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/core/toolshed/__init__.py", 
line 1278, in initialize
     return cls._get_func(api, "initialize")(session, bi)
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/__init__.py", 
line 41, in initialize
     nag(session)
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 38, in nag
     _check_usage(session)
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 192, in _check_usage
     usage = _get_usage()
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 240, in _get_usage
     usage["dates"].append(_strptime(value))
   File 
"/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/registration/nag.py", 
line 291, in _strptime
     raise ValueError("time data does not match format")
ValueError: time data does not match format

ERROR: Bundle 'ChimeraX-Registration' custom initialization failed
=========================================================================================================================

I tried to find by myself without succes

Thank's

FH



-- 
________________________________________
Hoh François, PhD

Research Engineer

Team BSME: Biologie structurale multi-échelles

Centre de biochimie Structurale de Montpellier
CNRS UMR 5048 - UM - INSERM U 1054
29 rue de Navacelles
34090 MONTPELLIER Cedex - FRANCE
http://www.cbs.cnrs.fr

Tel: (33) 04 67 41 77 29

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Attachments (2)

fh.pdf (69.9 KB ) - added by hoh@… 3 years ago.
Added by email2trac
Capture d’écran du 2022-09-02 11-48-01.png (29.7 KB ) - added by hoh@… 3 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (12)

comment:1 by Eric Pettersen, 3 years ago

Cc: Tom Goddard added
Component: UnassignedPlatform
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: bugFreeze on Ubuntu 22.04 + registration date/time error

comment:2 by Greg Couch, 3 years ago

Status: assignedfeedback

Salut François,

Thank you for the bug report. This bug should only happen if started using ChimeraX before version 1.2 and you changed the locale (default language) of your computer since then. To help me reproduce this bug, please send us the output of the locale command and the contents of ~/.local/share/ChimeraX/preregistration.

The fix to remove ~/.local/share/ChimeraX/preregistration. That will reset the clock for when ChimeraX nags you to register, which should be okay.

-- Greg

in reply to:  3 ; comment:3 by hoh@…, 3 years ago

Hi  Greg

Thank's for those info's

I'll try asap (I'm out for the moment)

Let you know

FH

________________________________________
Hoh François, PhD

Research Engineer

Team BSME: Biologie structurale multi-échelles

Centre de biochimie Structurale de Montpellier
CNRS UMR 5048 - UM - INSERM U 1054
29 rue de Navacelles
34090 MONTPELLIER Cedex - FRANCE
http://www.cbs.cnrs.fr

Tel: (33) 04 67 41 77 29

in reply to:  4 ; comment:4 by hoh@…, 3 years ago

Hi


Here:
count: 4
date: lun. oct. 14 16:11:34 2019
date: mer. oct. 16 13:28:52 2019
date: mer. juin 17 12:42:44 2020

but still freezing after presentation removing (fh.pdf)

FH


Le 2022-07-19 21:52, ChimeraX a écrit :

fh.pdf

by hoh@…, 3 years ago

Attachment: fh.pdf added

Added by email2trac

in reply to:  6 comment:5 by Tom Goddard, 3 years ago

Maybe the hang is related to auto-starting the side view tool.  You could try starting ChimeraX with no autostarted tools

	chimerax --notools

in reply to:  7 ; comment:6 by hoh@…, 3 years ago

Hi Tom

With this command , I have chimX window but empty and same behaviour 
(freezing)

Thank's

FH

Capture d’écran du 2022-09-02 11-48-01.png

by hoh@…, 3 years ago

Added by email2trac

comment:7 by Greg Couch, 3 years ago

To help us figure out were ChimeraX is hanging, start ChimeraX from a terminal window. Then, when it hangs, type C (Control-C) to get a backtrace. And send us the output in the terminal (cut & paste, not a screenshot). And since weird bugs are sometimes due to buggy graphics drivers, please send us the output from the command "lspci | grep VGA".

After that:

(1) If you have NVidia graphics, make sure you have the proprietary driver installed. If you install it, reboot, and test again.

(2) This is drastic, but might be needed. Remove all of your customizations and settings with:

rm -rf ~/.config/ChimeraX ~/.cache/ChimeraX ~/.local/share/ChimeraX

And test again.

And if none of that works, we'll need to schedule a zoom meeting using that computer so we can interactively debug it. Bon chance.

comment:8 by Greg Couch, 3 years ago

bonne chance :-)

in reply to:  11 comment:9 by hoh@…, 3 years ago

Hi

I've checked all points and no change. Still freezing

FH

________________________________________
Hoh François, PhD

Research Engineer

Team BSME: Biologie structurale multi-échelles

Centre de biochimie Structurale de Montpellier
CNRS UMR 5048 - UM - INSERM U 1054
29 rue de Navacelles
34090 MONTPELLIER Cedex - FRANCE
http://www.cbs.cnrs.fr

Tel: (33) 04 67 41 77 29

comment:10 by Greg Couch, 3 years ago

Resolution: duplicate
Status: feedbackclosed

Duplicate of #8059

Note: See TracTickets for help on using tickets.