neutrons / PyVDrive

A data reduction and analysis software for (SNS) VULCAN based on PyQt.
2 stars 0 forks source link

Reduced data view crashes for viewing in-memory workspaces #192

Open wdzhou opened 5 years ago

wdzhou commented 5 years ago

Reproduce

  1. system_test 6 (or chop/vbin combined)
  2. view, show=1

[DB...BAT] API: In-Memory reduced single-runs: [169186, 167677]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/qtconsole/console_widget.py", line 413, in eventFilter
    return self._event_filter_console_keypress(event)
  File "/usr/lib/python2.7/site-packages/qtconsole/frontend_widget.py", line 381, in _event_filter_console_keypress
    return super(FrontendWidget, self)._event_filter_console_keypress(event)
  File "/usr/lib/python2.7/site-packages/qtconsole/console_widget.py", line 1146, in _event_filter_console_keypress
    self.execute(interactive = not shift_down)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/gui/mantidipythonwidget.py", line 153, in execute
    exec_message = self._mainApplication.execute_reserved_command(script)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/gui/workspaceviewwidget.py", line 235, in execute_reserved_command
    status, cmd_msg = self._myMainWindow.execute_command(script)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/VDrivePlot.py", line 1213, in execute_command
    status, err_msg = self._vdriveCommandProcessor.process_commands(vdrive_command)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/vcommand_processor.py", line 190, in process_commands
    status, err_msg = self._process_view(arg_dict)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/vcommand_processor.py", line 329, in _process_view
    view_window = self._mainWindow.do_launch_reduced_data_viewer()
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/VDrivePlot.py", line 618, in do_launch_reduced_data_viewer
    self._reducedDataViewWindow.init_setup(self._myWorkflow)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/ReducedDataView.py", line 1306, in init_setup
    self.do_refresh_existing_runs(set_to=None)
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/ReducedDataView.py", line 981, in do_refresh_existing_runs
    self.update_single_run_combo_box()
  File "/SNS/users/wzz/Projects/PyVDrive/PyVDrive/build/lib/pyvdrive/interface/ReducedDataView.py", line 669, in update_single_run_combo_box
    for run_number, data_key in single_runs_list:
TypeError: 'int' object is not iterable