Package Details: payetools-rti 24.1.24086.542-1

Git Clone URL: https://aur.archlinux.org/payetools-rti.git (read-only, click to copy)
Package Base: payetools-rti
Description: UK HMRC Basic PAYE Tools for Linux
Upstream URL: https://www.gov.uk/basic-paye-tools
Licenses: custom
Submitter: kubrick
Maintainer: kubrick
Last Packager: kubrick
Votes: 3
Popularity: 0.000000
First Submitted: 2016-05-19 11:41 (UTC)
Last Updated: 2024-05-01 10:31 (UTC)

Pinned Comments

kubrick commented on 2024-05-01 10:35 (UTC)

PSA: package was upgraded to upstream version 24.1.24086.542

As usual for new tax years, during the first launch, the program remains in a background to update the database with no visible activity on screen, with CPU at 100%. Do not panic and let it finish.

Latest Comments

« First ‹ Previous 1 2 3 4

tlvince commented on 2019-04-30 18:20 (UTC)

Thanks!

kubrick commented on 2019-04-29 15:12 (UTC)

hello @tlvince. I can reproduce the issue and it is probably due to the recent upgrade of lib32-glibc (2.28-6 -> 2.29-1).

I will see if I can do something about this...

tlvince commented on 2019-04-28 10:17 (UTC)

rti-19.x doesn't want to launch for me. First it complains about missing libxml2:

Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: libxml2.so.2: cannot open shared object file: No such file or directory

pacman -S lib32-libxml2 solves that, but then it complains about glibc:

Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: /opt/HMRC/basic-paye-tools/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib32/libicuuc.so.64)

That's already installed:

❯ pacman -Ss lib32-glibc
core/lib32-glibc 2.29-1 [installed]
    GNU C Library (32-bit)

Any ideas?

kubrick commented on 2018-04-08 16:00 (UTC)

No, I haven't found a way to contact them other than by phone on their helpline, and I've got a feeling this is going to be very time consuming...

tlvince commented on 2018-04-08 13:33 (UTC)

Thanks! NB, have you reported the RPATH issue?

kubrick commented on 2018-04-07 11:50 (UTC)

I think I found a solution. The configuration file doesn't seem to be necessary at all and the app just uses the defaults if it's not present. So the next release I do will just rename rti.cfg to rti.cfg.template and remove the Components section, so you can keep your custom configuration in place if you need one, it won't get overwritten.

tlvince commented on 2018-04-07 11:24 (UTC)

userdatamode=2 allows you specify where the DB is stored. It seems the original use case was to support network drives. See install guide (search userdata).

kubrick commented on 2018-04-06 22:06 (UTC)

Hi @tlvince,

I'm afraid you know more than I do already. What does userdatamode=2 do? the installer's built-in help says valid values are 0 or 1.

I strace-d the command and unfortunately it doesn't seem to be looking for a config file in a user directory, which sucks.

backup may be an option, I'll give it a try, I don't know what's the impact of the version string...

tlvince commented on 2018-04-06 18:06 (UTC) (edited on 2018-04-06 18:07 (UTC) by tlvince)

Thanks for maintaining this. I set the following in /opt/HMRC/basic-paye-tools/rti.cfg to move the SQLite DB to somewhere other than ~/HMRC:

[General]
userdatamode=2
userdatadir=/path/to/data

Is there a way to persist this between updates? You might be able to use backup in PKGBUILD, but at the same time, rti updates this file itself to the version number, so I'm not sure what's best here:

[Components]
Core=18.0.18059.259

kubrick commented on 2018-01-21 17:48 (UTC) (edited on 2018-04-07 11:51 (UTC) by kubrick)

FYI, 17.4.17200.477-2 fixes an upstream security issue where a malicious user having access to /home/teamcity could preload libraries referenced in the RPATH of the binaries included in the upstream package. This new PKGBUILD removes the reference to the RPATH.

HOWEVER the problem is still not fixed for python libraries. I'll try to fix that in future releases