hgview #266780 weird crash with mercurial's telling it's hgview's fault [open]

though I really doubt about that. Anyway sounds like a good place for a first report.

two steps: first I attempt a rebase (following a hg pull from a distant repo, obsoleting the revision which was currently displayed in hgview, in case that help)

ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 5)</p>
Unexpected indentation.
[syt@orion project]$ hg reba -s 390 -d tip
*** failed to import extension lglbtools from /home/syt/src/lglb-tools/hgext_jpl.py: No module named cwclientlib
merging notic/main.py
abandon : unknown revision '403' !

then attempt to abort the rebase crash

[syt@orion project]$ hg rebase -a *** failed to import extension lglbtools from /home/syt/src/lglb-tools/hgext_jpl.py: No module named cwclientlib ** Unknown exception encountered with possibly-broken third-party extension hgview ** which supports versions 2.4 of Mercurial. ** Please disable hgview and try your action again. ** If that fixes the bug please report it to https://www.logilab.org/project/hgview ** Python 2.7.4 (default, Sep 26 2013, 03:20:26) [GCC 4.7.3] ** Mercurial version 2.8.2, système de gestion de sources distribué ** Extensions chargées : color, pager, progress, largefiles, purge, record, strip, mq, rebase, graphlog, gpg, transplant, schemes, histedit, hgview, guestrepo, evolve Traceback (most recent call last):

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 12); <em>backlink</em></p>
Inline strong start-string without end-string.
ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 22)</p>
Unexpected indentation.
File "/usr/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 69, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 133, in _runcatch
return _dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 806, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 585, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in wrap

return wrapper(origfn, *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 35); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 35); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 138, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in wrap

return wrapper(origfn, *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 39); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 39); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 417, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 42)</p>
Definition list ends without a blank line; unexpected unindent.

File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 897, in _runcommand File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 868, in checkargs

ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 44)</p>
Unexpected indentation.
return cmdfunc()
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 45)</p>
Block quote ends without a blank line; unexpected unindent.
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 803, in <lambda>

d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 46); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 46); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 48); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 48); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 151, in wrap

util.checksignature(origfn), *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 50); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 50); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 52); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 52); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/syt/src/mutable-history/hgext/evolve.py", line 584, in warnobserrors

ret = orig(ui, repo, *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 54); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 54); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 56); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 56); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 151, in wrap

util.checksignature(origfn), *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 58); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 58); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 60); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 60); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3377, in mqcommand

return orig(ui, repo, *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 62); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 62); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 64); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 64); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 151, in wrap

util.checksignature(origfn), *args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 66); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 66); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 68); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 68); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/hgext/largefiles/overrides.py", line 813, in overriderebase

return orig(ui, repo, **opts)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 70); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check

return func(*args, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 72); <em>backlink</em></p>
Inline emphasis start-string without end-string.
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 72); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.7/dist-packages/hgext/rebase.py", line 187, in rebase
keepbranchesf, external, activebookmark) = restorestatus(repo)
File "/usr/lib/python2.7/dist-packages/hgext/rebase.py", line 674, in restorestatus
return (originalwd, target, state, skipped,
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 77)</p>
Block quote ends without a blank line; unexpected unindent.

UnboundLocalError: local variable 'originalwd' referenced before assignment

unfortunatly this is for client code and I can't give access to this repository.

Docutils System Messages

ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 41); <em>backlink</em></p>
Unknown target name: "ui".
prioritynormal
typebug
done in<not specified>
closed by<not specified>