Page 1 of 1
0.87 MP: user setting are not loaded
Posted: Mon Sep 11, 2017 8:41 am
by vinibali
XnView: MP 0.87 - 64-bit
OS: Arch Linux 4.11 - 64-bit
Effect: XnView always start with default settings
The user settings are not loaded at start.
However the config file is updated every time, I even tried to delete the whole config and cache folders.
Steps to reproduce:
1. Just simply start the application with an image
Expected behaviour: The app should start at normal mode and not in browser (in my case).
I think the problem should be something like:
Code: Select all
Fontconfig error: "/etc/fonts/fonts.conf", line 54854847: syntax error
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
However the fonts.conf is "only" 2339 lines.
Thank you
Re: 0.87 MP: user setting are not loaded
Posted: Tue Sep 12, 2017 9:38 am
by xnview
if you start XnView in browser mode, no problem with settings?
Re: 0.87 MP: user setting are not loaded
Posted: Fri Sep 15, 2017 8:00 am
by vinibali
The setting won't be loaded anyway. Whenever I just click on a file or just start the application itself the default setting are loaded.
I just find the xnviewmp and .xnviewmp folders in the ~/.config/. Is it okey?
The xnview.ini has an up-to-date modify date at xnviewmp folder and the xnview.ini in the .xnviewmp folder is from 2016-04-06.
Re: 0.87 MP: user setting are not loaded
Posted: Fri Sep 15, 2017 8:34 am
by xnview
vinibali wrote:The setting won't be loaded anyway. Whenever I just click on a file or just start the application itself the default setting are loaded.
I just find the xnviewmp and .xnviewmp folders in the ~/.config/. Is it okey?
yes
The xnview.ini has an up-to-date modify date at xnviewmp folder and the xnview.ini in the .xnviewmp folder is from 2016-04-06.
Try to rename it?
Re: 0.87 MP: user setting are not loaded
Posted: Sun Sep 24, 2017 9:50 am
by vinibali
Nothing changed, even if If rename the .xnviewmp folder to xnviewmp.
Can I help you anyhow to figure out whats wrong?
Re: 0.87 MP: user setting are not loaded
Posted: Sun Sep 24, 2017 1:05 pm
by xnview
vinibali wrote:Nothing changed, even if If rename the .xnviewmp folder to xnviewmp.
Can I help you anyhow to figure out whats wrong?
if you rename the folder, by starting XnViewMP, it is re-created?
Re: 0.87 MP: user setting are not loaded
Posted: Mon Oct 02, 2017 9:43 pm
by Konzertheld
I came across this thread because I received the same error, though I do not have the problem the original poster has (my settings are not lost). The first messages I see when starting XnViewMP are:
Fontconfig error: "/etc/fonts/fonts.conf", line 29781727: syntax error
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir prefix="xdg">fontconfig</cachedir>
As said, my settings are okay, but I do not see any text (see screenshot).
I tried renaming my config folder anyway because it was suggested in this thread, it was then recreated and the "first start" dialog popped up, but it had no text either except the title.
Also, my fonts.conf is only a few lines long. I am on Arch Linux, too (Antergos, to be precise), and I have the same problem on two different computers. On the first, the problem occured after upgrading XnViewMP, on the second, XnViewMP was not installed before and the problem was there from the beginning as the current version was the first I ever installed on that PC.
Re: 0.87 MP: user setting are not loaded
Posted: Tue Oct 03, 2017 1:40 pm
by zuzukrukov
Actually the same problem.
The error message is:
Fontconfig error: "/etc/fonts/fonts.conf", line 25814559: syntax error
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
All settings are ok. This error appeared after updatind xnview to last version (0.87) via yaourt. Downgrading to 0.86 does nothing - the same error.
Re: 0.87 MP: user setting are not loaded
Posted: Tue Oct 03, 2017 4:02 pm
by hodyna
Downgrade:
Code: Select all
pacman -U https://archive.archlinux.org/packages/f/fontconfig/fontconfig-2.12.1-3-x86_64.pkg.tar.xz
Re: 0.87 MP: user setting are not loaded
Posted: Tue Oct 03, 2017 4:16 pm
by Konzertheld
I can confirm that the fontconfig package was upgrade at the same time as XnView. I downgraded fontconfig from 2.12.6 to 2.12.5, that helped. Now to figure out if XnView is incompatible with fontconfig 2.12.6 or if fontconfig itself has a problem.
Re: 0.87 MP: user setting are not loaded
Posted: Tue Oct 03, 2017 4:19 pm
by hodyna
Konzertheld wrote:I can confirm that the fontconfig package was upgrade at the same time as XnView. I downgraded fontconfig from 2.12.6 to 2.12.5, that helped. Now to figure out if XnView is incompatible with fontconfig 2.12.6 or if fontconfig itself has a problem.
Unfortunately, I do not know how!
Re: 0.87 MP: user setting are not loaded
Posted: Fri Oct 06, 2017 8:46 pm
by vinibali
if you rename the folder, by starting XnViewMP, it is re-created?
yes, it is. i rolled back to fontconfig 2.12.1-4 but that one didn't helped me at all in the default setting.
so the symptome is still the same, seems like the xnviewmp.ini is updated, but the setting won't be loaded when the application starts

Re: 0.87 MP: user setting are not loaded
Posted: Thu Feb 15, 2018 8:00 am
by vinibali
Hello guys!
I removed the xnview with the -Rsc option with pacman. That means every dependent package will removed. Than I deleted the xnviewmp directories from ~/.config, ~/.cache and from the /opt. And after installin the xnviewmp-system-libs package, everything is normal again. Fontconfig currently is version 2.12.6+5+g665584a-1.
Thank you