[SRU] ttx2xgf crashed with ModuleNotFoundError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xgridfit (Debian) |
Fix Released
|
Unknown
|
|||
xgridfit (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
The commands "xgridfit", "xgfconfig" and "ttx2xgf" fails to run and crashes immediately when executed by the user.
$ xgridfit
Traceback (most recent call last):
File "/usr/bin/
from xgflib import run_xgridfit
ModuleNotFoundE
$ xgfconfig
Traceback (most recent call last):
File "/usr/bin/
from xgflib import run_config
ModuleNotFoundE
$ ttx2xgf
Traceback (most recent call last):
File "/usr/bin/ttx2xgf", line 3, in <module>
from xgflib import run_ttx2xgf
ModuleNotFoundE
[ Test Plan ]
install xgridfit.
execute xgridfit
execute xgfconfig
execute ttx2xgf
If the package is not fixed, all the three commands will fail with the above error.
With the fixed package, it will display the help menu.
[ Where problems could occur ]
These commands were shipped with the package but have never worked as the python module was not added to the package. This change only adds the python module to the package so that these commands can find the module while executing. There should not be any regression due to this fix as its not changing any code and just installing the missing module.
But on the other hand, since these commands have never worked before, so any bugs in these commands were never noticed before. And so, there is a possibility that when these commands can now be actually executed, users might notice bugs with these and file new bugs.
[ Other Info ]
It has been fixed in Debian via 2.3-5 package and so Oracular is also fixed.
The Debian package also added another change to remove $(CURDIR)
[ Original Bug Description ]
ttx2xgf fails to run with the error:
$ ttx2xgf
Traceback (most recent call last):
File "/usr/bin/ttx2xgf", line 3, in <module>
from xgflib import run_ttx2xgf
ModuleNotFoundE
ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: xgridfit 2.3-4build4
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
Date: Sun Apr 14 20:44:05 2024
ExecutablePath: /usr/bin/ttx2xgf
InstallationDate: Installed on 2024-04-10 (4 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410)
InterpreterPath: /usr/bin/python3.12
JournalErrors: -- No entries --
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/ttx2xgf
Python3Details: /usr/bin/
PythonArgs: ['/usr/
PythonDetails: N/A
SourcePackage: xgridfit
Title: ttx2xgf crashed with ModuleNotFoundError in __main__: No module named 'xgflib'
Traceback:
Traceback (most recent call last):
File "/usr/bin/ttx2xgf", line 3, in <module>
from xgflib import run_ttx2xgf
ModuleNotFound
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
Changed in xgridfit (Debian): | |
status: | Unknown → New |
tags: | removed: need-duplicate-check |
Changed in xgridfit (Ubuntu): | |
importance: | Undecided → Medium |
Changed in xgridfit (Debian): | |
status: | New → Fix Released |
Changed in xgridfit (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in xgridfit (Ubuntu Focal): | |
status: | New → In Progress |
Changed in xgridfit (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in xgridfit (Ubuntu Noble): | |
status: | New → In Progress |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
Changed in xgridfit (Ubuntu Jammy): | |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
Changed in xgridfit (Ubuntu Focal): | |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
summary: |
- ttx2xgf crashed with ModuleNotFoundError + [SRU] ttx2xgf crashed with ModuleNotFoundError |
description: | updated |
i also needed that module to build junicode from source, it is fixed now in sid