0.87 MP: user setting are not loaded

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

Moderator: Dreamer

vinibali
Posts: 5
Joined: Sat Jan 16, 2016 10:38 am

0.87 MP: user setting are not loaded

Postby vinibali » Mon Sep 11, 2017 8:41 am

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: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Postby xnview » Tue Sep 12, 2017 9:38 am

if you start XnView in browser mode, no problem with settings?
Pierre.

vinibali
Posts: 5
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Postby vinibali » Fri Sep 15, 2017 8:00 am

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: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Postby xnview » Fri Sep 15, 2017 8:34 am

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: 5
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Postby vinibali » Sun Sep 24, 2017 9:50 am

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: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.87 MP: user setting are not loaded

Postby xnview » Sun Sep 24, 2017 1:05 pm

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

Re: 0.87 MP: user setting are not loaded

Postby Konzertheld » Mon Oct 02, 2017 9:43 pm

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

Postby zuzukrukov » Tue Oct 03, 2017 1:40 pm

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

Postby hodyna » Tue Oct 03, 2017 4:02 pm

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

Re: 0.87 MP: user setting are not loaded

Postby Konzertheld » Tue Oct 03, 2017 4:16 pm

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

Postby hodyna » Tue Oct 03, 2017 4:19 pm

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: 5
Joined: Sat Jan 16, 2016 10:38 am

Re: 0.87 MP: user setting are not loaded

Postby vinibali » Fri Oct 06, 2017 8:46 pm

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 :?


Return to “New”

Who is online

Users browsing this forum: No registered users and 1 guest