DocBook v2

Scott Kostyshak skostysh at lyx.org
Wed Sep 2 18:02:17 UTC 2020


On Wed, Sep 02, 2020 at 03:53:03PM +0200, Thibaut Cuvelier wrote:

> Did I ever say that I did not really like Git? I just did this, which
> uploaded something:
> 
> git push --force features feature/docbook:feature/docbook
> 
> Now, these commits appear on Trac: https://www.lyx.org/trac/browser/features
> Is it working on your side too?

Works here also. Thanks!

I still see "Unknown InsetLayout tag" messages in the terminal when I
start a new document. Do you still see those? If not, I might still have
the wrong commit. I'm on f6c054e5, which was committed today, so I think
it's the right commit.

Also, when exporting the Embedded Objects manual there is a SIGSEGV. I
don't remember if this is already known. In case not, I attach a
backtrace.

Thanks for your work on all of this,

Scott
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65ec1b2 in isspace (c=1475079488) at ../include/ctype.h:41
41	../include/ctype.h: No such file or directory.
(gdb) bt
#0  0x00007ffff65ec1b2 in isspace (c=1475079488) at ../include/ctype.h:41
#1  0x00005555561af0b3 in lyx::xml::StartTag::<lambda(int)>::operator()(int) const (__closure=0x7fffffffb180, c=1475079488) at /home/scott/lyxbuilds/docbook/repo/src/xml.cpp:113
#2  0x00005555561b36f9 in __gnu_cxx::__ops::_Iter_pred<lyx::xml::StartTag::writeTag() const::<lambda(int)> >::operator()<__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t> > >(__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >) (this=0x7fffffffb180, __it=1475079488 L'\x57ebed40')
    at /usr/include/c++/9/bits/predefined_ops.h:283
#3  0x00005555561b33cc in std::__find_if<__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t> >, __gnu_cxx::__ops::_Iter_pred<lyx::xml::StartTag::writeTag() const::<lambda(int)> > >(__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__ops::_Iter_pred<lyx::xml::StartTag::writeTag() const::<lambda(int)> >, std::random_access_iterator_tag) (__first=1475079488 L'\x57ebed40', 
    __last=0 L'\000', __pred=...) at /usr/include/c++/9/bits/stl_algo.h:120
#4  0x00005555561b32a8 in std::__find_if<__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t> >, __gnu_cxx::__ops::_Iter_pred<lyx::xml::StartTag::writeTag() const::<lambda(int)> > >(__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__ops::_Iter_pred<lyx::xml::StartTag::writeTag() const::<lambda(int)> >) (__first=1475079488 L'\x57ebed40', __last=0 L'\000', __pred=...)
    at /usr/include/c++/9/bits/stl_algo.h:161
#5  0x00005555561b31f4 in std::find_if<__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t> >, lyx::xml::StartTag::writeTag() const::<lambda(int)> >(__gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, lyx::xml::StartTag::<lambda(int)>) (__first=1475079488 L'\x57ebed40', __last=0 L'\000', __pred=...) at /usr/include/c++/9/bits/stl_algo.h:3961
#6  0x00005555561af169 in lyx::xml::StartTag::writeTag[abi:cxx11]() const (this=0x555557ebf7d0) at /home/scott/lyxbuilds/docbook/repo/src/xml.cpp:113
#7  0x00005555561b05f4 in lyx::XMLStream::clearTagDeque (this=0x7fffffffbe30) at /home/scott/lyxbuilds/docbook/repo/src/xml.cpp:291
#8  0x00005555561b06b1 in lyx::XMLStream::operator<< (this=0x7fffffffbe30, d=L"”") at /home/scott/lyxbuilds/docbook/repo/src/xml.cpp:301
#9  0x000055555639d2eb in lyx::InsetQuotes::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x55555767cac0, xs=...) at /home/scott/lyxbuilds/docbook/repo/src/insets/InsetQuotes.cpp:987
#10 0x00005555560892c7 in lyx::Paragraph::simpleLyXHTMLOnePar[abi:cxx11](lyx::Buffer const&, lyx::XMLStream&, lyx::OutputParams const&, lyx::Font const&, bool, bool, long) const (this=0x55555767efa0, buf=..., 
    xs=..., runparams=..., outerfont=..., start_paragraph=true, close_paragraph=true, initial=0) at /home/scott/lyxbuilds/docbook/repo/src/Paragraph.cpp:3773
#11 0x00005555561aabf8 in lyx::(anonymous namespace)::makeParagraphs (buf=..., xs=..., runparams=..., text=..., Python Exception <class 'ValueError'> Cannot find type const lyx::RandomAccessList<lyx::Paragraph>::const_iterator::_Node: 
pbegin=, Python Exception <class 'ValueError'> Cannot find type const lyx::RandomAccessList<lyx::Paragraph>::const_iterator::_Node: 
pend=) at /home/scott/lyxbuilds/docbook/repo/src/output_xhtml.cpp:350
#12 0x00005555561ac6eb in lyx::xhtmlParagraphs (text=..., buf=..., xs=..., runparams=...) at /home/scott/lyxbuilds/docbook/repo/src/output_xhtml.cpp:664
#13 0x0000555555e54e6c in lyx::Buffer::writeLyXHTMLSource (this=0x555556e10480, os=..., runparams=..., output=lyx::Buffer::FullSource) at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:2303
#14 0x0000555555e5443a in lyx::Buffer::makeLyXHTMLFile (this=0x555556e10480, fname=..., runparams=...) at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:2194
#15 0x0000555555e62b9f in lyx::Buffer::doExport (this=0x555556e10480, target="xhtml", put_in_tempdir=false, includeall=false, result_file="") at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:4465
#16 0x0000555555e61bc8 in lyx::Buffer::doExport (this=0x555556e10480, target="xhtml", put_in_tempdir=false, result_file="") at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:4352
#17 0x0000555555e61ac5 in lyx::Buffer::doExport (this=0x555556e10480, target="xhtml", put_in_tempdir=false) at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:4334
#18 0x0000555555e57d90 in lyx::Buffer::dispatch (this=0x555556e10480, func=..., dr=...) at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:2827
#19 0x0000555555e57a74 in lyx::Buffer::dispatch (this=0x555556e10480, command="buffer-export xhtml", result=...) at /home/scott/lyxbuilds/docbook/repo/src/Buffer.cpp:2792
#20 0x000055555603d362 in lyx::LyX::execWithoutGui (this=0x7fffffffda10, argc=@0x7fffffffda0c: 2, argv=0x7fffffffdb28) at /home/scott/lyxbuilds/docbook/repo/src/LyX.cpp:567
#21 0x0000555556045dd5 in lyx::LyXConsoleApp::doExec (this=0x7fffffffd940) at /home/scott/lyxbuilds/docbook/repo/src/LyX.cpp:239
#22 0x000055555673db25 in lyx::support::ConsoleApplicationPrivate::doExec (this=0x555556cbd3f0) at /home/scott/lyxbuilds/docbook/repo/src/support/ConsoleApplicationPrivate.h:54
#23 0x000055555673d7ec in lyx::support::ConsoleApplicationPrivate::qt_static_metacall (_o=0x555556cbd3f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x555556cbc990)
    at /home/scott/lyxbuilds/docbook/CMakeBuild/src/support/moc_ConsoleApplicationPrivate.cpp:72
#24 0x00007ffff6dcce4a in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff6da0a07 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff6da36a8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff6df9037 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff64ca8bd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff64cab40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff64cabe3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff6df8635 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff6d9f5cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff6da7336 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x000055555673daf3 in lyx::support::ConsoleApplicationPrivate::execute (this=0x555556cbd3f0) at /home/scott/lyxbuilds/docbook/repo/src/support/ConsoleApplicationPrivate.h:49
#35 0x000055555673d790 in lyx::support::ConsoleApplication::exec (this=0x7fffffffd940) at /home/scott/lyxbuilds/docbook/repo/src/support/ConsoleApplication.cpp:38
#36 0x000055555603b61f in lyx::LyX::exec (this=0x7fffffffda10, argc=@0x7fffffffda0c: 2, argv=0x7fffffffdb28) at /home/scott/lyxbuilds/docbook/repo/src/LyX.cpp:357
#37 0x000055555618be42 in main (argc=2, argv=0x7fffffffdb28) at /home/scott/lyxbuilds/docbook/repo/src/main.cpp:42
(gdb) 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200902/e1dac398/attachment.asc>


More information about the lyx-devel mailing list