debdiff attached for Noble. ** Summary changed:
- xx-svn-review crashed with ModuleNotFoundError in Noble + [SRU] xx-svn-review crashed with ModuleNotFoundError ** Description changed: - xx-svn-review fails to run with the error: + [ Impact ] - $ xx-svn-review + xx-svn-review will crash immediately on execution with the error: + + $ xx-svn-review Traceback (most recent call last): File "/usr/bin/xx-svn-review", line 7, in <module> from StringIO import StringIO + ModuleNotFoundError: No module named 'StringIO' + + + [ Test Plan ] + + + sudo apt install subversion xxdiff-scripts + mkdir -p $HOME/.svnrepos/ + svnadmin create ~/.svnrepos/MyRepo + svn mkdir -m "Create directory structure." \ + file://$HOME/.svnrepos/MyRepo/trunk \ + file://$HOME/.svnrepos/MyRepo/branches \ + file://$HOME/.svnrepos/MyRepo/tags + mkdir $HOME/test + cd $HOME/test + echo "test 1" > testfile + svn checkout file://$HOME/.svnrepos/MyRepo/trunk ./ + 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/xx-svn-review", line 7, in <module> + from StringIO import StringIO ModuleNotFoundError: No module named 'StringIO' ProblemType: Crash DistroRelease: Ubuntu 24.04 Package: xxdiff-scripts 1:5.1+git20220924+dfsg-1build3 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: Mon Apr 15 20:00:46 2024 ExecutablePath: /usr/bin/xx-svn-review 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 -- PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/xx-svn-review Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.2-0ubuntu2 PythonArgs: ['/usr/bin/xx-svn-review'] 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/xx-svn-review", line 7, in <module> - from StringIO import StringIO - ModuleNotFoundError: No module named 'StringIO' + Traceback (most recent call last): + File "/usr/bin/xx-svn-review", line 7, in <module> + from StringIO import StringIO + ModuleNotFoundError: No module named 'StringIO' UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sudo users ** Patch added: "xxdiff_noble.debdiff" https://bugs.launchpad.net/ubuntu/+source/xxdiff/+bug/2061637/+attachment/5774559/+files/xxdiff_noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061637 Title: [SRU] xx-svn-review crashed with ModuleNotFoundError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xxdiff/+bug/2061637/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs