Crash in export of American_Psychological_Association_%28APA%29,_v._7_

Jürgen Spitzmüller spitz at lyx.org
Fri Aug 14 14:03:26 UTC 2020


Am Freitag, den 14.08.2020, 10:56 +0200 schrieb Kornel Benko:
> The backtrace attached.
> 
> In the line InsetCommandParams.cpp:612
> 	LASSERT(info_.hasParam(name), return dummy);

I'm not sure if the assertion is expected in dev mode, in any case the
template is broken. It refers to some local bibliography which resides
in the LaTeX doc tree.

Who ever wrote this template should fix this and use a bibliography
available via kpsewhich.

Jürgen

> 
> info_ shows
> $1 = {
>   info_ = std::__debug::vector of length 6, capacity 6 = {{
>       name_ = "after", 
>       type_ = lyx::ParamInfo::LATEX_OPTIONAL, 
>       handling_ = lyx::ParamInfo::HANDLING_LATEXIFY, 
>       ignore_ = false, 
>       default_value_ = L""
>     }, {
>       name_ = "before", 
>       type_ = lyx::ParamInfo::LATEX_OPTIONAL, 
>       handling_ = lyx::ParamInfo::HANDLING_LATEXIFY, 
>       ignore_ = false, 
>       default_value_ = L""
>     }, {
>       name_ = "key", 
>       type_ = lyx::ParamInfo::LATEX_REQUIRED, 
>       handling_ = lyx::ParamInfo::HANDLING_NONE, 
>       ignore_ = false, 
>       default_value_ = L""
>     }, {
>       name_ = "pretextlist", 
>       type_ = lyx::ParamInfo::LATEX_OPTIONAL, 
>       handling_ = lyx::ParamInfo::HANDLING_LATEXIFY, 
>       ignore_ = false, 
>       default_value_ = L""
>     }, {
>       name_ = "posttextlist", 
>       type_ = lyx::ParamInfo::LATEX_OPTIONAL, 
>       handling_ = lyx::ParamInfo::HANDLING_LATEXIFY, 
>       ignore_ = false, 
>       default_value_ = L""
>     }, {
>       name_ = "literal", 
>       type_ = lyx::ParamInfo::LYX_INTERNAL, 
>       handling_ = lyx::ParamInfo::HANDLING_NONE, 
>       ignore_ = false, 
>       default_value_ = L""
>     }}
> }
> (gdb) p name
> $2 = "F"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200814/af0e679f/attachment.asc>


More information about the lyx-devel mailing list