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/35Ewoks task creation exceptions should be visible when using the trigger or ex...2024-03-01T12:06:52+01:00Wout De NolfEwoks task creation exceptions should be visible when using the trigger or execute buttonReported by @loic.huder
https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/merge_requests/157Reported by @loic.huder
https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/merge_requests/157https://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/32Orange release breaks ewoksdemo2023-12-15T22:17:34+01:00Wout De NolfOrange release breaks ewoksdemo```
(ewokstest) denolf@lindenolf:~$ ewoks-canvas
/home/denolf/ewokstest/lib/python3.8/site-packages/silx/io/h5py_utils.py:50: H5pyDeprecationWarning: h5py.get_config().swmr_min_hdf5_version is deprecated. This version of h5py does not su...```
(ewokstest) denolf@lindenolf:~$ ewoks-canvas
/home/denolf/ewokstest/lib/python3.8/site-packages/silx/io/h5py_utils.py:50: H5pyDeprecationWarning: h5py.get_config().swmr_min_hdf5_version is deprecated. This version of h5py does not support older HDF5 without SWMR.
HDF5_SWMR_VERSION = calc_hexversion(*h5py.get_config().swmr_min_hdf5_version[:3])
2023-12-15 13:45:42,261:ERROR:orangecanvas.registry.discovery: An exception occurred while processing EntryPoint.parse('Ewoks Demo = orangecontrib.ewoksdemo').
Traceback (most recent call last):
File "/home/denolf/ewokstest/lib/python3.8/site-packages/orangecanvas/registry/discovery.py", line 141, in run
self.process_category_package(
File "/home/denolf/ewokstest/lib/python3.8/site-packages/orangecanvas/registry/discovery.py", line 213, in process_category_package
cat_desc.project_name = distribution.name
File "/home/denolf/ewokstest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2900, in __getattr__
return getattr(self._provider, attr)
AttributeError: 'PathMetadata' object has no attribute 'name'
```
Caused by new release
https://pypi.org/project/orange-canvas-core/#history
https://pypi.org/project/orange-widget-base/#history
This fixes the problem
```
pip install orange-canvas-core==0.1.35 orange-widget-base==4.22.0
```https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/31Hide some ewoks input names2023-12-08T09:23:43+01:00paynoHide some ewoks input namesHere is an example of a widget only expecting `data` from the orange interface but needing other parameters like `raw_***` to process.
The other parameters will be provided by the widget directly.
Today if we inherit from the existing e...Here is an example of a widget only expecting `data` from the orange interface but needing other parameters like `raw_***` to process.
The other parameters will be provided by the widget directly.
Today if we inherit from the existing ewoksorange widget we will have all the `input_names` proposed. Which is very confusing for the user.
A way to 'hide' / remove those should be proposed.
![Screenshot_from_2023-11-20_09-36-08](/uploads/328de6cd493459e20c0059c26a380c18/Screenshot_from_2023-11-20_09-36-08.png)![Screenshot_from_2023-11-20_09-24-55](/uploads/b29377774cc0ca127cf0e89a999008fd/Screenshot_from_2023-11-20_09-24-55.png)paynopaynohttps://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/26ewoks demo widgets2023-03-17T13:09:15+01:00Wout De Nolfewoks demo widgetsWout De NolfWout De Nolfhttps://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/22Orange matchDashPattern bug2022-10-26T16:23:35+02:00Wout De NolfOrange matchDashPattern bugUpdate the orange requirements once this gets deployed:
https://github.com/biolab/orange-canvas-core/issues/234#event-6885502466Update the orange requirements once this gets deployed:
https://github.com/biolab/orange-canvas-core/issues/234#event-6885502466Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/21Handle null for default inputs when convert ows to json2022-06-22T21:46:03+02:00Wout De NolfHandle null for default inputs when convert ows to jsonWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/20parameterform: don't send event when typing in editbox2023-04-13T13:16:20+02:00Wout De Nolfparameterform: don't send event when typing in editboxWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/19Keep canvas positions when converting graphs2022-05-17T15:28:38+02:00Wout De NolfKeep canvas positions when converting graphsWout De NolfWout De Nolfhttps://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/17Harmonize execute_graph outputs2022-05-12T15:11:48+02:00Wout De NolfHarmonize execute_graph outputsSee https://gitlab.esrf.fr/workflow/ewoks/ewokscore/-/merge_requests/131See https://gitlab.esrf.fr/workflow/ewoks/ewokscore/-/merge_requests/131Wout De NolfWout De Nolf