![]() |
#31 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The non-breaking-space doubling issue is still happening even when building from scratch on Debian.
|
![]() |
![]() |
![]() |
#32 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Could it be differences in compilers? Which version of gcc are you using on Debian? And which version on Mint? Will the Mint compiled version run on the older Debian? Wouldn't it need a new C++ runtime library? So if on Mint they have a new C++ runtime library from a newer gcc. We do not include the c++ runtime library (libstdc++) when shipping binaries on Linux do we? So if you move the Mint version (which worked perfectly) to a system with a much older gcc and g++ runtime library (older libstdc++) installed (but same major number) such as Debian, you might see bugs that don't exist on Mint. Kevin Last edited by KevinH; 02-12-2015 at 05:46 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Please find attached the output of the above command from my Debian Wheezy system.
|
![]() |
![]() |
![]() |
#34 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Last edited by DiapDealer; 02-12-2015 at 06:58 PM. |
||
![]() |
![]() |
![]() |
#35 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
If a binary works on one Linux system Mint with the exact same Qt libraries yet doesn't work correctly on another Linux machine, it must be differences in one of the shared libraries. Looking at Doitsu's list should show us all of the shared libraries that are used by Sigil on Linux. So we can start with it and remove all of the libraries with sigil in the path name: I think we can probably remove the X11 related libraries as well as basic shared library ones like ld and libdl. We can also remove the gcc related ones given what you wrote as well as things like the threading libraries. That leaves us with this list: Code:
linux-vdso.so.1 => (0x00007fff1efff000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f97045ac000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f97042b3000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9703d70000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9703b58000) libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007f9702d37000) libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f97029d6000) libgstreamer-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0 (0x00007f97026ee000) libgstapp-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0 (0x00007f97024e1000) libgstbase-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0 (0x00007f970228b000) libgstinterfaces-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0 (0x00007f9702079000) libgstpbutils-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0 (0x00007f9701e54000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f9700508000) libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f96ffea8000) libffi.so.5 => /usr/lib/x86_64-linux-gnu/libffi.so.5 (0x00007f96ffc9b000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f96ffa5d000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f96ff83d000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f96fdf91000) libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f96fdd8d000) liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f96fdb0f000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f96fd8ea000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f96fcaa2000) libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f97029d6000) which links directly into Qt and could cause an issue with text nodes in an xml tree. But this is all a big guess. We do know there have been a lot of bugs fixed in libxml2. Could you try updating the Wheezy one to be the same version as used on Mint and see if that impacts anything? If is not that one, we could simply try a process of elimination of some sort I guess, but if one binary works on one system and the exact same binary does not work on another system, it must be one of the shared libraries at fault (unless I am missing something here). KevinH Last edited by KevinH; 02-12-2015 at 09:22 PM. |
![]() |
![]() |
![]() |
#37 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#38 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
@DiapDealer: Since I can't update this library via Debian backports to the latest version, you could try and temporarily downgrade your libxml2 version to 2.8.0 to test if that change will cause the OP's issue. If that library is indeed causing the problem, the only fix would be installing a more bleeding-edge distro. |
|
![]() |
![]() |
![]() |
#39 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Got something I need to try when I get home. I don't edit in Book View, so I'm pretty guilty of not checking for issues there (actually, past experience has just taught me to assume there are ... so I don't do it.
In short, I haven't checked the aging VMs I build and test Sigil on to see if they suffer from the bug. I can't imagine Mint 12 (Ubuntu 11.10) having a newer version of libxml2 than the Debian Wheezy (7.8) I installed, so either those systems should suffer the same doubling bug or it's something other than libxml2. I'll check the libxml versions on my build/test/main machines and see what I come up with. |
![]() |
![]() |
![]() |
#40 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
FWIW,
I did all of my testing (and found no bug) against the very very latest Mint 13 (I think) that I just installed a few weeks back. If it does turn out to be libxml2 related or some other library like that, we can simply package it up and store a version of it in the sigil/ directory and set it to find that lib via LD_LIBRARY_PATH before the official one. No need to update the os. KevinH |
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I'll see what I can track down. I may be saddled with snow-removal duties this weekend, but I'd love it if that didn't work out. ![]() |
|
![]() |
![]() |
![]() |
#42 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,157
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I'm using Windows 7 32-bit and Sigil 0.8.4. I don't get a double non-breaking-space when spacing in code view.
|
![]() |
![]() |
![]() |
#43 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#44 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't think it's libxml2
The machine I build the packages on has libxml2 v2.7.8. And that machine does NOT exhibit the doubling behavior when Sigil is run on it. Non-breaking space treatment is consistent with the way Windows, OSX (and other tested Linux systems) behave. The Wheezy I installed has a newer libxml2 v2.8.0 and DOES exhibit the behavior. |
![]() |
![]() |
![]() |
#45 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Wow!
Okay, so much for my guess :-( And yes I think it was Mint 17. I will go home and see what version of libxml2 it uses. Thanks for trying it. Kevin |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non-breaking space | JSWolf | ePub | 38 | 06-09-2020 09:00 PM |
Troubleshooting Kindle Touch and non-breaking space | utilitasetverita | Amazon Kindle | 4 | 09-05-2014 01:46 PM |
BUG: Calibre 2.0 E-Book Viewer ePub extra space display problem | trying | Calibre | 3 | 08-28-2014 07:56 AM |
Odd S&R with non breaking space | BobC | Editor | 2 | 07-30-2014 04:19 AM |
Bug with zero-width space Unicode | Peter Ahlstrom | Sigil | 8 | 02-28-2014 03:34 AM |