get_moz_enUS crashed with FileNotFoundError in process_l10n_ini(): [Errno 2] No such file or directory: 'mozilla/locales/l10n.ini'

Bug #2060750 reported by Sudip Mukherjee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
translate-toolkit (Debian)
New
Unknown
translate-toolkit (Ubuntu)
New
Medium
Unassigned

Bug Description

get_moz_enUS fails to run with the error:

$ get_moz_enUS
Traceback (most recent call last):
  File "/usr/bin/get_moz_enUS", line 160, in <module>
    process_l10n_ini(product_ini)
  File "/usr/bin/get_moz_enUS", line 46, in process_l10n_ini
    with open(path_neutral(inifile)) as fh:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'mozilla/locales/l10n.ini'

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: translate-toolkit 3.12.2-1
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 10 00:03:11 2024
ExecutablePath: /usr/bin/get_moz_enUS
InstallationDate: Installed on 2024-04-08 (1 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240408)
InterpreterPath: /usr/bin/python3.12
JournalErrors: -- No entries --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/get_moz_enUS
Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.2-0ubuntu2
PythonArgs: ['/usr/bin/get_moz_enUS']
PythonDetails: N/A
SourcePackage: translate-toolkit
Title: get_moz_enUS crashed with FileNotFoundError in process_l10n_ini(): [Errno 2] No such file or directory: 'mozilla/locales/l10n.ini'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
information type: Private → Public
Changed in translate-toolkit (Debian):
status: Unknown → New
tags: removed: need-duplicate-check
Changed in translate-toolkit (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.