Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1670 Errors when installing openATTIC on a plain Ubuntu xenial
  3. OP-1678

500 Internal Server Error when selecting the Disks panel

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.16
    • Fix Version/s: None
    • Component/s: Backend: API
    • Labels:

      Description

      {"detail":"'super' object has no attribute 'to_native'"}
      
      Internal Server Error: {u'kwargs': {}, u'args': (), u'request': <rest_framework.request.Request object at 0x7fe51da3d710>, u'view': <volumes.restapi.DiskProxyViewSet object at 0x7fe51da3d750>}
      Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
          response = handler(request, *args, **kwargs)
        File "/usr/share/openattic/rest/multinode/handlers.py", line 64, in list
          results.append(serializer.data)
        File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 503, in data
          ret = super(Serializer, self).data
        File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 239, in data
          self._data = self.to_representation(self.instance)
        File "/usr/share/openattic/rest/utilities.py", line 102, in to_representation
          return self.to_native(instance)
        File "/usr/share/openattic/volumes/restapi.py", line 73, in to_native
          data.update(super(DiskSerializer, self).to_native(obj))
      AttributeError: 'super' object has no attribute 'to_native'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpaduano Paduano, Laura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: