You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compiling a debug build of LO we see the following output:
…
warn:linguistic:67283:363302:linguistic/source/gciterator.cxx:679: GrammarCheckingIterator::DequeueAndCheck ignoring N3com3sun4star3uno9ExceptionE msg: C++ code threw St13runtime_error: collate_byname<char>::collate_byname failed to construct for
…
warn:legacy.osl:67283:361460:sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx:430: ApplyChangedSentence in initial call or after resume
Running that through lldb (make debugrun in LO) and fiddling with breakpoints (first b linguistic/source/gciterator.cxx:607, c, then break set -E cxx and c; bt; c; bt …), we see that the error thrown is
ie. the reason seems to be that in getCasing we call std::locale("") which then fails with collate_byname<char>::collate_byname failed to construct for .
But why does it work when running LO-bundled python-interpreter on the LO-extension from the command line? (And shouldn't the "" be a valid fallback locale?)
The text was updated successfully, but these errors were encountered:
unhammer
changed the title
locale("") gives collate_byname<char>::collate_byname failed to construct for
locale("") gives 'collate_byname<char>::collate_byname failed to construct for ' on LO on mac
Apr 15, 2019
What is the locale of the LO instance, and what is the locale of the command line running the python-interpreter? If the command line environment is UTF 8 and LO is not, could that explain the difference?
the std::locale("") exception is due to the various
setenv in our MACOSX-specific imp_getProcessLocale
(sal/osl/unx/nlsupport.cxx); I'll deal with that later (it's probably
just cargo cult that can just be removed, but would need some more
testing for that)
The https://github.com/divvun/libreoffice-divvun extension built with libdivvun 0.3.3 crashes/hangs in LibreOffice on mac.
After compiling a debug build of LO we see the following output:
Running that through lldb (
make debugrun
in LO) and fiddling with breakpoints (firstb linguistic/source/gciterator.cxx:607
,c
, thenbreak set -E cxx
andc; bt; c; bt
…), we see that the error thrown isie. the reason seems to be that in
getCasing
we callstd::locale("")
which then fails withcollate_byname<char>::collate_byname failed to construct for
.But why does it work when running LO-bundled python-interpreter on the LO-extension from the command line? (And shouldn't the
""
be a valid fallback locale?)The text was updated successfully, but these errors were encountered: