Opened 4 years ago

Closed 4 years ago

#5425 closed defect (fixed)

no 'contacts' in interfaces.cmd

Reported by: pett Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Documentation Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

WARNING: autodoc: failed to import function 'contacts' from module 'chimerax.interfaces.cmd'; the following exception was raised:
Traceback (most recent call last):

File "/private/var/tmp/chimerax_build/develop/chimerax/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sphinx/util/inspect.py", line 423, in safe_getattr

return getattr(obj, name, *defargs)

AttributeError: module 'chimerax.interfaces.cmd' has no attribute 'contacts'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/private/var/tmp/chimerax_build/develop/chimerax/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sphinx/ext/autodoc/importer.py", line 110, in import_object

obj = attrgetter(obj, mangled_name)

File "/private/var/tmp/chimerax_build/develop/chimerax/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sphinx/ext/autodoc/init.py", line 332, in get_attr

return autodoc_attrgetter(self.env.app, obj, name, *defargs)

File "/private/var/tmp/chimerax_build/develop/chimerax/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sphinx/ext/autodoc/init.py", line 2771, in autodoc_attrgetter

return safe_getattr(obj, name, *defargs)

File "/private/var/tmp/chimerax_build/develop/chimerax/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sphinx/util/inspect.py", line 439, in safe_getattr

raise AttributeError(name) from exc

AttributeError: contacts

Change History (2)

comment:1 by pett, 4 years ago

A recent change renamed 'contacts' to 'interfaces'

comment:2 by Tom Goddard, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Contacts command was renamed interfaces but programmer docs were not updated.

Note: See TracTickets for help on using tickets.