Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-3398

Python Code Updates: Data Collection, Analytics, and Events (DCAEGEN2)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Low Low
    • London Release
    • London Release
    • None
    • None

      CIMAN-433 will capture a bunch of bugs/tasks related to the migration from Python2 to Python3.  All the ONAP repositories were cloned (4GB data) and scanned using the command below:

      find . -name '*.py' -exec python3 -m py_compile {} \;

      This returned 53 issues across 22 repositories/sub-projects. A Jira bug will be raised for each sub-project. 

      Bugs found affecting this sub-project:

      Processing: ./dcae_controller/dcae-controller-core/dcae-controller-core-utils/src/main/server/bin/fs-init.py
        File "./dcae_controller/dcae-controller-core/dcae-controller-core-utils/src/main/server/bin/fs-init.py", line 38
          print "Start at:", datetime.datetime.now()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

            vv770d vv770d
            modesevenindustrialsolutions Matthew Watkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: