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

Cannot use daf_persistence in Python 2

    Details

    • Templates:
    • Story Points:
      1

      Description

      When I run an up-to-date Stack in Python 2, I get the following suppressed errors:

      Exception TypeError: 'super() takes at least 1 argument (0 given)' in <bound method SqliteRegistry.__del__ of <lsst.daf.persistence.registries.SqliteRegistry object at 0x7fc065c46750>> ignored
      Exception TypeError: 'super() takes at least 1 argument (0 given)' in <bound method SqliteRegistry.__del__ of <lsst.daf.persistence.registries.SqliteRegistry object at 0x7fc020bd33d0>> ignored
      

      Per discussion on Slack, this appears to be caused by a missing from builtins import super in registries.py.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                krzys Krzysztof Findeisen
                Watchers:
                Krzysztof Findeisen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel