Activity log for bug #2024325

Date Who What changed Old value New value Message
2023-06-18 20:57:08 Lars Becker bug added bug
2024-01-09 15:15:39 Launchpad Janitor trac (Ubuntu): status New Confirmed
2024-01-09 15:16:15 Tim Bishop bug added subscriber Tim Bishop
2024-01-26 20:07:21 Sudip Mukherjee tags jammy
2024-01-26 20:30:58 Robie Basak nominated for series Ubuntu Jammy
2024-01-26 20:30:58 Robie Basak bug task added trac (Ubuntu Jammy)
2024-01-26 20:47:28 Sudip Mukherjee trac (Ubuntu Jammy): status New In Progress
2024-01-26 20:47:31 Sudip Mukherjee trac (Ubuntu Jammy): assignee Sudip Mukherjee (sudipmuk)
2024-01-26 20:47:34 Sudip Mukherjee trac (Ubuntu): status Confirmed Fix Released
2024-01-29 22:03:59 Sudip Mukherjee summary trac crashes while importing a library in Ubuntu 20.04 (ImportError: cannot import name 'soft_unicode' from 'jinja2.utils') [SRU] trac crashes while importing a library in Ubuntu 20.04 (ImportError: cannot import name 'soft_unicode' from 'jinja2.utils')
2024-01-29 22:05:19 Sudip Mukherjee description Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404 [ Impact ] trac is completely unusable as it will fail with the below error whenever any user tries to run "tracd" or "trac-admin": Traceback (most recent call last): File "/usr/bin/tracd", line 33, in <module> sys.exit(load_entry_point('Trac==1.5.3', 'console_scripts', 'tracd')()) File "/usr/bin/tracd", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/trac/web/standalone.py", line 35, in <module> from trac.web.auth import BasicAuthentication, DigestAuthentication File "/usr/lib/python3/dist-packages/trac/web/auth.py", line 29, in <module> from trac.web.chrome import Chrome, INavigationContributor File "/usr/lib/python3/dist-packages/trac/web/chrome.py", line 40, in <module> from trac.mimeview.api import RenderingContext, get_mimetype File "/usr/lib/python3/dist-packages/trac/mimeview/__init__.py", line 14, in <module> from trac.mimeview.api import * File "/usr/lib/python3/dist-packages/trac/mimeview/api.py", line 70, in <module> from trac.resource import Resource File "/usr/lib/python3/dist-packages/trac/resource.py", line 21, in <module> from trac.util.presentation import classes File "/usr/lib/python3/dist-packages/trac/util/presentation.py", line 26, in <module> from jinja2.utils import soft_unicode ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' (/usr/lib/python3/dist-packages/jinja2/utils.py) [ Test Plan ] * Simple test: - Execute "tracd --help" or "tracd" - Execute "trac-admin --help" or "trac-admin" - If its not fixed then both the commands will fail as the error above - With fixed package both the commands will show the help message. * More comprehensive test: (execue the following as root) - mkdir -p /var/lib/trac - trac-admin /var/lib/trac/myproject initenv - Enter some project name when prompted - Leave default sqlite DB (just press enter) - echo -n "tracadmin:example.com:" > /var/lib/trac/myproject/users.htdigest - trac-admin /var/lib/trac/myproject permission add tracadmin TRAC_ADMIN - tracd --port 8080 --auth=*,/var/lib/trac/myproject/users.htdigest,example.com /var/lib/trac/myproject - open http://127.0.0.1:8080 in browser, it should show the project name and clicking on that should show the welcome screen [ Where problems could occur ] It is not changing any part of the code, its only importing the module with the new name and so there is minimum chance of any regression. [ Other Info ] - The Ubuntu patch is a combination of portions of two upstream but related changes. - One of the upstream changes mentions about an AssertionError for jinja, so it will be great if this can be tested by a real user of trac. The testplan only checks the server starts and is working. [ Original Bug Description ] Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404
2024-01-29 22:07:53 Sudip Mukherjee attachment added trac_jammy.debdiff https://bugs.launchpad.net/ubuntu/jammy/+source/trac/+bug/2024325/+attachment/5743275/+files/trac_jammy.debdiff
2024-01-29 22:12:02 Sudip Mukherjee trac (Ubuntu Jammy): status In Progress Confirmed
2024-01-29 22:12:04 Sudip Mukherjee trac (Ubuntu Jammy): assignee Sudip Mukherjee (sudipmuk)
2024-01-29 22:12:15 Sudip Mukherjee bug added subscriber Ubuntu Sponsors
2024-01-29 22:12:35 Sudip Mukherjee bug added subscriber Sudip Mukherjee
2024-02-05 12:20:12 Robie Basak description [ Impact ] trac is completely unusable as it will fail with the below error whenever any user tries to run "tracd" or "trac-admin": Traceback (most recent call last): File "/usr/bin/tracd", line 33, in <module> sys.exit(load_entry_point('Trac==1.5.3', 'console_scripts', 'tracd')()) File "/usr/bin/tracd", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/trac/web/standalone.py", line 35, in <module> from trac.web.auth import BasicAuthentication, DigestAuthentication File "/usr/lib/python3/dist-packages/trac/web/auth.py", line 29, in <module> from trac.web.chrome import Chrome, INavigationContributor File "/usr/lib/python3/dist-packages/trac/web/chrome.py", line 40, in <module> from trac.mimeview.api import RenderingContext, get_mimetype File "/usr/lib/python3/dist-packages/trac/mimeview/__init__.py", line 14, in <module> from trac.mimeview.api import * File "/usr/lib/python3/dist-packages/trac/mimeview/api.py", line 70, in <module> from trac.resource import Resource File "/usr/lib/python3/dist-packages/trac/resource.py", line 21, in <module> from trac.util.presentation import classes File "/usr/lib/python3/dist-packages/trac/util/presentation.py", line 26, in <module> from jinja2.utils import soft_unicode ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' (/usr/lib/python3/dist-packages/jinja2/utils.py) [ Test Plan ] * Simple test: - Execute "tracd --help" or "tracd" - Execute "trac-admin --help" or "trac-admin" - If its not fixed then both the commands will fail as the error above - With fixed package both the commands will show the help message. * More comprehensive test: (execue the following as root) - mkdir -p /var/lib/trac - trac-admin /var/lib/trac/myproject initenv - Enter some project name when prompted - Leave default sqlite DB (just press enter) - echo -n "tracadmin:example.com:" > /var/lib/trac/myproject/users.htdigest - trac-admin /var/lib/trac/myproject permission add tracadmin TRAC_ADMIN - tracd --port 8080 --auth=*,/var/lib/trac/myproject/users.htdigest,example.com /var/lib/trac/myproject - open http://127.0.0.1:8080 in browser, it should show the project name and clicking on that should show the welcome screen [ Where problems could occur ] It is not changing any part of the code, its only importing the module with the new name and so there is minimum chance of any regression. [ Other Info ] - The Ubuntu patch is a combination of portions of two upstream but related changes. - One of the upstream changes mentions about an AssertionError for jinja, so it will be great if this can be tested by a real user of trac. The testplan only checks the server starts and is working. [ Original Bug Description ] Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404 [ Impact ] trac is completely unusable as it will fail with the below error whenever any user tries to run "tracd" or "trac-admin": Traceback (most recent call last):   File "/usr/bin/tracd", line 33, in <module>     sys.exit(load_entry_point('Trac==1.5.3', 'console_scripts', 'tracd')())   File "/usr/bin/tracd", line 25, in importlib_load_entry_point     return next(matches).load()   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load     module = import_module(match.group('module'))   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 883, in exec_module   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed   File "/usr/lib/python3/dist-packages/trac/web/standalone.py", line 35, in <module>     from trac.web.auth import BasicAuthentication, DigestAuthentication   File "/usr/lib/python3/dist-packages/trac/web/auth.py", line 29, in <module>     from trac.web.chrome import Chrome, INavigationContributor   File "/usr/lib/python3/dist-packages/trac/web/chrome.py", line 40, in <module>     from trac.mimeview.api import RenderingContext, get_mimetype   File "/usr/lib/python3/dist-packages/trac/mimeview/__init__.py", line 14, in <module>     from trac.mimeview.api import *   File "/usr/lib/python3/dist-packages/trac/mimeview/api.py", line 70, in <module>     from trac.resource import Resource   File "/usr/lib/python3/dist-packages/trac/resource.py", line 21, in <module>     from trac.util.presentation import classes   File "/usr/lib/python3/dist-packages/trac/util/presentation.py", line 26, in <module>     from jinja2.utils import soft_unicode ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' (/usr/lib/python3/dist-packages/jinja2/utils.py) [ Test Plan ] * Simple test:   - Execute "tracd --help" or "tracd"   - Execute "trac-admin --help" or "trac-admin"   - If its not fixed then both the commands will fail as the error above   - With fixed package both the commands will show the help message. * More comprehensive test: (execue the following as root)   - mkdir -p /var/lib/trac   - trac-admin /var/lib/trac/myproject initenv   - Enter some project name when prompted   - Leave default sqlite DB (just press enter)   - echo -n "tracadmin:example.com:" > /var/lib/trac/myproject/users.htdigest   - trac-admin /var/lib/trac/myproject permission add tracadmin TRAC_ADMIN   - tracd --port 8080 --auth=*,/var/lib/trac/myproject/users.htdigest,example.com /var/lib/trac/myproject   - open http://127.0.0.1:8080 in browser, it should show the project name and clicking on that should show the welcome screen [ Where problems could occur ] It is not changing any part of the code, its only importing the module with the new name and so there is minimum chance of any regression. [racb] We're adjusting imports of soft_unicode/soft_str. Problems might manifest in module imports, or in the assumption that one of these is an exact replacement of the other. [ Other Info ] - The Ubuntu patch is a combination of portions of two upstream but related changes. - One of the upstream changes mentions about an AssertionError for jinja, so it will be great if this can be tested by a real user of trac. The testplan only checks the server starts and is working. [ Original Bug Description ] Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404
2024-02-05 13:55:50 Robie Basak removed subscriber Ubuntu Sponsors
2024-02-05 13:55:55 Robie Basak trac (Ubuntu Jammy): status Confirmed Fix Committed
2024-02-05 17:10:30 Robie Basak trac (Ubuntu Jammy): status Fix Committed In Progress
2024-02-05 21:47:02 Ubuntu Archive Robot bug added subscriber Robie Basak
2024-02-08 19:38:59 Andreas Hasenack description [ Impact ] trac is completely unusable as it will fail with the below error whenever any user tries to run "tracd" or "trac-admin": Traceback (most recent call last):   File "/usr/bin/tracd", line 33, in <module>     sys.exit(load_entry_point('Trac==1.5.3', 'console_scripts', 'tracd')())   File "/usr/bin/tracd", line 25, in importlib_load_entry_point     return next(matches).load()   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load     module = import_module(match.group('module'))   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 883, in exec_module   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed   File "/usr/lib/python3/dist-packages/trac/web/standalone.py", line 35, in <module>     from trac.web.auth import BasicAuthentication, DigestAuthentication   File "/usr/lib/python3/dist-packages/trac/web/auth.py", line 29, in <module>     from trac.web.chrome import Chrome, INavigationContributor   File "/usr/lib/python3/dist-packages/trac/web/chrome.py", line 40, in <module>     from trac.mimeview.api import RenderingContext, get_mimetype   File "/usr/lib/python3/dist-packages/trac/mimeview/__init__.py", line 14, in <module>     from trac.mimeview.api import *   File "/usr/lib/python3/dist-packages/trac/mimeview/api.py", line 70, in <module>     from trac.resource import Resource   File "/usr/lib/python3/dist-packages/trac/resource.py", line 21, in <module>     from trac.util.presentation import classes   File "/usr/lib/python3/dist-packages/trac/util/presentation.py", line 26, in <module>     from jinja2.utils import soft_unicode ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' (/usr/lib/python3/dist-packages/jinja2/utils.py) [ Test Plan ] * Simple test:   - Execute "tracd --help" or "tracd"   - Execute "trac-admin --help" or "trac-admin"   - If its not fixed then both the commands will fail as the error above   - With fixed package both the commands will show the help message. * More comprehensive test: (execue the following as root)   - mkdir -p /var/lib/trac   - trac-admin /var/lib/trac/myproject initenv   - Enter some project name when prompted   - Leave default sqlite DB (just press enter)   - echo -n "tracadmin:example.com:" > /var/lib/trac/myproject/users.htdigest   - trac-admin /var/lib/trac/myproject permission add tracadmin TRAC_ADMIN   - tracd --port 8080 --auth=*,/var/lib/trac/myproject/users.htdigest,example.com /var/lib/trac/myproject   - open http://127.0.0.1:8080 in browser, it should show the project name and clicking on that should show the welcome screen [ Where problems could occur ] It is not changing any part of the code, its only importing the module with the new name and so there is minimum chance of any regression. [racb] We're adjusting imports of soft_unicode/soft_str. Problems might manifest in module imports, or in the assumption that one of these is an exact replacement of the other. [ Other Info ] - The Ubuntu patch is a combination of portions of two upstream but related changes. - One of the upstream changes mentions about an AssertionError for jinja, so it will be great if this can be tested by a real user of trac. The testplan only checks the server starts and is working. [ Original Bug Description ] Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404 [ Impact ] trac is completely unusable as it will fail with the below error whenever any user tries to run "tracd" or "trac-admin": Traceback (most recent call last):   File "/usr/bin/tracd", line 33, in <module>     sys.exit(load_entry_point('Trac==1.5.3', 'console_scripts', 'tracd')())   File "/usr/bin/tracd", line 25, in importlib_load_entry_point     return next(matches).load()   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load     module = import_module(match.group('module'))   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 883, in exec_module   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed   File "/usr/lib/python3/dist-packages/trac/web/standalone.py", line 35, in <module>     from trac.web.auth import BasicAuthentication, DigestAuthentication   File "/usr/lib/python3/dist-packages/trac/web/auth.py", line 29, in <module>     from trac.web.chrome import Chrome, INavigationContributor   File "/usr/lib/python3/dist-packages/trac/web/chrome.py", line 40, in <module>     from trac.mimeview.api import RenderingContext, get_mimetype   File "/usr/lib/python3/dist-packages/trac/mimeview/__init__.py", line 14, in <module>     from trac.mimeview.api import *   File "/usr/lib/python3/dist-packages/trac/mimeview/api.py", line 70, in <module>     from trac.resource import Resource   File "/usr/lib/python3/dist-packages/trac/resource.py", line 21, in <module>     from trac.util.presentation import classes   File "/usr/lib/python3/dist-packages/trac/util/presentation.py", line 26, in <module>     from jinja2.utils import soft_unicode ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' (/usr/lib/python3/dist-packages/jinja2/utils.py) [ Test Plan ] * Simple test:   - Execute "tracd --help" or "tracd"   - Execute "trac-admin --help" or "trac-admin"   - If its not fixed then both the commands will fail as the error above   - With fixed package both the commands will show the help message. * More comprehensive test: (execute the following as root)   - mkdir -p /var/lib/trac   - trac-admin /var/lib/trac/myproject initenv   - Enter some project name when prompted   - Leave default sqlite DB (just press enter)   - echo -n "tracadmin:example.com:" > /var/lib/trac/myproject/users.htdigest   - trac-admin /var/lib/trac/myproject permission add tracadmin TRAC_ADMIN   - tracd --port 8080 --auth=*,/var/lib/trac/myproject/users.htdigest,example.com /var/lib/trac/myproject   - open http://127.0.0.1:8080 in browser, it should show the project name and clicking on that should show the welcome screen [ Where problems could occur ] It is not changing any part of the code, its only importing the module with the new name and so there is minimum chance of any regression. [racb] We're adjusting imports of soft_unicode/soft_str. Problems might manifest in module imports, or in the assumption that one of these is an exact replacement of the other. [ Other Info ] - The Ubuntu patch is a combination of portions of two upstream but related changes. - One of the upstream changes mentions about an AssertionError for jinja, so it will be great if this can be tested by a real user of trac. The testplan only checks the server starts and is working. [ Original Bug Description ] Trac 1.5.3 which comes with Ubuntu 20.04 crashes because of problems with a library. The problem was fixed upstream: https://trac.edgewall.org/ticket/13404
2024-02-08 20:07:38 Andreas Hasenack trac (Ubuntu Jammy): status In Progress Incomplete
2024-02-09 12:25:18 Sudip Mukherjee attachment added trac_jammy_new.debdiff https://bugs.launchpad.net/ubuntu/+source/trac/+bug/2024325/+attachment/5745440/+files/trac_jammy_new.debdiff
2024-02-09 12:37:36 Sudip Mukherjee attachment removed trac_jammy_new.debdiff https://bugs.launchpad.net/ubuntu/+source/trac/+bug/2024325/+attachment/5745440/+files/trac_jammy_new.debdiff
2024-02-09 12:37:53 Sudip Mukherjee attachment added trac_jammy_new.debdiff https://bugs.launchpad.net/ubuntu/+source/trac/+bug/2024325/+attachment/5745441/+files/trac_jammy_new.debdiff
2024-02-09 13:07:40 Andreas Hasenack bug added subscriber Ubuntu Sponsors
2024-02-09 13:41:19 Sudip Mukherjee trac (Ubuntu Jammy): status Incomplete Confirmed
2024-02-09 13:50:54 Robie Basak removed subscriber Ubuntu Sponsors
2024-02-09 13:50:59 Robie Basak trac (Ubuntu Jammy): status Confirmed In Progress
2024-02-15 20:40:49 Andreas Hasenack trac (Ubuntu Jammy): status In Progress Fix Committed
2024-02-15 20:40:50 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2024-02-15 20:40:52 Andreas Hasenack bug added subscriber SRU Verification
2024-02-15 20:40:56 Andreas Hasenack tags jammy jammy verification-needed verification-needed-jammy
2024-03-04 20:14:41 Sudip Mukherjee tags jammy verification-needed verification-needed-jammy jammy verification-done verification-done-jammy
2024-03-14 18:00:14 Launchpad Janitor trac (Ubuntu Jammy): status Fix Committed Fix Released
2024-03-14 18:00:17 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team