showFoto doesn't start

showFoto that show photo in raw format doesn’t start anymore.
In konsole I get:

~> showfoto
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
digikam.widgets: Invalid pixmap specified.
digikam.widgets: Invalid pixmap specified.
digikam.widgets: Invalid pixmap specified.
digikam.widgets: Invalid pixmap specified.
digikam.widgets: Invalid pixmap specified.
digikam.widgets: Invalid pixmap specified.
digikam.geocore: Map theme file does not exist: ""
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Falling back to default theme: "earth/srtm/srtm.dgml"
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Couldn't find a valid DGML map.
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Falling back to default theme: "earth/srtm/srtm.dgml"
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Couldn't find a valid DGML map.
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Falling back to default theme: "earth/srtm/srtm.dgml"
digikam.geocore: Map theme file does not exist: ""
digikam.geocore: Couldn't find a valid DGML map.
Segmentation fault (core dumped)

A quick and easy test is to create a new user account.

Then log out of your regular user account and log into the new user account. Then start up showFoto. Do you see the same problem??

That has been fixed and updates may fix your problem.
Do your updates with:

 zypper dup

Tried in an user I not use normally same problem.

I update regularly

~> sudo zypper dup
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Nothing to do.
1 Like

Just completed a huge update (and several other before) showFoto still doesn’t start.

No idea, it starts fine here. Can you fire it up from a terminal and have a look at the output ?

You can find it in first message.

Please show output of zypper lr -d

~> zypper lr -d
#  | Alias                               | Name                  | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                             | Service
---+-------------------------------------+-----------------------+---------+-----------+---------+------+----------+--------+---------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss       | Repository principa-> | Sì      | (r ) Sì   | Sì      | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                           | 
 2 | download.opensuse.org-oss           | Repository principa-> | Sì      | (r ) Sì   | Sì      | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                               | 
 3 | download.opensuse.org-tumbleweed    | Repository principa-> | Sì      | (r ) Sì   | Sì      | -    |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                 | 
 4 | http-download.videolan.org-ef9deccb | SuSE                  | Sì      | (r ) Sì   | Sì      | -    |   99     | rpm-md | http://download.videolan.org/SuSE/Tumbleweed/                                   | 
 5 | openSUSE-20240725-0                 | openSUSE-20240725-0   | No      | ----      | ----    | -    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-JetFlash_Transcend_16GB_ZFURB3G5-0:0-part2      | 
 6 | packman-essentials                  | packman-essentials    | Sì      | (r ) Sì   | Sì      | -    |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/ | 
 7 | repo-debug                          | openSUSE-Tumbleweed-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/                         | 
 8 | repo-openh264                       | Open H.264 Codec (o-> | Sì      | (r ) Sì   | Sì      | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                         | 
 9 | repo-source                         | openSUSE-Tumbleweed-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/                        | 
10 | snappy                              | snappy                | Sì      | (r ) Sì   | No      | -    |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/  | 

  1. Don’t run snap on openSUSE, it is not supported
  2. You should not have both videolan and Packman, remove videolan

I installed snap to install a software that I don’t remember. Same, I suppose, for videolan. Is there a way to know which software rely on snap and on videolan?
I woldn’t that removing snap and videolan stop other software.
Anyway snap is in my pc since quite long time, well before showFoto stop working.

To check what is installed from Videolan repo:

zypper se -r 4 -si 

Snaps can be listed via:

snap list

It seems that Videolan is useless

:~> zypper se -r 4 -si 
Loading repository data...
Reading installed packages...
No matching items found.

Instead I used snap to install Signal desktop

~> snap list
Name               Version                         Rev    Tracking       Publisher       Notes
bare               1.0                             5      latest/stable  canonical**     base
core22             20250425                        1981   latest/stable  canonical**     base
core24             20250504                        988    latest/stable  canonical**     base
gnome-42-2204      0+git.38ea591                   202    latest/stable  canonical**     -
gnome-46-2404      0+git.d9f8bf6-sdk0+git.c8a281c  90     latest/stable  canonical**     -
gtk-common-themes  0.1-81-g442e511                 1535   latest/stable  canonical**     -
mesa-2404          24.2.8                          495    latest/stable  canonical**     -
signal-desktop     7.56.1                          795    latest/stable  snapcrafters*   -
snapd              2.68.4                          24505  latest/stable  canonical**     snapd
weasis             4.6.1                           184    latest/stable  nicolas-roduit  -

And I confirm I installed Signal long time ago, well before showFoto problem.

…and Weasis.

That means you can remove this repo safely via:
sudo zypper rr 4

Yes, useful to show “medical” images.

Removed Videolan

OK, now run sudo zypper dup --from packman-essentials --allow-vendor-change, then run sudo zypper dup, then try ShowFoto again.

~> sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
2 Problems:
Problem: 1: problem with the installed libdca0-0.0.7+2-10.8.x86_64
Problem: 2: problem with the installed libmpeg2-0-0.5.1-9.49.x86_64

Problem: 1: problem with the installed libdca0-0.0.7+2-10.8.x86_64
 Solution 1: install libdca0-0.0.7+2-1.7.x86_64 from vendor openSUSE
  replacing libdca0-0.0.7+2-10.8.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
 Solution 2: keep obsolete libdca0-0.0.7+2-10.8.x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 

This happens after huge update made today.

You still have videolan repo

I removed it and now it seems at least disabled.

:~> zypper se -r 4 -si
Specified repository 'openSUSE-20240725-0' is disabled.
Global option '--plus-content <TAG>' can be used to temporarily enable repositories.
giorgio@localhost:~>