Package: trac-mastertickets
Version: 3.0.2+20111224-2
Severity: important

Dear Maintainer,

the trac-mastertickets is not usable after installing trac and 
trac-mastertickets 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-mastertickets plugin is enabled
via the web admin guis plugin section. Then the required database upgrade is 
run via a terminal session.
Additionally the suggested wiki upgrade is also executed.

Afterwards the trac project is broken as the ticket view page (which displays 
one ticket) now shows an Oops...:
# Oops…
#
# Trac detected an internal error:
#
#   AttributeError: 'Environment' object has no attribute 'get_db_cnx'
# ...
# Python Traceback
# Most recent call last:
#
#    File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 613, in 
_dispatch_request
#    File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 263, in 
dispatch
#    File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 444, in 
_post_process_request
#    File "/usr/lib/python2.7/dist-packages/mastertickets/web_ui.py", line 58, 
in post_process_request
#    File "/usr/lib/python2.7/dist-packages/mastertickets/model.py", line 19, 
in __init__ 

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 trac-mastertickets config entries from 
conf/trac.ini within the
trac project folder.

The trac-mastertickets functionality remains 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-mastertickets depends on:
ii  python     2.7.13-2
ii  python2.7  2.7.13-2
ii  trac       1.2+dfsg-1

Versions of packages trac-mastertickets recommends:
ii  graphviz      2.38.0-17
ii  libjs-jquery  3.1.1-2

trac-mastertickets suggests no packages.

-- no debconf information

Reply via email to