Bug 52622 - Migrate ucs-school-l10n-fr to Python 3
Migrate ucs-school-l10n-fr to Python 3
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v1
Assigned To: Florian Best
Felix Botner
: interim-3
Depends on:
Blocks: 52578
  Show dependency treegraph
 
Reported: 2021-01-12 15:23 CET by Florian Best
Modified: 2021-11-29 17:19 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-01-12 15:23:55 CET
The package ucs-school-l10n-fr needs to be migrated to Python 3.

See: https://hutten.knut.univention.de/mediawiki/index.php/Python_3_Migration
Comment 1 Florian Best univentionstaff 2021-06-19 04:14:27 CEST
Migrated to Python 3, registered UCR config module. Could be removed as well, I think.

ucs-school-l10n-fr (5.0.1)
428e3dccf579 | Bug #52622: migrate ucs-school-l10n-fr to Python 3
Comment 3 Felix Botner univentionstaff 2021-08-16 15:05:51 CEST
i have no idea how this works, but this

-> /usr/share/ucs-school-l10n-fr/ucs-school-ucr-l10n fr

returns

Traceback (most recent call last):
  File "/usr/share/ucs-school-l10n-fr/ucs-school-ucr-l10n", line 40, in <module>
    gettext.translation("ucs-school-ucr-l10n", languages=[args.language_code]).install()
  File "/usr/lib/python3.7/gettext.py", line 539, in translation
    'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'ucs-school-ucr-l10n'

is this normal, or another bug?

OK - can be installed and is python3
Comment 4 Florian Best univentionstaff 2021-08-16 17:11:49 CEST
Looks broken in 4.4-8 as well. Nevertheless I fixed it via:

ucs-school-l10n-fr (5.0.1)
544dd058d7f7 | fixup! Bug #52605 ucs-school-l10n-fr: use new debhelper sequences
Comment 5 Felix Botner univentionstaff 2021-08-17 12:30:49 CEST
OK
Comment 6 Jürn Brodersen univentionstaff 2021-11-29 17:19:37 CET
UCS@school 5.0 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.