Edgewall Software

Opened 12 years ago

Last modified 12 years ago

#10908 closed defect

AttributeError: 'changectx' object has no attribute 'bookmarks' — at Version 1

Reported by: r.rossmair Owned by:
Priority: normal Milestone: plugin - mercurial
Component: version control/changeset view Version: 1.0-stable
Severity: normal Keywords: Mercurial
Cc: r.rossmair Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

This error is issued by TracMercurial 1.0.0.3dev every time I want to view a changeset. Used to work until recently, apparently a Trac or TracMercurial update broke things.

Trac revision is 11406.

While doing a GET operation on /changeset/b6da56b443c458c07b51b720f9a2e777deff6beb/visureal-classic, Trac issued an internal error.

Request parameters:

{ new : u b6da56b443c458c07b51b720f9a2e777deff6beb ,   new_path : u /visureal-classic } 

User agent: Mozilla/5.0 Windows NT 6.1; WOW64; rv:17.0 Gecko/17.0 Firefox/17.0

System Information

Trac 1.0.1dev-r0
Babel 0.9.6
Genshi 0.6 without speedups
Mercurial 1.6.4
mod_wsgi 3.3 WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}
Pygments 1.3.1
pysqlite 2.6.0
Python 2.6.6 r266:84292, Dec 27 2010, 00:18:12 br GCC 4.4.5
setuptools 0.6
SQLite 3.7.3
Subversion 1.7.7 r1393599
jQuery 1.7.2

Enabled Plugins

TracMercurial 1.0.0.3dev

Python Traceback

Traceback  most recent call last :  
 ...
File  /usr/local/lib/python2.6/dist-packages/Trac-1.0.1dev_r0-py2.6.egg/trac/versioncontrol/web_ui/changeset.py , line 427, in _render_html
  revprops   chgset.get_properties    
File  /usr/local/lib/python2.6/dist-packages/TracMercurial-1.0.0.3dev-py2.6.egg/tracext/hg/backend.py , line 1223, in get_properties
  bookmarks   self.ctx.bookmarks   AttributeError:  changectx  object has no attribute  bookmarks  

Change History (1)

comment:1 by Christian Boos, 12 years ago

Description: modified (diff)

Fixing the "newline character is missing from my charset" issue in the description…

Note: See TracTickets for help on using tickets.