0.87 MP: user setting are not loaded

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
vinibali
Posts: 6
Joined: Sat Jan 16, 2016 10:38 am

0.87 MP: user setting are not loaded

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Post by xnview »

if you start XnView in browser mode, no problem with settings?
Pierre.
vinibali
Posts: 6
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Post 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.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Post 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?
Pierre.
vinibali
Posts: 6
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Post by vinibali »

Nothing changed, even if If rename the .xnviewmp folder to xnviewmp.
Can I help you anyhow to figure out whats wrong?
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Post 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?
Pierre.
Konzertheld
Posts: 43
Joined: Sun Feb 27, 2011 9:43 pm

Re: 0.87 MP: user setting are not loaded

Post 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).
Bildschirmfoto von »2017-10-02 23-40-08«.png
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.
zuzukrukov
Posts: 1
Joined: Tue Oct 03, 2017 1:25 pm

Re: 0.87 MP: user setting are not loaded

Post 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.
hodyna
Posts: 2
Joined: Tue Oct 03, 2017 11:32 am

Re: 0.87 MP: user setting are not loaded

Post 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
Konzertheld
Posts: 43
Joined: Sun Feb 27, 2011 9:43 pm

Re: 0.87 MP: user setting are not loaded

Post 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.
hodyna
Posts: 2
Joined: Tue Oct 03, 2017 11:32 am

Re: 0.87 MP: user setting are not loaded

Post 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!
vinibali
Posts: 6
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Post 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 :?
vinibali
Posts: 6
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Post 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
Post Reply