Opened 4 years ago
Closed 4 years ago
#1952 closed defect (fixed)
Rose edit search crash
Reported by: | mattjbr123 | Owned by: | um_support |
---|---|---|---|
Component: | Rose | Keywords: | |
Cc: | Platform: | ||
UM Version: |
Description
For some reason when I search for 'vert' (without the quotes) in rose edit I get the following error message, which also occurs when search for anything that starts with 'vert' e.g. 'vertical'. Other search terms don't seem to have a problem.
It also only occurs when I haven't got any namelists selected, e.g. after you first start it up.
Traceback (most recent call last): File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/main.py", line 1577, in _launch_find page, var_id = self.perform_find(expression, start_page) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/main.py", line 1608, in perform_find return self.view_page(page_id, var_id), var_id File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/main.py", line 1120, in view_page self.handle_launch_request(page_id, as_new=True) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/main.py", line 733, in handle_launch_request page = self.make_page(namespace_name) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/main.py", line 867, in make_page launch_macro_func=self.main_handle.handle_run_custom_macro File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/page.py", line 101, in __init__ self.generate_main_container() File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/page.py", line 674, in generate_main_container self.show_modes) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/pagewidget/table.py", line 58, in __init__ self.attach_variable_widgets(variable_is_ghost_list, start_index=0) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/pagewidget/table.py", line 109, in attach_variable_widgets variable_widget = self.get_variable_widget(variable, is_ghost) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/pagewidget/table.py", line 120, in get_variable_widget show_modes=self.show_modes) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/variable.py", line 72, in __init__ self.generate_valuewidget(variable) File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/variable.py", line 163, in generate_valuewidget arg_str=custom_arg) TypeError: __init__() got an unexpected keyword argument 'arg_str'
Change History (2)
comment:1 Changed 4 years ago by ros
- Platform MONSooN deleted
- Status changed from new to pending
- UM Version <select version> deleted
comment:2 Changed 4 years ago by ros
- Resolution set to fixed
- Status changed from pending to closed
This should be fixed in the next release of Rose (rose-2016.09.0) which will be installed on PUMA in due course and is already available on MONSooN by running export ROSE_VERSION=2016.09.0 before starting up rose edit.
See github ticket for further details: https://github.com/metomi/rose/issues/1984
Hi Matt,
Thanks for letting us know. We'll pass this on to the Met Office Rose team.
Cheers,
Ros.