[kmahjongg] [Bug 361132] New: kmahjongg 16.04 fails to start after migrating KDE4 configuration

Antonio Rojas via KDE Bugzilla bugzilla_noreply at kde.org
Tue Mar 29 11:28:00 BST 2016


https://bugs.kde.org/show_bug.cgi?id=361132

            Bug ID: 361132
           Summary: kmahjongg 16.04 fails to start after migrating KDE4
                    configuration
           Product: kmahjongg
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: arojas at archlinux.org
                CC: kde-games-bugs at kde.org

If you have configuration files from the KDE4 version of kmahjongg, the KF5
version will fail to start. The terminal is flooded with 

log_kmahjongg: Set a new Background:
"/usr/share/apps/kmahjongglib/backgrounds/default.desktop"
log_libkmahjongg: Using background at
"/usr/share/kmahjongglib/backgrounds/egyptian.svgz"
log_kmahjongg: Error loading the layout. Try to load the default layout.
log_kmahjongg: Inside LoadDefault(), located layout at
"/usr/share/kmahjongg/layouts/default.desktop"
log_kmahjongg: Using layout at "/usr/share/kmahjongg/layouts/default.layout"
log_kmahjongg: Set a new Background:
"/usr/share/apps/kmahjongglib/backgrounds/default.desktop"
...

It seems that the config migration doesn't take into account the different
location of the data files in the kf5 version of libkmahjongg. After migration,
~/.config/kmahjonggrc contains the lines:

[General]
Background_file=/usr/share/apps/kmahjongglib/backgrounds/default_old.desktop
Layout_file=/usr/share/apps/kmahjongg/layouts/checkered.desktop
Tileset_file=/usr/share/apps/kmahjongglib/tilesets/default.desktop

But in KF5 those files are located in /usr/share/kmahjongg{lib} instead. This
seems to confuse the application.

Reproducible: Always

Steps to Reproduce:
1. Upgrade from kmahjongg 15.12 to 16.04 (make sure kmahjongg has been started
so there is a config file in ~/.kde)
2. Start kmahjongg

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list