Package: trac-tags
Version: 0.7+svn12392-1
Severity: important

Dear Maintainer,

the trac-tags plugin is not usable after installing trac and trac-tags 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-tags 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 Wiki start page 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 273, in 
dispatch
#    File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1123, in 
render_template
#    File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 133, in __or__
#    File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1436, in 
inner
#    File "/usr/lib/python2.7/dist-packages/tractags/wiki.py", line 101, in 
filter_stream
#    File "/usr/lib/python2.7/dist-packages/tractags/wiki.py", line 167, in 
_wiki_view
#    File "/usr/lib/python2.7/dist-packages/tractags/wiki.py", line 162, in 
_page_tags
#    File "/usr/lib/python2.7/dist-packages/tractags/api.py", line 238, in 
get_tags
#    File "/usr/lib/python2.7/dist-packages/tractags/model.py", line 98, in 
resource_tags
#    File "/usr/lib/python2.7/dist-packages/tractags/model.py", line 113, in 
_get_db 

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-tags functionality remains unusable.


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- 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-tags depends on:
ii  python                2.7.13-2
ii  python-genshi         0.7-5
ii  python-pkg-resources  33.1.1-1
ii  trac                  1.2+dfsg-1

trac-tags recommends no packages.

trac-tags suggests no packages.

-- no debconf information

Reply via email to