1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #158 resolved

Bookmarks related crash on startup

Chris Scott
created an issue

{{{

!python

Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.7.5). TortoiseHg version (1.9.3+226-067a5dc46d11) Command: CWD: /home/peacemaker/src/thg Extensions loaded: bookmarks Python version: 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] ** Qt-4.7.0 PyQt-4.7.4 Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks' Traceback (most recent call last): File "/home/peacemaker/src/thg/tortoisehg/hgqt/htmldelegate.py", line 26, in paint text = index.model().data(index, Qt.DisplayRole).toString() File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 415, in data result = self.rawdata(row, column, role) File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 427, in rawdata text = self._columnmapcolumn File "/home/peacemaker/src/thg/tortoisehg/hgqt/repomodel.py", line 535, in getlog for mark in ctx.bookmarks(): AttributeError: 'thgchangectx' object has no attribute 'bookmarks'

}}}

Comments (2)

  1. Log in to comment