Issue #35 resolved

Traceback since 9cda12c2a1c7) fileview: workaround for memory issue on Windows

Patrice LACOUTURE
created an issue

This occurs on a Linux Mint Debian Edition (Debian Testing) on all revisions since 9cda12c2a1c7, when I select any revision in the repo view:

{{{

!python

Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.6.4). TortoiseHg version (1.1.6.1+44-dcc634b3b2bd) Command: CWD: /home/patrice Extensions loaded: mq Python version: 2.6.6 (r266:84292, Oct 9 2010, 11:40:09) [GCC 4.4.5] Traceback (most recent call last): File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/revdetails.py", line 285, in _displayFile self.fileview.displayFile(file, rev, status) File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 295, in displayFile fd = FileData(ctx, ctx2, filename, status) File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 515, in init self.readStatus(ctx, ctx2, wfile, status) File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 644, in readStatus res = self.checkMaxDiff(ctx, wfile) File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 527, in checkMaxDiff size = fctx._filelog.rawsize(fctx.filerev()) AttributeError: 'filelog' object has no attribute 'rawsize'

}}}

Comments (4)

  1. Patrice LACOUTURE reporter

    When I select a patch in the patch queue, I get a different traceback instead:

    ** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
    ** Mercurial version (1.6.4).  TortoiseHg version (1.1.6.1+44-dcc634b3b2bd)
    ** Command: 
    ** CWD: /home/patrice
    ** Extensions loaded: mq
    ** Python version: 2.6.6 (r266:84292, Oct  9 2010, 11:40:09) [GCC 4.4.5]
    Traceback (most recent call last):
      File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/revdetails.py", line 285, in _displayFile
        self.fileview.displayFile(file, rev, status)
      File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 295, in displayFile
        fd = FileData(ctx, ctx2, filename, status)
      File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 515, in __init__
        self.readStatus(ctx, ctx2, wfile, status)
      File "/home/patrice/Dev/Testing/thg/tortoisehg/hgqt/fileview.py", line 563, in readStatus
        if (wfile in ctx and 'l' in ctx.flags(wfile)) or \
    TypeError: argument of type 'patchctx' is not iterable
    
  2. Log in to comment