[Python-apps-team] Bug#865966: trac-bitten plugin activation fails on fresh stable install

Ulrich Langenbach ulrich.langenbach at missinglinkelectronics.com
Mon Jun 26 07:57:20 UTC 2017


Package: trac-bitten
Version: 0.6+final-3
Severity: important

Dear Maintainer,

the trac-bitten plugin is not usable after installing trac and trac-bitten on a fresh container environment
of current debian stable.
Trac is configured to use sqlite as database backend and no user management is used for this test case.

After installing the packages and configuring Apache to serve trac, the trac-bitten plugin is enabled
via the web admin guis plugin section. Then the required database upgrade is run via a terminal session.
The latter process fails with this message:
#  The upgrade failed. Please fix the issue and try again.
#
#  AttributeError: 'Environment' object has no attribute 'get_db_cnx'

Afterwards the trac project is broken. However, the project can be reset into a usable state by restoring the 
/db/trac.db from the backup version from pre-upgrade as well as removing all bitten config entries from
conf/trac.ini within the trac project folder.

The trac-bitten functionality remaing unusable.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-72-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages trac-bitten depends on:
ii  libjs-excanvas        0.r3-4
ii  libjs-flot            0.8.3+dfsg-1
ii  python                2.7.13-2
ii  python-pkg-resources  33.1.1-1
ii  python2.7             2.7.13-2
ii  trac                  1.2+dfsg-1
ii  trac-bitten-slave     0.6+final-3

trac-bitten recommends no packages.

trac-bitten suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list