** Summary changed:
- ttx2xgf crashed with ModuleNotFoundError
+ [SRU] ttx2xgf crashed with ModuleNotFoundError
** Description changed:
- ttx2xgf fails to run with the error:
+ [ 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/xgridfit", line 4, in <module>
+ from xgflib import run_xgridfit
+ ModuleNotFoundError: No module named 'xgflib'
+
+ $ xgfconfig
+ Traceback (most recent call last):
+ File "/usr/bin/xgfconfig", line 3, in <module>
+ from xgflib import run_config
+ ModuleNotFoundError: No module named 'xgflib'
$ ttx2xgf
Traceback (most recent call last):
File "/usr/bin/ttx2xgf", line 3, in <module>
from xgflib import run_ttx2xgf
+ ModuleNotFoundError: No module named 'xgflib'
+
+
+ [ 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)/debian/tmp/usr/local/lib/python* in d/rules. It had to be added as
they updated debhelper version to 13 in which dh_missing will default to
--fail-missing and the build will fail. But that is not needed for this SRU.
+
+ [ 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
ModuleNotFoundError: No module named 'xgflib'
ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: xgridfit 2.3-4build4
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
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 --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/ttx2xgf
Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal,
3.12.2-0ubuntu2
PythonArgs: ['/usr/bin/ttx2xgf']
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
- ModuleNotFoundError: No module named 'xgflib'
+ Traceback (most recent call last):
+ File "/usr/bin/ttx2xgf", line 3, in <module>
+ from xgflib import run_ttx2xgf
+ ModuleNotFoundError: No module named 'xgflib'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061319
Title:
[SRU] ttx2xgf crashed with ModuleNotFoundError
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xgridfit/+bug/2061319/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs