ewoksorange issueshttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues2024-03-28T11:46:42+01:00https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/36QParameterForm: add auto completion to input for fie system path2024-03-28T11:46:42+01:00paynoQParameterForm: add auto completion to input for fie system pathIt would be nice to add autocompletion for file and simplify users life. Here is an example of such usage:
```python
self.completer = qt.QCompleter()
model = qt.QDirModel(self.completer)
if filters is not None:
model.setFilter(filte...It would be nice to add autocompletion for file and simplify users life. Here is an example of such usage:
```python
self.completer = qt.QCompleter()
model = qt.QDirModel(self.completer)
if filters is not None:
model.setFilter(filters)
self.completer.setModel(model)
self.setCompleter(self.completer)
```
See another example in https://gitlab.esrf.fr/tomotools/tomwer/-/blob/main/tomwer/gui/qlefilesystem.py?ref_type=headshttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/34Core dump when QT_QPA_PLATFORM=offscreen is needed2024-02-01T15:20:06+01:00Wout De NolfCore dump when QT_QPA_PLATFORM=offscreen is neededWhen running tests in docker on a CI machine we need `export QT_QPA_PLATFORM=offscreen`. If you don't you get a core dump without more information.
```
src/ewoksfluo/tests/tasks/test_fit_tasks.py::test_fit_tasks_widget[2-2] Fatal Python...When running tests in docker on a CI machine we need `export QT_QPA_PLATFORM=offscreen`. If you don't you get a core dump without more information.
```
src/ewoksfluo/tests/tasks/test_fit_tasks.py::test_fit_tasks_widget[2-2] Fatal Python error: Aborted
Current thread 0x00007f10538a8740 (most recent call first):
File "/usr/local/lib/python3.7/site-packages/ewoksorange/bindings/qtapp.py", line 34 in ensure_qtapp
File "/usr/local/lib/python3.7/site-packages/ewoksorange/bindings/qtapp.py", line 89 in qtapp_context
File "/usr/local/lib/python3.7/contextlib.py", line 112 in __enter__
File "/usr/local/lib/python3.7/site-packages/ewoksorange/tests/conftest.py", line 58 in qtapp
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 895 in call_fixture_func
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 1123 in pytest_fixture_setup
File "/usr/local/lib/python3.7/site-packages/pluggy/_callers.py", line 80 in _multicall
File "/usr/local/lib/python3.7/site-packages/pluggy/_manager.py", line 112 in _hookexec
File "/usr/local/lib/python3.7/site-packages/pluggy/_hooks.py", line 433 in __call__
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 1069 in execute
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 693 in _compute_fixture_value
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 607 in _get_active_fixturedef
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 585 in getfixturevalue
File "/usr/local/lib/python3.7/site-packages/_pytest/fixtures.py", line 566 in _fillfixtures
File "/usr/local/lib/python3.7/site-packages/_pytest/python.py", line 1795 in setup
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 494 in setup
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 157 in pytest_runtest_setup
File "/usr/local/lib/python3.7/site-packages/pluggy/_callers.py", line 80 in _multicall
File "/usr/local/lib/python3.7/site-packages/pluggy/_manager.py", line 112 in _hookexec
File "/usr/local/lib/python3.7/site-packages/pluggy/_hooks.py", line 433 in __call__
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 341 in from_call
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 262 in call_runtest_hook
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 127 in runtestprotocol
File "/usr/local/lib/python3.7/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/usr/local/lib/python3.7/site-packages/pluggy/_callers.py", line 80 in _multicall
File "/usr/local/lib/python3.7/site-packages/pluggy/_manager.py", line 112 in _hookexec
File "/usr/local/lib/python3.7/site-packages/pluggy/_hooks.py", line 433 in __call__
File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
File "/usr/local/lib/python3.7/site-packages/pluggy/_callers.py", line 80 in _multicall
File "/usr/local/lib/python3.7/site-packages/pluggy/_manager.py", line 112 in _hookexec
File "/usr/local/lib/python3.7/site-packages/pluggy/_hooks.py", line 433 in __call__
File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 325 in _main
File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 271 in wrap_session
File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
File "/usr/local/lib/python3.7/site-packages/pluggy/_callers.py", line 80 in _multicall
File "/usr/local/lib/python3.7/site-packages/pluggy/_manager.py", line 112 in _hookexec
File "/usr/local/lib/python3.7/site-packages/pluggy/_hooks.py", line 433 in __call__
File "/usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py", line 170 in main
File "/usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py", line 192 in console_main
File "/usr/local/bin/pytest", line 8 in <module>
Aborted (core dumped)
```
Other tools like silx view show more information:
```
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
```https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/33Move some Task from tomwer to ewoks2024-01-09T14:03:54+01:00paynoMove some Task from tomwer to ewoksSome task should be moved from tomwer to ewoks
# Task only
## icat
* `PublishProcessedDataFolderTask`
# Task and gui
## notifiers
* `EmailOW`
* `NotifierWidgetOW` (widget with a single tone when reached)
* `TimerOW`: wait for some...Some task should be moved from tomwer to ewoks
# Task only
## icat
* `PublishProcessedDataFolderTask`
# Task and gui
## notifiers
* `EmailOW`
* `NotifierWidgetOW` (widget with a single tone when reached)
* `TimerOW`: wait for some time then release the input object
## other
python widget ?
Question:
should we move all to ewoksorange or create some third part project like ewoksnotifiers, ewoksicat ... to avoid ending up with plenty of groups ?https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/30handle 'default' Input2023-11-20T09:27:43+01:00paynohandle 'default' InputUser can provide with Orange inputs some extra parameters like 'default' that can be convenient. It would be nice to have those handle from ewoksOrangeUser can provide with Orange inputs some extra parameters like 'default' that can be convenient. It would be nice to have those handle from ewoksOrangehttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/29ParameterForm: add widget for lists of items2023-10-06T15:46:55+02:00Wout De NolfParameterForm: add widget for lists of itemshttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/28Make control area resizable2023-10-06T10:48:59+02:00Wout De NolfMake control area resizable![image](/uploads/79b8f9dd5bae8d8110129d53dae30580/image.png)
The area on the left has a fixed width. We want this to be resizable.![image](/uploads/79b8f9dd5bae8d8110129d53dae30580/image.png)
The area on the left has a fixed width. We want this to be resizable.https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/27ParameterForm: callback is not called when selecting a file2023-04-17T08:41:14+02:00Loic HuderParameterForm: callback is not called when selecting a fileWhen initializing a `ParameterForm` with a `select` parameter and a `value_change_callback`, the `value_change_callback` is not fired when selecting a file.
Instead, it is called when modifying or losing the focus on the text box. This ...When initializing a `ParameterForm` with a `select` parameter and a `value_change_callback`, the `value_change_callback` is not fired when selecting a file.
Instead, it is called when modifying or losing the focus on the text box. This is because the callback is attached to the `editingFinished` callback to avoid calling it at each text change: https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/20https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/25execute_ewoks_owwidget should re-raise task exceptions2023-02-01T13:37:47+01:00Wout De Nolfexecute_ewoks_owwidget should re-raise task exceptionshttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/24ParameterForm allow adding widget types2023-10-05T14:31:15+02:00Wout De NolfParameterForm allow adding widget typeshttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/23Support workflows with loops2023-01-27T10:17:20+01:00Wout De NolfSupport workflows with loopsDoes orange have documentation for this?
What stops the loop? In ewoks this is done with conditional links.Does orange have documentation for this?
What stops the loop? In ewoks this is done with conditional links.paynopaynohttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/18Support links without data2022-05-15T06:39:04+02:00Wout De NolfSupport links without dataWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/16tests hang on windows2022-01-04T21:31:31+01:00Wout De Nolftests hang on windowsWout De NolfWout De Nolf