Hi, On Mageia 6 we can't use kajongg anymore due to an AttributeError: 'Tileset': $ kajongg Traceback (most recent call last): File "/bin/kajongg", line 188, in <module> MainWindow() File "/usr/share/apps/kajongg/mainwindow.py", line 144, in __init__ self.setupUi() File "/usr/share/apps/kajongg/mainwindow.py", line 254, in setupUi self.windTileset = Tileset(Internal.Preferences.windTilesetName) File "/usr/share/apps/kajongg/tileset.py", line 108, in __init__ self.__noTilesetsFound() AttributeError: 'Tileset' object has no attribute '_Tileset__noTilesetsFound' $ $ kajongg --version Qt : 4.8.7 Plate-forme de développement de KDE : 4.14.22 Ka-jongg : 4.13.0 $ This is with the latest kajongg release: kajongg-16.04.3 Reproducible: Always
is libkmahjongg installed ? (had similar problem in fedora until I added the necessary dependency)
In particular, kde4-based libkmahjongg-14.12.3 (or newer libkmahjongg-16.04.x if care is taken that it installs tilesets to the same place kmajongg expects)
You could edit /usr/share/apps/kajongg/tileset.py and replace __noTilesetsFound with __noTilesetFound. An upcoming version of kajongg will have that typo fixed. If you fix that, you will get another error message telling you that kajongg was not able to find any tilesets, asking you whether libkmahjongg is installed. So the real question is - do you have libkmahjongg installed? If not, why? Did you only use the official Mageia package installer? If yes, please ask Mageia to doublecheck kajongg package dependencies
Ok found! as it is still an kde4 apps we need to install libkmahjongg from kde4 and not the one from kf5.
*** Bug 387517 has been marked as a duplicate of this bug. ***