Bug 705215

Summary: [abrt] gourmet-0.15.6-4.fc14: pdf_exporter.py:297:setup_multiple_index_cards:ValueError: Card size (360.0, 252.0) does not fit on page (792.0, 612.0) with margins (283.46456692913387, 283.46456692913387, 283.46456692913387, 283.46456692913387)
Product: [Fedora] Fedora Reporter: eblix08
Component: gourmetAssignee: Jef Spaleta <jspaleta>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jeff.raber, jspaleta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e368732e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 13:40:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description eblix08 2011-05-17 00:46:57 UTC
abrt version: 1.1.18
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gourmet
component: gourmet
executable: /usr/bin/gourmet
kernel: 2.6.35.13-91.fc14.x86_64
package: gourmet-0.15.6-4.fc14
reason: pdf_exporter.py:297:setup_multiple_index_cards:ValueError: Card size (360.0, 252.0) does not fit on page (792.0, 612.0) with margins (283.46456692913387, 283.46456692913387, 283.46456692913387, 283.46456692913387)
release: Fedora release 14 (Laughlin)
time: 1305593178
uid: 500

backtrace
-----
pdf_exporter.py:297:setup_multiple_index_cards:ValueError: Card size (360.0, 252.0) does not fit on page (792.0, 612.0) with margins (283.46456692913387, 283.46456692913387, 283.46456692913387, 283.46456692913387)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 1005, in change_cb
    self.page_drawer.set_page(**args)
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 705, in set_page
    size,areas = self.sizer.get_pagesize_and_frames_for_widget(*args,**kwargs)
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 689, in get_pagesize_and_frames_for_widget
    ps,ff = self.get_size(*args,**kwargs)
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 685, in get_size
    frames = self.setup_frames(*args,**kwargs)
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 255, in setup_frames
    frames = self.setup_multiple_index_cards(mode[1])
  File "/usr/lib/python2.7/site-packages/gourmet/plugins/import_export/pdf_plugin/pdf_exporter.py", line 297, in setup_multiple_index_cards
    card_size,self.pagesize,self.margins
ValueError: Card size (360.0, 252.0) does not fit on page (792.0, 612.0) with margins (283.46456692913387, 283.46456692913387, 283.46456692913387, 283.46456692913387)

Local variables in innermost frame:
drawable_x: 225.07086614173227
drawable_y: 45.07086614173227
fittable_x: 0
fittable_y: 0
self: <pdf_plugin.pdf_exporter.Sizer instance at 0x5665c20>
leftM: 283.46456692913387
card_size: (360.0, 252.0)
MINIMUM_SPACING: 7.2
topM: 283.46456692913387
bottomM: 283.46456692913387
rightM: 283.46456692913387

How to reproduce
-----
1. Changing the page layout before printing.
2.
3.

Comment 1 eblix08 2011-05-17 00:47:00 UTC
Created attachment 499252 [details]
File: backtrace

Comment 2 Fedora End Of Life 2012-08-16 13:40:41 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping