Merging 2 files in ebook edition don't work. calibre 2.73 embedded-python: False is64bit: True Linux-4.4.26-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2 Linux ('64bit', 'ELF') ('Linux', '4.4.26-gentoo', '#1 SMP PREEMPT Sun Nov 20 19:00:01 CET 2016') Python 2.7.12 Linux: ('Gentoo Base System', '2.2', '') Successfully initialized third party plugins: KePub Output (2, 7, 1) Traceback (most recent call last): File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 70, in ans return func(*args, **kwargs) File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 1253, in merge_requested merge(current_container(), category, names, master) File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 495, in merge raise AbortError('The master file (%s) must be one of the files being merged' % master) AbortError: The master file (&test.html) must be one of the files being merged Reproducible: Always
Created attachment 455878 [details] emerge --info gnome
Created attachment 455880 [details] emerge --info plasma
I have a gnome session on an other DD on the same computer. With gnome session I can merge 2 files in calibre edit ebook, no error. Running emerge -e @world in the plasma session don't solve the problem
To test if it's a gentoo bug, I've installed archlinux on an other DD. Same problem. Into gnome session no problem, but in plasma session session I have the bug. I try with lxqt too and no problem. So it's plasma related calibre-debug --edit-book -t devicePixelRatio: 1.0 logicalDpi: 96.1119113573 x 96.0945812808 physicalDpi: 96.1119113573 x 96.0945812808 KSambaShare: Could not find smb.conf! kf5.kio.core: KLocalSocket(0x422c4a0) Jumbo packet of 41408 bytes calibre 2.73 embedded-python: False is64bit: True Linux-4.4.26-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2 Linux ('64bit', 'ELF') ('Linux', '4.4.26-gentoo', '#1 SMP PREEMPT Sun Nov 20 19:00:01 CET 2016') Python 2.7.12 Linux: ('Gentoo Base System', '2.2', '') Traceback (most recent call last): File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 70, in ans return func(*args, **kwargs) File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 1253, in merge_requested merge(current_container(), category, names, master) File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 495, in merge raise AbortError('The master file (%s) must be one of the files being merged' % master) AbortError: The master file (OEBPS/&Text/Section0002.xhtml) must be one of the files being merged
Created attachment 456246 [details] calibre-debug --test-build
According to the last comment in the upstream bug report, a fix should have been included in 2.77.
Should be fixed in 2.78.0.