Error on default center of rotation widget after loading .ows file
Hi,
Seems like the widget is not loading properly, removing and adding a fresh one fixes the issue.
Path of the .ows: /data/visitor/ihmi1549/id11/20240305/SCRIPTS/POA/tomo.ows
Version used: module load tomotools,
tomwer version is 1.2.8
tomoscan version is 1.3.5
nxtomomill version is 0.13.5
nabu version is 2023.2.1
Error log
2024-03-18 09:32:08,972:CRITICAL:orangecanvas.scheme.widgetmanager: Traceback (most recent call last): File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecanvas/scheme/widgetmanager.py", line 243, in \__add_widget_for_node w = self.create_widget_for_node(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangewidget/workflow/widgetsscheme.py", line 300, in create_widget_for_node widget = self.create_widget_instance(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangewidget/workflow/widgetsscheme.py", line 413, in create_widget_instance widget.**init**() File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecontrib/tomwer/widgets/reconstruction/AxisOW.py", line 161, in **init** self.\_widget = AxisWindow(parent=self, axis_params=self.\_axis_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/axis.py", line 122, in **init** self.\_axisWidget = \_AxisWidget( ^^^^^^^^^^^^ File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/axis.py", line 258, in **init** self.\_radioAxis = RadioAxisWindow( ^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 119, in **init** self.\_controlWidget = \_AxisManual( ^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 654, in **init** self.\_mainWidget = AxisTabWidget( ^^^^^^^^^^^^^^ File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1464, in **init** self.\_calculationWidget = \_CalculationWidget(
^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1727, in **init** self.setAxisParams(axis_params) File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1973, in setAxisParams self.\_sideChanged() File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1932, in \_sideChanged self.\_axis_params.side = side
^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/core/process/reconstruction/axis/params.py", line 434, in side raise ValueError(f"side '{side}' is not managed") ValueError: side '' is not managed ---------------------------- ValueError Exception ----------------------------- Traceback (most recent call last): File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecanvas/scheme/widgetmanager.py", line 404, in \__process_init_queue self.ensure_created(node) File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecanvas/scheme/widgetmanager.py", line 350, in ensure_created self.\__add_widget_for_node(node) File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecanvas/scheme/widgetmanager.py", line 243, in \__add_widget_for_node w = self.create_widget_for_node(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangewidget/workflow/widgetsscheme.py", line 300, in create_widget_for_node widget = self.create_widget_instance(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangewidget/workflow/widgetsscheme.py", line 413, in create_widget_instance widget.**init**() File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/orangecontrib/tomwer/widgets/reconstruction/AxisOW.py", line 161, in **init** self.\_widget = AxisWindow(parent=self, axis_params=self.\_axis_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/axis.py", line 122, in **init** self.\_axisWidget = \_AxisWidget( ^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/axis.py", line 258, in **init** self.\_radioAxis = RadioAxisWindow(
^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 119, in **init** self.\_controlWidget = \_AxisManual( ^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 654, in **init** self.\_mainWidget = AxisTabWidget( ^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1464, in **init** self.\_calculationWidget = \_CalculationWidget(
^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1727, in **init** self.setAxisParams(axis_params) File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1973, in setAxisParams self.\_sideChanged() File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/gui/reconstruction/axis/radioaxis.py", line 1932, in \_sideChanged self.\_axis_params.side = side ^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2023_11_24/lib/python3.11/site-packages/tomwer/core/process/reconstruction/axis/params.py", line 434, in side raise ValueError(f"side '{side}' is not managed") ValueError: side '' is not managed
Edited by payno