[SRU] xx-svn-review crashed with ModuleNotFoundError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xxdiff (Debian) |
Fix Released
|
Unknown
|
|||
xxdiff (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
xx-svn-review will crash immediately on execution with the error:
$ xx-svn-review
Traceback (most recent call last):
File "/usr/bin/
from StringIO import StringIO
ModuleNotFoundE
[ Test Plan ]
sudo apt install subversion xxdiff-scripts
mkdir -p $HOME/.svnrepos/
svnadmin create ~/.svnrepos/MyRepo
svn mkdir -m "Create directory structure." \
file:
file:
file:
mkdir $HOME/test
cd $HOME/test
echo "test 1" > testfile
svn checkout file://
svn add --force ./
svn commit -m "Initial import."
svn update
echo "test 2" > testfile
xx-svn-diff
If the package is not fixed it will result in the above error.
With the fixed package the xx-svn-diff window will be displayed with the diff.
[ Where problems could occur ]
The only change in the code is in the module import and imports StringIO from io for Python3. And as such there is very small chance of regression due to this.
[ Other Info ]
It has been already fixed in Debian and Oracular will get the fixed package via sync.
[ Original Bug Description ]
xx-svn-review fails to run with the error:
$ xx-svn-review
Traceback (most recent call last):
File "/usr/bin/
from StringIO import StringIO
ModuleNotFoundE
ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: xxdiff-scripts 1:5.1+git202209
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 15 20:00:46 2024
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2024-04-10 (5 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/
Python3Details: /usr/bin/
PythonArgs: ['/usr/
PythonDetails: N/A
SourcePackage: xxdiff
Title: xx-svn-review crashed with ModuleNotFoundError in __main__: No module named 'StringIO'
Traceback:
Traceback (most recent call last):
File "/usr/bin/
from StringIO import StringIO
ModuleNotFound
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
information type: | Private → Public |
Changed in xxdiff (Debian): | |
status: | Unknown → New |
Changed in xxdiff (Debian): | |
status: | New → Fix Released |
tags: | removed: need-duplicate-check |
Changed in xxdiff (Ubuntu): | |
importance: | Undecided → Medium |
Issue also seen on Jammy and Mantic apart from Noble.