Opened 5 years ago

Closed 5 years ago

#3443 closed defect (fixed)

Registration error: 'year' is an invalid keyword argument for __new__()

Reported by: daniel.palma.i@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-5.4.44-1-MANJARO-x86_64-with-arch-Manjaro-Linux
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
ChimeraX crashes when using the command:

open 2wur

And the next error is displayed:

Error fetching CCD IPA

Log:
Startup Errors  
---  
error | Bundle 'ChimeraX-Registration' custom initialization failed  
warning | Traceback (most recent call last):  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/core/toolshed/info.py", line 342, in initialize  
api._api_caller.initialize(api, session, self)  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/core/toolshed/__init__.py", line 1599, in initialize  
return cls._get_func(api, "initialize")(session, bi)  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/registration/__init__.py", line 41, in initialize  
nag(session)  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 28, in nag  
if not check_registration(logger=session.logger):  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 49, in check_registration  
return _check_expiration(param, logger)  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 130, in _check_expiration  
expires = _expiration_time(param)  
File "/home/danpal/programs/chimerax-1.0/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 158, in _expiration_time  
timedelta(year=1))  
TypeError: 'year' is an invalid keyword argument for __new__()  
  
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 4.6 (Core Profile) Mesa 20.0.7
OpenGL renderer: AMD RAVEN (DRM 3.35.0, 5.4.44-1-MANJARO, LLVM 10.0.0)
OpenGL vendor: X.Org
Manufacturer: Acer
Model: Aspire A315-41
OS: Manjaro Linux 20.0.3 Lysia
Architecture: 64bit ELF
CPU: 8 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Cache Size: 512 KB
Memory:
	              total        used        free      shared  buff/cache   available
	Mem:           10Gi       3.9Gi       2.9Gi       151Mi       3.9Gi       6.4Gi
	Swap:          45Gi          0B        45Gi

Graphics:
	03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4)	
	Subsystem: Acer Incorporated [ALI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1025:1259]	
	Kernel driver in use: amdgpu
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (3)

comment:1 by pett, 5 years ago

Component: UnassignedInput/Output
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionmmCIF opening intensely slow when Ligand-expo site is down

comment:2 by pett, 5 years ago

Cc: Greg Couch added
Owner: changed from Greg Couch to Conrad Huang
Summary: mmCIF opening intensely slow when Ligand-expo site is downRegistration error: 'year' is an invalid keyword argument for __new__()

Hi Daniel,

The problem opening 2wur is a duplicate of another ticket we have open -- I will add you to the recipient list for that ticket. In the meantime, for structures also available in PDB format (such as 2wur) you can work around this problem by opening the PDB version with "open 2wur for pdb".

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

comment:3 by Conrad Huang, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed in a824e555a.

Not timedelta(year=1); it's timedelta(days=365).

Note: See TracTickets for help on using tickets.