Bug 730486 - [abrt] mercurial-1.9-2.fc15: templater.py:295:__init__:IndexError: string index out of range
Summary: [abrt] mercurial-1.9-2.fc15: templater.py:295:__init__:IndexError: string ind...
Alias: None
Product: Fedora
Classification: Fedora
Component: mercurial
Version: 15
Hardware: i686
OS: Unspecified
Target Milestone: ---
Assignee: Neal Becker
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:661ff34c819ef5cb324d5f77663...
Depends On:
TreeView+ depends on / blocked
Reported: 2011-08-13 15:49 UTC by Garrett Mitchener
Modified: 2012-08-07 17:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-08-07 17:28:51 UTC

Attachments (Terms of Use)

Description Garrett Mitchener 2011-08-13 15:49:26 UTC
abrt version: 2.0.3
architecture:   i686
component:      mercurial
executable:     /usr/bin/hg
kernel:         2.6.40-4.fc15.i686.PAE
os_release:     Fedora release 15 (Lovelock)
package:        mercurial-1.9-2.fc15
reason:         templater.py:295:__init__:IndexError: string index out of range
time:           Sat Aug 13 11:46:04 2011
uid:            500
username:       garrett

:templater.py:295:__init__:IndexError: string index out of range
:Traceback (most recent call last):
:  File "/usr/bin/hg", line 38, in <module>
:    mercurial.dispatch.run()
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 27, in run
:    sys.exit(dispatch(request(sys.argv[1:])))
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 64, in dispatch
:    return _runcatch(req)
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 87, in _runcatch
:    return _dispatch(req)
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 675, in _dispatch
:    cmdpats, cmdoptions)
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 454, in runcommand
:    ret = _runcommand(ui, options, cmd, d)
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 729, in _runcommand
:    return checkargs()
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 683, in checkargs
:    return cmdfunc()
:  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 672, in <lambda>
:    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
:  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 385, in check
:    return func(*args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 3399, in log
:    displayer = cmdutil.show_changeset(ui, repo, opts, True)
:  File "/usr/lib/python2.7/site-packages/mercurial/cmdutil.py", line 886, in show_changeset
:    t = changeset_templater(ui, repo, patch, opts, mapfile, buffered)
:  File "/usr/lib/python2.7/site-packages/mercurial/cmdutil.py", line 755, in __init__
:    cache=defaulttempl)
:  File "/usr/lib/python2.7/site-packages/mercurial/templater.py", line 295, in __init__
:    if val[0] in "'\"":
:IndexError: string index out of range
:Local variables in innermost frame:
:maxchunk: 65536
:minchunk: 1024
:key: 'changeset'
:val: ''
:mapfile: 'broken.style'
:filters: {'formatnode': <function <lambda> at 0xb74c19cc>}
:cache: {'extra': '{key}={value|stringescape}', 'filecopy': '{name} ({source})', 'file_copy': '{name} ({source})', 'parent': '{rev}:{node|formatnode} ', 'manifest': '{rev}:{node|formatnode}'}
:self: <mercurial.templater.templater object at 0xb74b968c>
:conf: <mercurial.config.config object at 0xb74b96ec>
:defaults: {}

:I downloaded the hgbook sources:
:hg clone http://bitbucket.org/bos/hgbook
:installed various packages, created Makefile.vars:
:# Please create your Makefile.vars from this template file.
:# Please use absolute path, DO NOT use relative path !
:# po4a (>= 0.36.1): Only for PO based translation !
:# saxon65.jar, saxon65-dbxsl.jar, xml-commons-resolver-1.2.jar: Only for pdf format !
:# fop (>= 0.9.6): Only for pdf format !
:# docbook-xsl (>= 1.74.3): Only for ePub format !
:corrected Makefile line 29 to:
:images-svg += $(images-dot:dot=svg)
:and tried:
:make LINGUA=en all

Comment 1 Fedora End Of Life 2012-08-07 17:28:53 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:

Note You need to log in before you can comment on or make changes to this bug.