View Issue Details

IDProjectCategoryView StatusLast Update
0004611ScribusScripterpublic2007-01-18 09:32
ReporterplinnellAssigned Tosubik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0004611: Scripter Hangs when sample paragraph is enabled
DescriptionException in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File "/usr/local/share/scribus/scripts/FontSample.py", line 1462, in __okButtonClick
    draw_selection(self.listbox2.get(0, END), 0)
  File "/usr/local/share/scribus/scripts/FontSample.py", line 750, in draw_selection
    pageNum = create_empty_samplepage(pageNum, getSizeOnly)
  File "/usr/local/share/scribus/scripts/FontSample.py", line 657, in create_empty_samplepage
    scribus.newPage(-1)
IndexError: Given master page name does not match any existing.
TagsNo tags attached.
Patch

Relationships

child of 0003964 closedplinnell 1.3.4 Release Metabug 

Activities

plinnell

2006-11-26 00:12

viewer   ~0013556

Note, this does not hang, Cancel stops the script and there is one page created.

plinnell

2006-11-26 00:14

viewer   ~0013557

Reminder sent to: avox, subik

subik

2006-11-26 19:15

manager   ~0013563

no problem here. Eeek - I mean no hang, no crash. But the font sampler has broken index and does not use specified fonts itself. It uses only one font - default one.

subik

2007-01-16 19:25

manager   ~0014829

have to handle masterpage names in PyObject *scribus_newpage(PyObject* /* self */, PyObject* args) depending on the page position - single | left/right/middle

subik

2007-01-17 09:31

manager   ~0014835

FYI: it's fixed on my poor networkless laptop. It will be synced later ;)

subik

2007-01-18 06:36

manager   ~0014845

totally incorrect handling of the implicit master pages in newPage() fixed

Issue History

Date Modified Username Field Change
2006-11-26 00:09 plinnell New Issue
2006-11-26 00:12 plinnell Note Added: 0013556
2006-11-26 00:14 plinnell Note Added: 0013557
2006-11-26 19:15 subik Note Added: 0013563
2007-01-04 09:41 cbradney Relationship added child of 0003964
2007-01-04 09:48 plinnell Status new => assigned
2007-01-04 09:48 plinnell Assigned To => plinnell
2007-01-16 19:24 subik Assigned To plinnell => subik
2007-01-16 19:25 subik Note Added: 0014829
2007-01-17 09:31 subik Note Added: 0014835
2007-01-18 06:36 subik Status assigned => resolved
2007-01-18 06:36 subik Fixed in Version => 1.3.4cvs
2007-01-18 06:36 subik Resolution open => fixed
2007-01-18 06:36 subik Note Added: 0014845
2007-01-18 09:31 plinnell Status resolved => closed