Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17661

Fix pipelines.lsst.io build issue from 2019-01-30 #337

    XMLWordPrintable

    Details

      Description

      pipelines.lsst.io build failures started on 2019-01-30 with this job: https://ci.lsst.codes/job/sqre/job/infra/job/documenteer/337/display/redirect

      It looks like an exception is being thrown by the lssttasks extensions in documenteer with a new registry-based task configured.

      reading sources... [ 15%] modules/lsst.skymap/index                            
      reading sources... [ 16%] modules/lsst.utils/index                             
      reading sources... [ 16%] modules/lsst.validate.drp/index                      
      reading sources... [ 16%] modules/lsst.verify/index                            
      reading sources... [ 16%] modules/lsst.verify/inspect_job                      
      reading sources... [ 16%] modules/lsst.verify/tasks/lsst.verify.compatibility.MetricTask
      reading sources... [ 16%] modules/lsst.verify/tasks/lsst.verify.compatibility.MetricsControllerTask
      /j/ws/sqre/infra/documenteer/doc_template/modules/lsst.afw.detection/index.rst:19: WARNING: toctree contains reference to nonexisting document 'modules/lsst.afw.detection/: maxdepth: 1'
      /j/ws/sqre/infra/documenteer/doc_template/modules/lsst.meas.base/index.rst:73: WARNING: Tried to skip objects {'ForcedFromGenericPlugin', 'SingleFrameFromGenericPlugin'} in module lsst.meas.base, but they were not present.  Ignoring.
      /j/ws/sqre/infra/documenteer/doc_template/modules/lsst.meas.base/index.rst:81: WARNING: Tried to skip objects {'ForcedFromGenericPlugin', 'SingleFrameFromGenericPlugin'} in module lsst.meas.base, but they were not present.  Ignoring.
      WARNING: Object <function MergeDetectionsTask.runDataRef at 0x7fe307349f28> doesn't have a docstring.
      WARNING: :1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
      WARNING: Object <function MergeDetectionsTask.runDataRef at 0x7fe307349f28> doesn't have a docstring.
      WARNING: :1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
      WARNING: :3: (ERROR/3) Unexpected indentation.
      WARNING: :4: (WARNING/2) Block quote ends without a blank line; unexpected unindent.
      WARNING: :6: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
       
      Traceback (most recent call last):
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/documenteer/sphinxrunner.py", line 85, in run_sphinx
          app.build(force_all, filenames)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/application.py", line 325, in build
          self.builder.build_all()
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 299, in build_all
          self.build(None, summary='all source files', method='all')
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 355, in build
          updated_docnames = set(self.env.update(self.config, self.srcdir, self.doctreedir))
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 568, in update
          self._read_serial(docnames, self.app)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 587, in _read_serial
          self.read_doc(docname, app)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 662, in read_doc
          doctree = read_doc(self.app, self, self.doc2path(docname))
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/io.py", line 302, in read_doc
          pub.publish()
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/core.py", line 217, in publish
          self.settings)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/readers/__init__.py", line 72, in read
          self.parse()
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/readers/__init__.py", line 78, in parse
          self.parser.parse(self.input, document)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/sphinx/parsers.py", line 85, in parse
          self.statemachine.run(inputstring, document, inliner=self.inliner)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 171, in run
          input_source=document['source'])
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
          context, state, transitions)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
          return method(match, context, next_state)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2988, in text
          self.section(title.lstrip(), source, style, lineno + 1, messages)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 327, in section
          self.new_subsection(title, lineno, messages)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
          node=section_node, match_titles=True)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
          node=node, match_titles=match_titles)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 196, in run
          results = StateMachineWS.run(self, input_lines, input_offset)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
          context, state, transitions)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
          return method(match, context, next_state)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2753, in underline
          self.section(title, source, style, lineno - 1, messages)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 327, in section
          self.new_subsection(title, lineno, messages)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
          node=section_node, match_titles=True)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
          node=node, match_titles=match_titles)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 196, in run
          results = StateMachineWS.run(self, input_lines, input_offset)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
          context, state, transitions)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
          return method(match, context, next_state)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2326, in explicit_markup
          nodelist, blank_finish = self.explicit_construct(match)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2338, in explicit_construct
          return method(self, expmatch)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2081, in directive
          directive_class, match, type_name, option_presets)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2130, in run_directive
          result = directive_instance.run()
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/documenteer/sphinxext/lssttasks/configfieldlists.py", line 166, in run
          self.lineno)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/documenteer/sphinxext/lssttasks/configfieldlists.py", line 308, in wrapped_formatter
          nodes = formatter(*args, **kwargs)
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/documenteer/sphinxext/lssttasks/configfieldlists.py", line 933, in format_registryfield_nodes
          name = '.'.join((choice_class.__module__, choice_class.__name__))
      AttributeError: 'ConfigurableWrapper' object has no attribute '__name__'
       
      Exception occurred:
        File "/j/ws/sqre/infra/documenteer/doc_template/home/.local/lib/python3.6/site-packages/documenteer/sphinxext/lssttasks/configfieldlists.py", line 933, in format_registryfield_nodes
          name = '.'.join((choice_class.__module__, choice_class.__name__))
      AttributeError: 'ConfigurableWrapper' object has no attribute '__name__'
      The full traceback has been saved in /tmp/sphinx-err-z650nlp3.log, if you want to report the issue to the developers.
      Please also report this if it was a user error, so that a better error message can be provided next time.
      A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
      2019-01-31 05:39:08,623 ERROR documenteer.stackdocs.build: Sphinx errored: code 1
      script returned exit code 1 

      This ticket is to diagnose the issue and fix it.

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            Released in documenteer 0.4.4.

            Show
            jsick Jonathan Sick added a comment - Released in documenteer 0.4.4.

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.