Opened 5 years ago

Closed 5 years ago

#1952 closed defect (fixed)

Rose edit search crash

Reported by: mattjbr123 Owned by: um_support
Component: Rose Keywords:
Cc: Platform:
UM Version:


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/", 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/", 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/", 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/", 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/", line 867, in make_page
  File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/", line 101, in __init__
  File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/", line 674, in generate_main_container
  File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/pagewidget/", 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/", 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/", line 120, in get_variable_widget
  File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/", line 72, in __init__
  File "/work/home/fcm/rose-2016.07.0/lib/python/rose/config_editor/", line 163, in generate_valuewidget
TypeError: __init__() got an unexpected keyword argument 'arg_str'

Change History (2)

comment:1 Changed 5 years ago by ros

  • Platform MONSooN deleted
  • Status changed from new to pending
  • UM Version <select version> deleted

Hi Matt,

Thanks for letting us know. We'll pass this on to the Met Office Rose team.


comment:2 Changed 5 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:

Note: See TracTickets for help on using tickets.