Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing a row crash due to no attribute MainWindow.table #272

Closed
marshallmcdonnell opened this issue Oct 1, 2019 · 0 comments · Fixed by #278
Closed

Removing a row crash due to no attribute MainWindow.table #272

marshallmcdonnell opened this issue Oct 1, 2019 · 0 comments · Fixed by #278
Assignees
Labels
GUI: Reduction Tab The Post-Processing / Reduction tab Priority: URGENT Highest Priority; Needs urgent attention ReductionType: IDL Related to the legacy IDL-based reduction from Joerg Type: Bug Bug in application; Crashes; Requires break-fix work

Comments

@marshallmcdonnell
Copy link
Member

“remove row” returns:

Traceback (most recent call last):
  File "/SNS/users/pf9/code/addie/addie/main.py", line 622, in table_right_click
    _o_table.right_click(position=position)
  File "/SNS/users/pf9/code/addie/build/lib/addie/processing/idl/table_handler.py", line 178, in right_click
    self._remove_selected_rows()
  File "/SNS/users/pf9/code/addie/build/lib/addie/processing/idl/table_handler.py", line 479, in _remove_selected_rows
    selected_range = self.main_window.ui.table.selectedRanges()
AttributeError: 'MainWindow' object has no attribute 'table'
@marshallmcdonnell marshallmcdonnell added Type: Bug Bug in application; Crashes; Requires break-fix work Priority: URGENT Highest Priority; Needs urgent attention GUI: Reduction Tab The Post-Processing / Reduction tab ReductionType: IDL Related to the legacy IDL-based reduction from Joerg labels Oct 1, 2019
@marshallmcdonnell marshallmcdonnell self-assigned this Oct 1, 2019
marshallmcdonnell added a commit that referenced this issue Oct 1, 2019
…dow -> parent.

Also, fixed table path in addie.processing.table_handler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI: Reduction Tab The Post-Processing / Reduction tab Priority: URGENT Highest Priority; Needs urgent attention ReductionType: IDL Related to the legacy IDL-based reduction from Joerg Type: Bug Bug in application; Crashes; Requires break-fix work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant