Skip to content

itstool-2.0.4: problem with gnumeric-1.12.35 #22

@0-wiz-0

Description

@0-wiz-0

With older itstool versions, gnumeric-1.12.35 built fine.
With 2.0.4, it breaks as follows:

  GEN    cs/
Warning: Could not merge de translation for msgid:
b'Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS distributed with this manual.'
Warning: Could not merge cs translation for msgid:
b'The chapters of this version of the <application>Gnumeric</application> manual are organized as follows: <_:itemizedlist-1/>'
Warning: Could not merge cs translation for msgid:
b'Both the <guimenu>Edit</guimenu> menu and the context menu have an extra menu entry called <guimenuitem>Paste Special...</guimenuitem> which can be used during a cut and paste operation to selectively transfer some of the original cell contents or to alter the contents in specific ways. This option allows the transfer of only the cell contents, only the cell formats or only the calculated values of the cells. The transferred contents can also be mathematically combined with the current contents of cells in the new location. Alternatively, the selection can be transposed. See <xref linkend="sect-movecopy-pastespecial"/> for more information on the <guimenuitem>Paste Special...</guimenuitem> command.'
Warning: Could not merge cs translation for msgid:
b'An existing spreadsheet file can be opened in several ways. If the file has an icon on the desktop, this icon can be clicked or double-clicked with the mouse button. Similarly, if a file manager, such as the <application>Nautilus</application> file manager, lists the file, then the file name can be clicked and opened. If <application>Gnumeric</application> is already opened, a file can be opened by clicking on the <guimenu>File</guimenu> and selecting the <guimenuitem>Open</guimenuitem> menu item. Alternatively, the "Open file" button on the toolbar, <inlinemediaobject> <imageobject> <imagedata fileref="figures/button-open.png" format="PNG"/> </imageobject> <textobject> <phrase>An image of the "Open File" button.</phrase> </textobject> </inlinemediaobject>, can be used or the <keycap>F3</keycap> key clicked. All three of these open the <interface>Open File</interface> dialog. You can then select the spreadsheet file you wish to open. <application>Gnumeric</application> can open many different types of spreadsheet file formats.'
Warning: Could not merge cs translation for msgid:
b'To finish the function, close the parenthesis. The cell should now show =sum(B1:C2). Press enter and the formula is entered.'
Warning: Could not merge cs translation for msgid:
b'This tab allows you to choose the border for the selected cells. You can select one of many border styles (none, single line, double line,...) and colors. You can also have different borders on different sides of the cell. <_:figure-1/> To choose a border for a cell or a selection, select border style and color in the right side of the tab and click on the buttons corresponding to the sides of the cells in the left side of the tab. In addition to the buttons for left, right, top, and bottom sides, you also have buttons for drawing diagonal and reverse diagonal of the cell. (Strictly speaking, these cannot be called borders, but it is natural to put them in this tab.) The lowest row of buttons contains buttons <guibutton>None</guibutton> and <guibutton>Outline</guibutton>. Clicking on <guibutton>None</guibutton> removes all borders from the cell; clicking on <guibutton>Outline</guibutton> puts border on all sides of the cell or selection.'
Warning: Could not merge cs translation for msgid:
b"Using <inlineequation> <_:alt-1/> <_:mathphrase-2/> </inlineequation> as the z-value of the <inlineequation> <_:alt-3/> <_:mathphrase-4/> </inlineequation> percentile of the standard normal distribution, set the initial estimate of the number of iterations required as the smallest integer <inlineequation> <_:alt-5/> <_:mathphrase-6/> </inlineequation> such that <_:equation-7/>. Note that if <inlineequation> <_:alt-8/> <_:mathphrase-9/> </inlineequation> is small, it would be more appropriate to use the student's t-distribution of <inlineequation> <_:alt-10/> <_:mathphrase-11/> </inlineequation> instead of <inlineequation> <_:alt-12/> <_:mathphrase-13/> </inlineequation>."
[1]   Segmentation fault (core dumped) (cd "cs/" && its...

and leaves a core file. The python backtrace looks like this:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  _PyEval_EvalCodeWithName (_co=0x75bd28ffd8f0, globals=<optimized out>, locals=<optimized out>, args=0x75bd206355f0, argcount=2, kwnames=0x0, kwargs=kwargs@entry=0x0,
    kwcount=kwcount@entry=0, kwstep=kwstep@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0, name=name@entry=0x0,
    qualname=qualname@entry=0x0) at Python/ceval.c:3947
3947    Python/ceval.c: No such file or directory.
(gdb) bt
#0  _PyEval_EvalCodeWithName (_co=0x75bd28ffd8f0, globals=<optimized out>, locals=<optimized out>, args=0x75bd206355f0, argcount=2, kwnames=0x0, kwargs=kwargs@entry=0x0, 
    kwcount=kwcount@entry=0, kwstep=kwstep@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0, name=name@entry=0x0, 
    qualname=qualname@entry=0x0) at Python/ceval.c:3947
#1  0x000075bd299340b6 in PyEval_EvalCodeEx (_co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd206355f0, argcount=<optimized out>, 
    kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4174
#2  0x000075bd29897095 in function_call (func=0x75bd282e2828, arg=0x75bd206355d8, kw=0x0) at Objects/funcobject.c:604
#3  0x000075bd29867219 in PyObject_Call (func=0x75bd282e2828, args=<optimized out>, kwargs=<optimized out>) at Objects/abstract.c:2261
#4  0x000075bd299347a8 in PyEval_CallObjectWithKeywords (func=<optimized out>, args=<optimized out>, kwargs=<optimized out>) at Python/ceval.c:4744
#5  0x000075bd25a425d7 in libxml_xmlErrorFuncHandler (ctx=<optimized out>, msg=<optimized out>) at libxml.c:1644
#6  0x000075bd2563a99c in xmlParserPrintFileContextInternal (input=input@entry=0x75bd20139080, channel=channel@entry=0x75bd25a42475 <libxml_xmlErrorFuncHandler>, data=data@entry=0x0)
    at error.c:208
#7  0x000075bd2563ac93 in xmlReportError (err=err@entry=0x75bd20107a58, ctxt=ctxt@entry=0x75bd20107800, 
    str=str@entry=0x75bd273e2400 "Opening and ending tag mismatch: guilabel line 416 and para\n", channel=0x75bd25a42475 <libxml_xmlErrorFuncHandler>, channel@entry=0x0, 
    data=data@entry=0x0) at error.c:406
#8  0x000075bd2563c5a8 in __xmlRaiseError (schannel=schannel@entry=0x0, channel=0x75bd2563b339 <xmlParserError>, channel@entry=0x0, data=0x75bd20107800, data@entry=0x0, 
    ctx=ctx@entry=0x75bd20107800, nod=nod@entry=0x0, domain=domain@entry=1, code=code@entry=76, level=level@entry=XML_ERR_FATAL, file=<optimized out>, file@entry=0x0, line=416, 
    line@entry=0, str1=0x75bd2013355f "guilabel", str2=0x75bd201643b4 "para", str3=str3@entry=0x0, int1=int1@entry=416, col=490, col@entry=0, 
    msg=msg@entry=0x75bd25730b40 "Opening and ending tag mismatch: %s line %d and %s\n") at error.c:633
#9  0x000075bd25641276 in xmlFatalErrMsgStrIntStr (ctxt=ctxt@entry=0x75bd20107800, error=error@entry=XML_ERR_TAG_NAME_MISMATCH, 
    msg=msg@entry=0x75bd25730b40 "Opening and ending tag mismatch: %s line %d and %s\n", str1=<optimized out>, val=val@entry=416, str2=<optimized out>) at parser.c:717
#10 0x000075bd2564f707 in xmlParseEndTag2 (ctxt=ctxt@entry=0x75bd20107800, prefix=0x0, URI=0x0, line=line@entry=416, nsNr=0, tlen=<optimized out>) at parser.c:9672
#11 0x000075bd25654558 in xmlParseElement (ctxt=ctxt@entry=0x75bd20107800) at parser.c:10040
#12 0x000075bd25653bd2 in xmlParseContent (ctxt=ctxt@entry=0x75bd20107800) at parser.c:9849
#13 0x000075bd256544fe in xmlParseElement (ctxt=ctxt@entry=0x75bd20107800) at parser.c:10017
#14 0x000075bd25653bd2 in xmlParseContent (ctxt=ctxt@entry=0x75bd20107800) at parser.c:9849
#15 0x000075bd256544fe in xmlParseElement (ctxt=ctxt@entry=0x75bd20107800) at parser.c:10017
#16 0x000075bd256582bf in xmlParseDocument (ctxt=0x75bd20107800) at parser.c:10714
#17 0x000075bd25a31a38 in libxml_xmlParseDocument (self=<optimized out>, args=<optimized out>) at libxml2-py.c:4958
#18 0x000075bd298b869b in _PyCFunction_FastCallDict (func_obj=func_obj@entry=0x75bd27704cf8, args=0x75bd29779e28, nargs=<optimized out>, kwargs=kwargs@entry=0x0)
    at Objects/methodobject.c:234
#19 0x000075bd298b89ef in _PyCFunction_FastCallKeywords (func=func@entry=0x75bd27704cf8, stack=<optimized out>, nargs=nargs@entry=1, kwnames=kwnames@entry=0x0)
    at Objects/methodobject.c:294
#20 0x000075bd29933f62 in call_function (pp_stack=pp_stack@entry=0x7f7ffff9dc88, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at Python/ceval.c:4824
#21 0x000075bd29938eb3 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3322
#22 0x000075bd29933020 in _PyFunction_FastCall (co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Python/ceval.c:4906
#23 0x000075bd29933cfb in fast_function (func=<optimized out>, stack=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4948
#24 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9de78, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at Python/ceval.c:4845
#25 0x000075bd29938eb3 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3322
#26 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe8b0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd206a4218, argcount=3,
    kwnames=0x75bd281021b0, kwargs=kwargs@entry=0x75bd206a4230, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd281106b0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd281f9700, qualname=qualname@entry=0x75bd2810e250) at Python/ceval.c:4153
#27 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd206a4218, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#28 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9e1c0, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28102198) at Python/ceval.c:4845
#29 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#30 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd20aa1620, argcount=3,
    kwnames=0x75bd28ffa9f0, kwargs=kwargs@entry=0x75bd20aa1638, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#31 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd20aa1620, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#32 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9e500, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28ffa9d8) at Python/ceval.c:4845
#33 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#34 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd204d6a20, argcount=3,
---Type <return> to continue, or q <return> to quit---
    kwnames=0x75bd28ffa9f0, kwargs=kwargs@entry=0x75bd204d6a38, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#35 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd204d6a20, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#36 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9e840, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28ffa9d8) at Python/ceval.c:4845
#37 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#38 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd20590a20, argcount=3,
    kwnames=0x75bd28ffa9f0, kwargs=kwargs@entry=0x75bd20590a38, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#39 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd20590a20, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#40 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9eb80, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28ffa9d8) at Python/ceval.c:4845
#41 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#42 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd209e5a20, argcount=3,
    kwnames=0x75bd28ffa9f0, kwargs=kwargs@entry=0x75bd209e5a38, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#43 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd209e5a20, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#44 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9eec0, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28ffa9d8) at Python/ceval.c:4845
#45 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#46 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd23c94e20, argcount=3,
    kwnames=0x75bd28ffa9f0, kwargs=kwargs@entry=0x75bd23c94e38, kwcount=2, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#47 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd23c94e20, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#48 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9f200, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28ffa9d8) at Python/ceval.c:4845
#49 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#50 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28ffe4c0, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x75bd28105198, argcount=3,
    kwnames=0x75bd281118b0, kwargs=kwargs@entry=0x75bd281051b0, kwcount=1, kwstep=kwstep@entry=1, defs=0x75bd28103ff0, defcount=2, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=0x75bd293634c0, qualname=qualname@entry=0x75bd2810e110) at Python/ceval.c:4153
#51 0x000075bd29933beb in fast_function (func=<optimized out>, stack=0x75bd28105198, nargs=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:4965
#52 0x000075bd29933e6d in call_function (pp_stack=pp_stack@entry=0x7f7ffff9f540, oparg=<optimized out>, kwnames=kwnames@entry=0x75bd28111898) at Python/ceval.c:4845
#53 0x000075bd29938b18 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3338
#54 0x000075bd29933a0e in _PyEval_EvalCodeWithName (_co=0x75bd28115660, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=argcount@entry=0,
    kwnames=0x0, kwargs=kwargs@entry=0x0, kwcount=kwcount@entry=0, kwstep=kwstep@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0,
    closure=closure@entry=0x0, name=name@entry=0x0, qualname=qualname@entry=0x0) at Python/ceval.c:4153
#55 0x000075bd299340b6 in PyEval_EvalCodeEx (_co=_co@entry=0x75bd28115660, globals=globals@entry=0x75bd29357e88, locals=locals@entry=0x75bd29357e88, args=args@entry=0x0,
    argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0)
    at Python/ceval.c:4174
#56 0x000075bd2993412b in PyEval_EvalCode (co=co@entry=0x75bd28115660, globals=globals@entry=0x75bd29357e88, locals=locals@entry=0x75bd29357e88) at Python/ceval.c:730
#57 0x000075bd299604a1 in run_mod (mod=mod@entry=0x75bd28037ff0, filename=filename@entry=0x75bd29362070, globals=globals@entry=0x75bd29357e88, locals=locals@entry=0x75bd29357e88,
    flags=flags@entry=0x7f7ffff9f924, arena=arena@entry=0x75bd2937a8a0) at Python/pythonrun.c:980
#58 0x000075bd29962a3d in PyRun_FileExFlags (fp=fp@entry=0x75bd28778460, filename_str=filename_str@entry=0x75bd28faada0 "/usr/pkg/bin/itstool", start=start@entry=257,
    globals=globals@entry=0x75bd29357e88, locals=locals@entry=0x75bd29357e88, closeit=closeit@entry=1, flags=flags@entry=0x7f7ffff9f924) at Python/pythonrun.c:933
#59 0x000075bd29962bb6 in PyRun_SimpleFileExFlags (fp=fp@entry=0x75bd28778460, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0x7f7ffff9f924)
    at Python/pythonrun.c:396
#60 0x000075bd29963006 in PyRun_AnyFileExFlags (fp=fp@entry=0x75bd28778460, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0x7f7ffff9f924)
    at Python/pythonrun.c:80
#61 0x000075bd2997b0f0 in run_file (p_cf=0x7f7ffff9f924, filename=0x75bd297040e0 L"/usr/pkg/bin/itstool", fp=0x75bd28778460) at Modules/main.c:338
#62 Py_Main (argc=argc@entry=6, argv=argv@entry=0x75bd29701080) at Modules/main.c:809
#63 0x0000000000400ddd in main (argc=6, argv=0x7f7ffff9fa08) at ./Programs/python.c:69

This is with python-3.6.3 and libxml2 version 2.9.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions