Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-3045

AttributeError: Function definition not found

    XMLWordPrintableJSON

Details

    Description

      While running

      systemds/src/main/python $ python3 create_python_dist.py
      

       

      Error message:

      [WARNING] The parameter names of the function does not match with the documentation for file 'sherlock'.
      [WARNING] The parameter type of the function does not match with the documentation for file 'sherlock'.
      [WARNING] Could not parse header in file 'sherlockNet.dml'.
      Traceback (most recent call last):
       File "generator/generator.py", line 334, in <module>
       data = f_parser.parse_function(dml_file)
       File "/workspace/systemds/src/main/python/generator/parser.py", line 60, in parse_function
       function_definition = self.find_function_definition(path)
       File "/workspace/systemds/src/main/python/generator/parser.py", line 174, in find_function_definition
       raise AttributeError("Function definition not found in : " + path)
      AttributeError: Function definition not found in : ../../../scripts/builtin/sherlockNet.dml
      [ERROR] error in : '../../../scripts/builtin/sherlockNet.dml'.
      [WARNING] Could not parse header in file 'sherlockPredict.dml'.
      [WARNING] The parameter names of the function does not match with the documentation for file 'sherlockPredict'.
      [WARNING] The parameter type of the function does not match with the documentation for file 'sherlockPredict'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            janardhan Janardhan Pulivarthi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: