[Python-apps-team] Bug#771799: traceback with pygments prevents syntax highlighting; simple fix available

Florian fbugs at gmx.net
Tue Dec 2 14:31:17 UTC 2014

Package: trac
Version: 1.0.2-1
Severity: important
Tags: patch

trac 1.0.2 is not compatible with the current version of pygments in jessie.
When it tries to load pygments, an AttributeError is raised. This is
issue #11796 in trac and there is a simple fix available which is included in
the next trac release 1.0.3.

This is the corresponding changeset, I can confirm that this works in trac 1.0.2:


Without this, syntax highlighting is not working in jessie's trac.

Can this simple patch be included in jessie?

Thanks, Florian

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Python-apps-team mailing list