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

Plots break after removing a cell and then adding it again. #1124

Closed
hgohil2805 opened this issue Mar 6, 2015 · 2 comments
Closed

Plots break after removing a cell and then adding it again. #1124

hgohil2805 opened this issue Mar 6, 2015 · 2 comments
Milestone

Comments

@hgohil2805
Copy link

@hgohil2805 hgohil2805 commented Mar 6, 2015

  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 691, in removeTabController
    self.tabControllerStack.remove_view(name)
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tabcontroller_stack.py", line 84, in remove_view
    widget.cleanup()
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tabcontroller.py", line 985, in cleanup
    self.clearTabs()
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tabcontroller.py", line 512, in clearTabs
    self.deleteSheetActionTriggered()
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tabcontroller.py", line 497, in deleteSheetActionTriggered
    widget.deleteAllCells()
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 390, in deleteAllCells
    self.deleteCell(r, c)
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 376, in deleteCell
    self.setCellByType(row, col, None, None)
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 324, in setCellByType
    oldCell.deleteLater()
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1504, in deleteLater
    QCellWidget.deleteLater(self)    
  File "/home/iceman/uvcdat-2.1/14-12-02/vistrails/vistrails/packages/spreadsheet/spreadsheet_cell.py", line 174, in deleteLater
    QtGui.QWidget.deleteLater(self)
RuntimeError: wrapped C/C++ object of type QCDATWidget has been deleted

report_error

can be recreated by adding a cell (say number 3), plotting something on it then removing the cell from the menu (2 plots remaining) and then adding plot 3 again.

@hgohil2805
Copy link
Author

@hgohil2805 hgohil2805 commented Mar 6, 2015

The trace is from a different sequence which also produces the same error. The image is from the steps I've mentioned below it.

@hgohil2805
Copy link
Author

@hgohil2805 hgohil2805 commented Mar 6, 2015

duplicate of #773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants