Dnfdrake errors

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

Rome 25.04

Desktop environment (KDE, LXQT…):

KDE Plasma6

Description of the issue (screenshots if relevant):

Since dnfdrake was updated to ver. 5, on all my 3 computers the program starts with errors and does not work properly. I reinstalled it several times, checked the dependencies, searched the forum and wiki and not found a solution. The problem occurs on both KDE with X11 and Wayland.
On startup, the program reports:

After clicking “skip” the program window looks like this:

When I click the “configure” button, another error:

Similarly, when I select “extra”:

Buttons like sync, packet search, etc. do not cause any action, no messages in the console.
Does anyone have a similar situation?

Relevant informations (hardware involved, software version, logs or output…):

Hi,
On my system (same as yours) it works when installed clean.
So it points to maybe something broken/incompatible in the old settings that left behind when you updated dnfdrake.

When you do remove and install again, those settings remain.
So I suggest to remove those files and try dnfdrake again.
sudo rm -rf /root/.config/dnfdrake

Cheers,

Also, not related but:

Gambas :slight_smile: Long time no see

Thank you for advise. I did as you wrote, but nothing has changed, the errors are the same. :slightly_frowning_face:

Also try rename ~/.config/dnfdrake if you have it (depending on the system installation age)

There is something broken in the Polish Tooltips translation file.
I didn’t understand what exactly from the looks of it, maybe there is a new line missing or something.
Anyway, for now what you can do is to replace the polish translations with english ones, the tooltips will be in english, but at least the app will be working.
to rename the current translation file
sudo mv /usr/share/dnfdrake/dnfdrake-TTP-pl_PL /usr/share/dnfdrake/dnfdrake-TTP-pl_PL_old
to copy english file to polish one
sudo cp /usr/share/dnfdrake/dnfdrake-TTP-en_US /usr/share/dnfdrake/dnfdrake-TTP-pl_PL

This should work. At least I could reproduce and validate that this workaround works.

1 Like

I removed this folder when dnfdrake was updated to the new version 5 and it no longer appears.

1 Like

And you should defintely file a bug report for it :slight_smile:

1 Like

It works! These are definitely some errors in the Polish translation. We need to take care of it. I’ll check the translation on transifex when I have some time.
Thanks a lot for your help. :+1:

@Ascendus
Glad that you sorted.

The translations are pushed as provided by the translators. Especially with some languages we can’t have any clue whether they may be correct or not.

@makalsky Thanks for the workaround.
Probably no need for a bug report, this topic will serve as that and I just messaged the author to let him be aware :wink:

The issue is on line 83 of the file.
And it looks like the issue is with Gambas file reader and not even the file itself.
Anyway the here is a fixed file, I just added an underscore to the end of that line, which is being removed by the parser, so no changes in behaviour.
remove the txt extension of course ))
dnfdrake-TTP-pl_PL.txt (2.8 KB)

4 Likes

Thanks for reporting and fixing. It will be integrated into the source soon.

1 Like

I downloaded your file, copied it to the right place and everything works flawlessly. Thanks! :ok_hand:

2 Likes