New salix-update-notifier, please test (and translate)

User avatar
gapan
Salix Wizard
Posts: 6442
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

ibka, can you point me where exactly it is not translated? I'm running it here with LANG=sv_SE.utf8 and everything seems to be translated.
Image
Image
User avatar
ibka
Posts: 171
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: New salix-update-notifier, please test (and translate)

Post by ibka »

Hi gapan

This is the content of the de-compiled salix-update-notifier.mo from the salix-update-notifier-20251024-x86_64-1gv.txz package:

Image

it is missing a lot of translations and this is the po file from Transifex:

Image
Image
User avatar
laplume
Donor
Posts: 352
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: New salix-update-notifier, please test (and translate)

Post by laplume »

ImageHello,
Same here. I installed salix-update-notifier-20251024-x86_64-1gv.txz but no translations are showing (except the 'Annulla' button on bottom left side).
Here are the screenshots:
Image

Regards,
Antonio
Last edited by laplume on 24. Oct 2025, 21:38, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6442
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Ah, that was by fault. I forgot to sync the git repo on the machine I'm using to build the packages. So, I thought I had included the updated translations in the latest package, but I hadn't. New packages are up now, they should be OK, thanks again!
Image
Image
User avatar
laplume
Donor
Posts: 352
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: New salix-update-notifier, please test (and translate)

Post by laplume »

Hello gapan,
YES, now it's working correctly. All is duly shown in correct localisation. :D Thumbs up and thanks for your work, much appreciated.
Sample screenshot here :
https://imgur.com/a/vFtTDiG

Regards,
Antonio
User avatar
ibka
Posts: 171
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: New salix-update-notifier, please test (and translate)

Post by ibka »

Hi gapan

Yes it is OK now.

I have a Salix installation in VirtualBox for experimenting and i was running salix-update-manager in a terminal and it shows the following:

Code: Select all

$ sudo salix-update-manager
DEBUG: Reading Package Lists...Done
DEBUG: The following packages have been EXCLUDED:
DEBUG: glibc glibc-i18n glibc-zoneinfo icewm idesk salix-update-notifier xfe yad
DEBUG: zzz-settings
DEBUG: The following packages will be upgraded:
DEBUG: pcre2
DEBUG: 1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 9 not upgraded.
DEBUG: Need to get 1.2MB of archives.
DEBUG: 1/1 Get http://www.mirrorservice.org/sites/download.salixos.org/x86_64/slackware-15.0/ pcre2 10.47-x86_64-1 [1.2MB]...Done
DEBUG: 
DEBUG: Done
DEBUG: Reading Package Lists...Done
DEBUG: The following packages have been EXCLUDED:
DEBUG: glibc glibc-i18n glibc-zoneinfo icewm idesk salix-update-notifier xfe yad
DEBUG: zzz-settings
DEBUG: The following packages will be upgraded:
DEBUG: pcre2
DEBUG: 1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 9 not upgraded.
DEBUG: Need to get 2.0kB/1.2MB of archives.
DEBUG: After unpacking 816.0kB of additional disk space will be used.
DEBUG: 
DEBUG: Preparing to replace pcre2-10.39-x86_64-1 with pcre2-10.47-x86_64-1
DEBUG: Upgrading package pcre2-10.39-x86_64-1 -> pcre2-10.47-x86_64-1...
DEBUG: | pcre2 (Perl-compatible regular expression library v2)
DEBUG: |
DEBUG: | PCRE2 is a re-working of the original PCRE library to provide a
DEBUG: | new and improved API.
DEBUG: |
DEBUG: | Homepage: http://www.pcre.org/
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: Done
Notice the "DEBUG:" part
I took a look at the source of salix-update-manager and there is more than one of this line:

Code: Select all

print("DEBUG:", line)
When i do something like this i put a variable in the beginning of the code and then check if the variable is true do the print part, this makes it easier if i have a lot of debug prints in the code.
Just a tip.

And again thanks for your work, i have used Salix for about 15 years now.
Image
User avatar
gapan
Salix Wizard
Posts: 6442
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Hi ibka, yes, I know :)

I just wanted it to always print those during testing.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6442
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Well, updated packages are up. There are no debug messages now by default, but you can show them if you run it from the command line with --debug.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6442
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

I just uploaded version 1.0.0 packages to the repos. Mirrors should sync in a few hours. So, you can remove salix-update-notifier from your EXCLUDE list in /etc/slapt-get/slapt-getrc now.

Thank you so much everyone for testing this!
Image
Image
salpek
Posts: 17
Joined: 22. Apr 2022, 22:09

Re: New salix-update-notifier, please test (and translate)

Post by salpek »

On one machine running Salix 15 32-bit, the new salix-update-manager hangs on 'reading package list' after entering the password, and nothing happens. The situation is the same whether the program is launched directly or via the tray icon notification.
Terminal logs from running salix-update-manager:

Code: Select all

salix-update-manager
/usr/bin/flatpak: error while loading shared libraries: libxmlb.so.2: cannot open shared object file: No such file or directory
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/bin/salix-update-manager", line 691, in _populate_updates_list
    flatpak_upgrades = _get_flatpak_upgrades()
  File "/usr/bin/salix-update-manager", line 196, in _get_flatpak_upgrades
    installed_flatpaks = _get_installed_flatpaks()
  File "/usr/bin/salix-update-manager", line 115, in _get_installed_flatpaks
    output = subprocess.check_output(command, env=new_env).decode("utf-8")
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/flatpak', 'list', '--user', '--all', '--columns=application,branch,version']' returned non-zero exit status 127.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/bin/salix-update-manager", line 705, in _populate_updates_list
    label_text = label_text + '\n\n' + e
TypeError: can only concatenate str (not "CalledProcessError") to str
Post Reply