TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2 positional arguments but 3 were given

Bug #2038480 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

This is an error when run with Django 4 and can be seen in more detail with sahara-dashboard tests reported at https://storyboard.openstack.org/#!/story/2010191

For example:

======================================================================
ERROR: test_copy (sahara_dashboard.content.data_processing.clusters.nodegroup_templates.tests.DataProcessingNodeGroupTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/openstack_dashboard/test/helpers.py", line 134, in wrapped
    retval = function(inst, *args, **kwargs)
    ...
  File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/django/forms/widgets.py", line 668, in create_option
    self.build_attrs(self.attrs, attrs) if self.option_inherits_attrs else {}
TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2 positional arguments but 3 were given

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.