cubicweb #926914 [edition] ugly traceback in dev mode [resolved]

trace:

Traceback (most recent call last):
 File "/home/auc/src/fcw/cubicweb/web/application.py", line 363, in main_publish
   result = controller.publish(rset=rset)
 File "/home/auc/src/fcw/cubicweb/web/views/basecontrollers.py", line 126, in publish
   rset=rset, view=view)
 File "/home/auc/src/fcw/cubicweb/cwvreg.py", line 376, in main_template
   res = obj.render(**kwargs)
 File "/home/auc/src/fcw/cubicweb/view.py", line 175, in render
   view_func(**context)
 File "/home/auc/src/fcw/cubicweb/web/views/basetemplates.py", line 141, in call
   view.render(w=w)
 File "/home/auc/src/fcw/cubicweb/view.py", line 175, in render
   view_func(**context)
 File "/home/auc/src/fcw/cubicweb/web/views/editforms.py", line 144, in call
   self.render_form(entity)
 File "/home/auc/src/fcw/cubicweb/web/views/editforms.py", line 113, in render_form
   self.w(form.render())
 File "/home/auc/src/fcw/cubicweb/web/views/forms.py", line 174, in render
   return renderer.render(self, kwargs)
 File "/home/auc/src/fcw/cubes/pylos/views/autoform.py", line 51, in render
   self.render_fields(w, form, values)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 205, in render_fields
   self._render_fields(fields, w, form)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 250, in _render_fields
   w(field.render(form, self))
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 160, in render
   view.render(i18nctx=i18nctx, row=view.cw_row, col=view.cw_col))
 File "/home/auc/src/fcw/cubicweb/view.py", line 175, in render
   view_func(**context)
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 315, in call
   self.render_form(i18nctx, **kwargs)
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 252, in render_form
   counter=self._cw.data[countkey] , **kwargs))
 File "/home/auc/src/fcw/cubicweb/web/views/forms.py", line 174, in render
   return renderer.render(self, kwargs)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 459, in render
   self.render_fields(w, form, values)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 469, in render_fields
   self._render_fields(fields, w, form)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 250, in _render_fields
   w(field.render(form, self))
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 160, in render
   view.render(i18nctx=i18nctx, row=view.cw_row, col=view.cw_col))
 File "/home/auc/src/fcw/cubicweb/view.py", line 175, in render
   view_func(**context)
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 315, in call
   self.render_form(i18nctx, **kwargs)
 File "/home/auc/src/fcw/cubicweb/web/views/autoform.py", line 252, in render_form
   counter=self._cw.data[countkey] , **kwargs))
 File "/home/auc/src/fcw/cubicweb/web/views/forms.py", line 174, in render
   return renderer.render(self, kwargs)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 459, in render
   self.render_fields(w, form, values)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 469, in render_fields
   self._render_fields(fields, w, form)
 File "/home/auc/src/fcw/cubicweb/web/views/formrenderers.py", line 250, in _render_fields
   w(field.render(form, self))
 File "/home/auc/src/fcw/cubicweb/web/formfields.py", line 685, in render
   wdgs = [self.get_widget(form).render(form, self, renderer)]
 File "/home/auc/src/fcw/cubicweb/web/formwidgets.py", line 177, in render
   return self._render(form, field, renderer)
 File "/home/auc/src/fcw/cubes/pylos/views/formwidgets.py", line 54, in _render
   inputs = super(TSFileInput, self)._render(form, field, renderer)
TypeError: super(type, obj): obj must be an instance or subtype of type

But there is actually no type error there, the code being correct. A very similar used to haunt us long ago.

prioritynormal
typebug
done in3.8.5
load0.500
load left0.000
closed by<not specified>