I am using software as installed from the CEWE website a week ago. I am in the process of editing a photo book and I only used this CEWE software with no trick, but I realize I “saved as” and moved the photo directory several times.
I got an mcfx file that cewe2pdf.py fails to convert to pdf, because of extra content. Looking into the file with sqlite3, it appears that the file data.mcf (extracted from the mcfx archive) has trailing blank lines. After I remove them manually and save back to the archive, the conversion succeeds (and the produced pdf is fine).
A bash+sqlite3 work around is proposed in the bash session transcript below.
I would suggest calling rstrip() after etree.parse() at line 1256 of cewe2pdf.py.
[chyzak@tango (04:50:03) /tmp]$ ~/AUR-slowfox/cewe2pdf/cewe2pdf.py --keepDoublePages foo.mcfx
WARNING:root:No module named 'pillow_heif': direct use of .heic images is not available
INFO:root:Unpacking mcfx to /tmp/tmpbjbbj_vy
INFO:root:Connected to mcfx database
INFO:root:Disconnected from mcfx database
INFO:root:returned to cwd /tmp, mcfname /tmp/tmpbjbbj_vy/data.mcf
ERROR:root:Cannot open mcf file /tmp/tmpbjbbj_vy/data.mcf (unpacked from foo.mcfx): XMLSyntaxError('Extra content at the end of the document, line 1455, column 1')
[chyzak@tango (04:50:13) /tmp]$ mcfxfile=foo.mcfx
[chyzak@tango (04:52:45) /tmp]$ sqlite3 $mcfxfile "select Data from Files where Filename = 'data.mcf';" > data.mcf
[chyzak@tango (04:52:53) /tmp]$ sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' data.mcf > fixed-data.mcf
[chyzak@tango (04:53:06) /tmp]$ mv fixed-data.mcf data.mcf
[chyzak@tango (04:53:23) /tmp]$ sqlite3 $mcfxfile "replace into Files(Filename,Data,LastModified) values('data.mcf',readfile('data.mcf'),0);"
[chyzak@tango (04:53:29) /tmp]$ rm data.mcf
[chyzak@tango (04:53:34) /tmp]$ ~/AUR-slowfox/cewe2pdf/cewe2pdf.py --keepDoublePages foo.mcfx
WARNING:root:No module named 'pillow_heif': direct use of .heic images is not available
INFO:root:Unpacking mcfx to /tmp/tmp5e50pull
INFO:root:Connected to mcfx database
INFO:root:Disconnected from mcfx database
INFO:root:returned to cwd /tmp, mcfname /tmp/tmp5e50pull/data.mcf
INFO:root:Trying cewe2pdf.ini from current directory and from the album directory.
ERROR:root:You must create cewe_folder.txt or cewe2pdf.ini to specify the cewe_folder
[chyzak@tango (04:53:58) /tmp]$ cp -p ~/AUR-slowfox/cewe2pdf/cewe2pdf.ini .
[chyzak@tango (04:54:31) /tmp]$ ~/AUR-slowfox/cewe2pdf/cewe2pdf.py --keepDoublePages foo.mcfx
WARNING:root:No module named 'pillow_heif': direct use of .heic images is not available
INFO:root:Unpacking mcfx to /tmp/tmpgdw6hsot
INFO:root:Connected to mcfx database
INFO:root:Disconnected from mcfx database
INFO:root:returned to cwd /tmp, mcfname /tmp/tmpgdw6hsot/data.mcf
INFO:root:Trying cewe2pdf.ini from current directory and from the album directory.
INFO:root:Using configuration in: ['cewe2pdf.ini', '/tmp/cewe2pdf.ini']
INFO:root:cewe_folder is /home/chyzak/AUR-slowfox/cewe
INFO:root:Installed key account data folder at {kadf}
INFO:root:Using image resolution 150, background resolution 150
INFO:root:Using fonts from: /home/chyzak/AUR-slowfox/cewe2pdf/additional_fonts.txt
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/CEWEHead-Regular.ttf
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/LiebeDoris-Bold.ttf
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/CEWEHead-Bold.ttf
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/CEWEHead-BoldItalic.ttf
INFO:cewe2pdf.config:LiebeGerda-BoldItalic not available: the otf->ttf conversion hangs!
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/CEWEHead-Italic.ttf
INFO:cewe2pdf.config:Accepting otf->ttf font conversion: /home/chyzak/.local/share/cewe2pdf/LiebeErika-Medium.ttf
WARNING:cewe2pdf.config:Revised regular fontFullName 'Alegreya Sans Regular' to 'Alegreya Sans'
WARNING:cewe2pdf.config:Revised regular fontFullName 'Amatic SC Regular' to 'Amatic SC'
WARNING:cewe2pdf.config:fontFullName == fontFamily 'Balloon Caps' for a non-regular subfamily 'Xbold'. A bit strange!
WARNING:cewe2pdf.config:fontFullName == fontFamily 'FranklinGothic' for a non-regular subfamily 'Medium'. A bit strange!
WARNING:cewe2pdf.config: constructed fontFullName 'FranklinGothic Medium' for 'FranklinGothic' 'Medium'
WARNING:cewe2pdf.config:fontFullName == fontFamily 'FranklinGothic' for a non-regular subfamily 'Medium Italic'. A bit strange!
WARNING:cewe2pdf.config: constructed fontFullName 'FranklinGothic Medium Italic' for 'FranklinGothic' 'Medium Italic'
WARNING:cewe2pdf.config:Revised regular fontFullName 'Istok Web Regular' to 'Istok Web'
WARNING:cewe2pdf.config:fontFullName == fontFamily 'Pecita' for a non-regular subfamily 'Book'. A bit strange!
WARNING:cewe2pdf.config:Unhandled fontSubFamily 'Book', using fontFamily 'Pecita' as the regular font name
WARNING:cewe2pdf.config:Revised regular fontFullName 'CEWE Head Regular' to 'CEWE Head'
INFO:root:Registering 83 fonts
INFO:cewe2pdf.config:Registered 'Aldrich' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Aldrich-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Alegreya Sans Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AlegreyaSans-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Alegreya Sans Bold Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AlegreyaSans-BoldItalic.ttf'
INFO:cewe2pdf.config:Registered 'Alegreya Sans Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AlegreyaSans-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Alegreya Sans' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AlegreyaSans-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Amatic SC Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AmaticSC-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Amatic SC' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/AmaticSC-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Ancona Cd' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Ancona-Cd-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Ancona Ex' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Ancona-Ex-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Arezzo' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Arezzo-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Arimo Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Arimo-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Arimo Bold Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Arimo-Bold_Italic.ttf'
INFO:cewe2pdf.config:Registered 'Arimo Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Arimo-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Arimo' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Arimo-Regular.ttf'
INFO:cewe2pdf.config:Registered 'blistabraille' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/BLISTA6.TTF'
INFO:cewe2pdf.config:Registered 'blistabraille6+' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/BLISTA6P.TTF'
INFO:cewe2pdf.config:Registered 'Balloon Caps' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Balloon-Caps-Xbold.ttf'
INFO:cewe2pdf.config:Registered 'Bar' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bar-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Baskerville Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Baskerville-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Baskerville Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Baskerville-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Baskerville' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Baskerville-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Bernhard Fashion' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bernhard-Fashion.ttf'
INFO:cewe2pdf.config:Registered 'Bluff' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bluff-regular.ttf'
INFO:cewe2pdf.config:Registered 'Bodoni Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bodoni-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Bodoni Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bodoni-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Bodoni' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bodoni-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Bonita' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Bonita.ttf'
INFO:cewe2pdf.config:Registered 'CalligraphScript' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/CalligraphScriptCEWE-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Canossa Light' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Canossa-Light.ttf'
INFO:cewe2pdf.config:Registered 'Casual' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Casual.ttf'
INFO:cewe2pdf.config:Registered 'Clicker Script' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/ClickerScript-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Copperplate Gothic Light' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/CopperplateGothic-regular.ttf'
INFO:cewe2pdf.config:Registered 'Courier PS Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Courier-PS-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Courier PS Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Courier-PS-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Courier PS' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Courier-PS-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Dessau Light' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Dessau-Light.ttf'
INFO:cewe2pdf.config:Registered 'Elegant Script' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Elegant-Script.ttf'
INFO:cewe2pdf.config:Registered 'Elmore' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Elmore.ttf'
INFO:cewe2pdf.config:Registered 'Englebert' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Englebert-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Falcon Light' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Falcon-Light.ttf'
INFO:cewe2pdf.config:Registered 'FourthAvenue' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/FourthAvenue.ttf'
INFO:cewe2pdf.config:Registered 'FranklinGothic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/FranklinGothic-Book.ttf'
INFO:cewe2pdf.config:Registered 'FranklinGothic Medium' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/FranklinGothic-Medium.ttf'
INFO:cewe2pdf.config:Registered 'FranklinGothic Medium Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/FranklinGothic-MediumItalic.ttf'
INFO:cewe2pdf.config:Registered 'Function' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Function-Light.ttf'
INFO:cewe2pdf.config:Registered 'Gainsborough' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Gainsborough.ttf'
INFO:cewe2pdf.config:Registered 'Giulio' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Giulio-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Grand Hotel' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/GrandHotelCEWE-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Great Vibes' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/GreatVibes-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Imperial Std' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Imperial-Basics-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Indie Flower' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/IndieFlowerCEWE-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Istok Web Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/IstokWeb-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Istok Web Bold Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/IstokWeb-Bold_Italic.ttf'
INFO:cewe2pdf.config:Registered 'Istok Web Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/IstokWeb-Italic.ttf'
INFO:cewe2pdf.config:Registered 'Istok Web' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/IstokWeb-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Kaushan Script' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/KaushanScript-Regular.ttf'
INFO:cewe2pdf.config:Registered 'LeHavre' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/LeHavre.ttf'
INFO:cewe2pdf.config:Registered 'Micro Medium' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Micro-Medium.ttf'
INFO:cewe2pdf.config:Registered 'MicroSquare' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/MicroSquare-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Nunito Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Nunito-Bold.ttf'
INFO:cewe2pdf.config:Registered 'Nunito' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Nunito-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Palmer' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Palmer-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Parisienne' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Parisienne-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Pecita' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Pecita.ttf'
INFO:cewe2pdf.config:Registered 'Philadelphia' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Philadelphia-Regular.ttf'
INFO:cewe2pdf.config:Registered 'ReenieBeanie-Regular' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/ReenieBeanie-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Ribeye Marrow' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/RibeyeMarrow-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Roman PS' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Roman-PS-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Sacramento' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Sacramento-Regular.ttf'
INFO:cewe2pdf.config:Registered 'Stafford' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Stafford-Light.ttf'
INFO:cewe2pdf.config:Registered 'TiogaScript Bold' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/TiogaScript-Bold.ttf'
INFO:cewe2pdf.config:Registered 'TiogaScript Light' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/TiogaScript-Light.ttf'
INFO:cewe2pdf.config:Registered 'TiogaScript Medium' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/TiogaScript-Medium.ttf'
INFO:cewe2pdf.config:Registered 'Typewriter Medium' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Typewriter-Medium.ttf'
INFO:cewe2pdf.config:Registered 'Typewriter Medium Italic' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/Typewriter-MediumItalic.ttf'
INFO:cewe2pdf.config:Registered 'Unica One' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/UnicaOne-Regular.ttf'
INFO:cewe2pdf.config:Registered 'ViolinScript' from '/home/chyzak/AUR-slowfox/cewe/Resources/photofun/fonts/ViolinScript.ttf'
INFO:cewe2pdf.config:Registered 'CEWE Head Bold' from '/home/chyzak/.local/share/cewe2pdf/CEWEHead-Bold.ttf'
INFO:cewe2pdf.config:Registered 'CEWE Head Bold Italic' from '/home/chyzak/.local/share/cewe2pdf/CEWEHead-BoldItalic.ttf'
INFO:cewe2pdf.config:Registered 'CEWE Head Italic' from '/home/chyzak/.local/share/cewe2pdf/CEWEHead-Italic.ttf'
INFO:cewe2pdf.config:Registered 'CEWE Head' from '/home/chyzak/.local/share/cewe2pdf/CEWEHead-Regular.ttf'
INFO:cewe2pdf.config:Registered 'LiebeDoris Bold' from '/home/chyzak/.local/share/cewe2pdf/LiebeDoris-Bold.ttf'
INFO:cewe2pdf.config:Registered 'LiebeErika Medium' from '/home/chyzak/.local/share/cewe2pdf/LiebeErika-Medium.ttf'
INFO:cewe2pdf.config:Registered fontfamily 'Aldrich': {'normal': 'Aldrich'}
INFO:cewe2pdf.config:Registered fontfamily 'Alegreya Sans': {'normal': 'Alegreya Sans', 'bold': 'Alegreya Sans Bold', 'italic': 'Alegreya Sans Italic', 'boldItalic': 'Alegreya Sans Bold Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Amatic SC': {'normal': 'Amatic SC', 'bold': 'Amatic SC Bold'}
INFO:cewe2pdf.config:Registered fontfamily 'Ancona Cd': {'normal': 'Ancona Cd'}
INFO:cewe2pdf.config:Registered fontfamily 'Ancona Ex': {'normal': 'Ancona Ex'}
INFO:cewe2pdf.config:Registered fontfamily 'Arezzo': {'normal': 'Arezzo'}
INFO:cewe2pdf.config:Registered fontfamily 'Arimo': {'normal': 'Arimo', 'bold': 'Arimo Bold', 'italic': 'Arimo Italic', 'boldItalic': 'Arimo Bold Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'blistabraille': {'normal': 'blistabraille'}
INFO:cewe2pdf.config:Registered fontfamily 'blistabraille6+': {'normal': 'blistabraille6+'}
WARNING:cewe2pdf.config:Font family 'Balloon Caps' has no normal font, chosen Balloon Caps from bold
INFO:cewe2pdf.config:Registered fontfamily 'Balloon Caps': {'normal': 'Balloon Caps', 'bold': 'Balloon Caps'}
INFO:cewe2pdf.config:Registered fontfamily 'Bar': {'normal': 'Bar'}
INFO:cewe2pdf.config:Registered fontfamily 'Baskerville': {'normal': 'Baskerville', 'bold': 'Baskerville Bold', 'italic': 'Baskerville Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Bernhard Fashion': {'normal': 'Bernhard Fashion'}
INFO:cewe2pdf.config:Registered fontfamily 'Bluff': {'normal': 'Bluff'}
INFO:cewe2pdf.config:Registered fontfamily 'Bodoni': {'normal': 'Bodoni', 'bold': 'Bodoni Bold', 'italic': 'Bodoni Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Bonita': {'normal': 'Bonita'}
INFO:cewe2pdf.config:Registered fontfamily 'CalligraphScript': {'normal': 'CalligraphScript'}
INFO:cewe2pdf.config:Registered fontfamily 'Canossa': {'normal': 'Canossa Light'}
INFO:cewe2pdf.config:Registered fontfamily 'Casual': {'normal': 'Casual'}
INFO:cewe2pdf.config:Registered fontfamily 'Clicker Script': {'normal': 'Clicker Script'}
INFO:cewe2pdf.config:Registered fontfamily 'Copperplate Gothic': {'normal': 'Copperplate Gothic Light'}
INFO:cewe2pdf.config:Registered fontfamily 'Courier PS': {'normal': 'Courier PS', 'bold': 'Courier PS Bold', 'italic': 'Courier PS Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Dessau': {'normal': 'Dessau Light'}
INFO:cewe2pdf.config:Registered fontfamily 'Elegant Script': {'normal': 'Elegant Script'}
INFO:cewe2pdf.config:Registered fontfamily 'Elmore': {'normal': 'Elmore'}
INFO:cewe2pdf.config:Registered fontfamily 'Englebert': {'normal': 'Englebert'}
INFO:cewe2pdf.config:Registered fontfamily 'Falcon': {'normal': 'Falcon Light'}
INFO:cewe2pdf.config:Registered fontfamily 'FourthAvenue': {'normal': 'FourthAvenue'}
INFO:cewe2pdf.config:Registered fontfamily 'FranklinGothic': {'normal': 'FranklinGothic', 'bold': 'FranklinGothic Medium', 'boldItalic': 'FranklinGothic Medium Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Function': {'normal': 'Function'}
INFO:cewe2pdf.config:Registered fontfamily 'Gainsborough': {'normal': 'Gainsborough'}
INFO:cewe2pdf.config:Registered fontfamily 'Giulio': {'normal': 'Giulio'}
INFO:cewe2pdf.config:Registered fontfamily 'Grand Hotel': {'normal': 'Grand Hotel'}
INFO:cewe2pdf.config:Registered fontfamily 'Great Vibes': {'normal': 'Great Vibes'}
INFO:cewe2pdf.config:Registered fontfamily 'Imperial Std': {'normal': 'Imperial Std'}
INFO:cewe2pdf.config:Registered fontfamily 'Indie Flower': {'normal': 'Indie Flower'}
INFO:cewe2pdf.config:Registered fontfamily 'Istok Web': {'normal': 'Istok Web', 'bold': 'Istok Web Bold', 'italic': 'Istok Web Italic', 'boldItalic': 'Istok Web Bold Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Kaushan Script': {'normal': 'Kaushan Script'}
INFO:cewe2pdf.config:Registered fontfamily 'LeHavre': {'normal': 'LeHavre'}
WARNING:cewe2pdf.config:Font family 'Micro' has no normal font, chosen Micro Medium from bold
INFO:cewe2pdf.config:Registered fontfamily 'Micro': {'normal': 'Micro Medium', 'bold': 'Micro Medium'}
INFO:cewe2pdf.config:Registered fontfamily 'MicroSquare': {'normal': 'MicroSquare'}
INFO:cewe2pdf.config:Registered fontfamily 'Nunito': {'normal': 'Nunito', 'bold': 'Nunito Bold'}
INFO:cewe2pdf.config:Registered fontfamily 'Palmer': {'normal': 'Palmer'}
INFO:cewe2pdf.config:Registered fontfamily 'Parisienne': {'normal': 'Parisienne'}
INFO:cewe2pdf.config:Registered fontfamily 'Pecita': {'normal': 'Pecita'}
INFO:cewe2pdf.config:Registered fontfamily 'Philadelphia': {'normal': 'Philadelphia'}
INFO:cewe2pdf.config:Registered fontfamily 'Reenie Beanie': {'normal': 'ReenieBeanie-Regular'}
INFO:cewe2pdf.config:Registered fontfamily 'Ribeye Marrow': {'normal': 'Ribeye Marrow'}
INFO:cewe2pdf.config:Registered fontfamily 'Roman PS': {'normal': 'Roman PS'}
INFO:cewe2pdf.config:Registered fontfamily 'Sacramento': {'normal': 'Sacramento'}
INFO:cewe2pdf.config:Registered fontfamily 'Stafford': {'normal': 'Stafford'}
INFO:cewe2pdf.config:Registered fontfamily 'TiogaScript': {'normal': 'TiogaScript Light', 'bold': 'TiogaScript Medium'}
WARNING:cewe2pdf.config:Font family 'Typewriter' has no normal font, chosen Typewriter Medium from bold
INFO:cewe2pdf.config:Registered fontfamily 'Typewriter': {'normal': 'Typewriter Medium', 'bold': 'Typewriter Medium', 'boldItalic': 'Typewriter Medium Italic'}
INFO:cewe2pdf.config:Registered fontfamily 'Unica One': {'normal': 'Unica One'}
INFO:cewe2pdf.config:Registered fontfamily 'ViolinScript': {'normal': 'ViolinScript'}
INFO:cewe2pdf.config:Registered fontfamily 'CEWE Head': {'normal': 'CEWE Head', 'bold': 'CEWE Head Bold', 'italic': 'CEWE Head Italic', 'boldItalic': 'CEWE Head Bold Italic'}
WARNING:cewe2pdf.config:Font family 'LiebeDoris' has no normal font, chosen LiebeDoris Bold from bold
INFO:cewe2pdf.config:Registered fontfamily 'LiebeDoris': {'normal': 'LiebeDoris Bold', 'bold': 'LiebeDoris Bold'}
INFO:cewe2pdf.config:Registered fontfamily 'LiebeErika': {'normal': 'LiebeErika Medium'}
INFO:cewe2pdf.config:Font Crafty Girls uses non-standard line scale 1.43
INFO:root:Ended font registration
INFO:cewe2pdf.config:Could not locate and load the clipart definition file: cliparts_default.xml
INFO:cewe2pdf.config:Trying a search for cliparts instead
INFO:cewe2pdf.config:clipart xml path: /home/chyzak/AUR-slowfox/cewe/Resources/photofun/decorations
INFO:cewe2pdf.config:573 clipart xmls found
INFO:cewe2pdf.config:local clipart xml path: /home/chyzak/.mcf/hps/7884/photofun/decorations
INFO:root:parsing page 0 of 48
WARNING:root:Using font family = 'CEWE Head' (wanted C059)
INFO:root:parsing page 1 of 48
INFO:root:parsing page 0 of 48
WARNING:root:Using font family = 'Helvetica' (wanted C059)
INFO:root:parsing page 2 of 48
INFO:root:parsing page 3 of 48
INFO:root:parsing page 4 of 48
INFO:root:parsing page 5 of 48
INFO:root:parsing page 6 of 48
INFO:root:parsing page 7 of 48
INFO:root:parsing page 8 of 48
INFO:root:parsing page 9 of 48
INFO:root:parsing page 10 of 48
INFO:root:parsing page 11 of 48
INFO:root:parsing page 12 of 48
INFO:root:parsing page 13 of 48
INFO:root:parsing page 14 of 48
INFO:root:parsing page 15 of 48
INFO:root:parsing page 16 of 48
INFO:root:parsing page 17 of 48
INFO:root:parsing page 18 of 48
INFO:root:parsing page 19 of 48
INFO:root:parsing page 20 of 48
INFO:root:parsing page 21 of 48
INFO:root:parsing page 22 of 48
INFO:root:parsing page 23 of 48
INFO:root:parsing page 24 of 48
INFO:root:parsing page 25 of 48
INFO:root:parsing page 26 of 48
INFO:root:parsing page 27 of 48
INFO:root:parsing page 28 of 48
INFO:root:parsing page 29 of 48
INFO:root:parsing page 30 of 48
INFO:root:parsing page 31 of 48
INFO:root:parsing page 32 of 48
INFO:root:parsing page 33 of 48
INFO:root:parsing page 34 of 48
INFO:root:parsing page 35 of 48
INFO:root:parsing page 36 of 48
INFO:root:parsing page 37 of 48
INFO:root:parsing page 38 of 48
INFO:root:parsing page 39 of 48
INFO:root:parsing page 40 of 48
INFO:root:parsing page 41 of 48
INFO:root:parsing page 42 of 48
INFO:root:parsing page 43 of 48
INFO:root:parsing page 44 of 48
INFO:root:parsing page 45 of 48
INFO:root:parsing page 46 of 48
INFO:root:GC collected objects : 48
Total message counts, including messages suppressed by logger configuration
cewe2pdf.config: WARNING[15], INFO[154]
root: WARNING[18], INFO[215]
I am using software as installed from the CEWE website a week ago. I am in the process of editing a photo book and I only used this CEWE software with no trick, but I realize I “saved as” and moved the photo directory several times.
I got an mcfx file that
cewe2pdf.py
fails to convert to pdf, because of extra content. Looking into the file withsqlite3
, it appears that the filedata.mcf
(extracted from the mcfx archive) has trailing blank lines. After I remove them manually and save back to the archive, the conversion succeeds (and the produced pdf is fine).A
bash
+sqlite3
work around is proposed in the bash session transcript below.I would suggest calling
rstrip()
afteretree.parse()
at line 1256 ofcewe2pdf.py
.