#3985 (NotImplementedError: <class 'lino.core.actions.ShowTable'> has no run_from_ui() method)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Seen for example [url gitlab.com/lino-framework/mentori/-/jobs/1047909420 here].
Concepts sous-jacents
Commentaires
- 5 ans, 7 mois ago by Luc Saffre about #3985 (NotImplementedError: <class 'lino.core.actions.ShowTable'> has no run_from_ui() method) : I tried to, but didn't yet really understand what's the difference, and whether it is okay that we use a manually instantiated QueryDict for PUT and DELETE requests. As a side effect I removed some dead code around the GridConfig view (which is definitively dead, so R.I.P.)
- 5 ans, 7 mois ago by Luc Saffre about #3985 (NotImplementedError: <class 'lino.core.actions.ShowTable'> has no run_from_ui() method) : Yes, I can reproduce it on my computer when I install the pypi version of lino-react. And it is caused because in views.ApiElement.post() I replaced "data = http.QueryDict(request.body)" by "data = request.POST". So what is the difference between these two?
- 5 ans, 8 mois ago by Luc Saffre about #3985 (NotImplementedError: <class 'lino.core.actions.ShowTable'> has no run_from_ui() method) : The error remains even with the newest versions of Lino and XL. But I didn't yet publish the newest version of react. That may be the cause. So I let this wait until react has become less broken so that I can publish it.
- 5 ans, 8 mois ago by Luc Saffre about #3985 (NotImplementedError: <class 'lino.core.actions.ShowTable'> has no run_from_ui() method) : I released Lino and XL to PyPI and hit "Retry" on GL.