#349 ✓fixed
Virgil Dupras

Crash on sheet printing

Reported by Virgil Dupras | November 7th, 2012 @ 04:40 PM

It seems that adding support for split printing under Qt introduced a crash for split printing:

Application Name: moneyGuru
Version: 2.6.1

Traceback (most recent call last):
  File "/usr/share/moneyguru/qt/controller/main_window.py", line 422, in _print
    currentView.fitViewsForPrint(viewPrinter)
  File "/usr/share/moneyguru/qt/controller/account_sheet_view.py", line 22, in fitViewsForPrint
    viewPrinter.fitTree(self.sheet)
  File "/usr/share/moneyguru/qt/print_/__init__.py", line 65, in fitTree
    self._fitItemView(TreePrintDatasource(self.model, tree))
  File "/usr/share/moneyguru/qt/print_/__init__.py", line 43, in _fitItemView
    page.fit(element, expandV=True)
  File "/usr/share/moneyguru/qt/print_/layout.py", line 121, in fit
    element.placed()
  File "/usr/share/moneyguru/qt/print_/item_view.py", line 172, in placed
    splitCount = self.ds.splitCount(rowIndex)
  File "/usr/share/moneyguru/qt/print_/item_view.py", line 53, in splitCount
    return self.printViewModel.split_count_at_row(rowIndex)
AttributeError: 'PrintView' object has no attribute 'split_count_at_row'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages