Edgewall Software

Opened 12 months ago

Last modified 12 months ago

#13421 closed defect

ImportError: cannot import name 'soft_unicode' from 'jinja2.utils' — at Version 1

Reported by: Tomasz Brzezina <tomasz@…> Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Tomasz Brzezina <tomasz@…>)

I installed https://download.edgewall.org/trac/Trac-1.5.3.tar.gz (BTW there's no Trac-latest.zip which is mentioned here https://trac.edgewall.org/wiki/1.5/TracInstall)

After installation trac-admin result is:

Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 5, in <module>
    from trac.admin.console import run
  File "/usr/local/lib/python3.9/dist-packages/trac/admin/console.py", line 34, in <module>
    from trac.env import Environment
  File "/usr/local/lib/python3.9/dist-packages/trac/env.py", line 52, in <module>
    from trac.web.chrome import Chrome
  File "/usr/local/lib/python3.9/dist-packages/trac/web/chrome.py", line 40, in <module>
    from trac.mimeview.api import RenderingContext, get_mimetype
  File "/usr/local/lib/python3.9/dist-packages/trac/mimeview/__init__.py", line 14, in <module>
    from trac.mimeview.api import *
  File "/usr/local/lib/python3.9/dist-packages/trac/mimeview/api.py", line 70, in <module>
    from trac.resource import Resource
  File "/usr/local/lib/python3.9/dist-packages/trac/resource.py", line 21, in <module>
    from trac.util.presentation import classes
  File "/usr/local/lib/python3.9/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/local/lib/python3.9/dist-packages/jinja2/utils.py)



Change History (1)

comment:1 by Tomasz Brzezina <tomasz@…>, 12 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.