yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92890
[Bug 2038480] [NEW] TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2 positional arguments but 3 were given
Public bug reported:
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
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
- This can be seen with sahara-dashboard tests reported at
+ 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 {}
+ 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
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2038480
Title:
TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2
positional arguments but 3 were given
Status in OpenStack Dashboard (Horizon):
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2038480/+subscriptions