<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: http://localhost:8000/info page has errors, any fix? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36389#M6885</link>
    <description>&lt;P&gt;Just tried it and seemed to work!&lt;/P&gt;</description>
    <pubDate>Sun, 14 Aug 2011 01:32:52 GMT</pubDate>
    <dc:creator>rroberts</dc:creator>
    <dc:date>2011-08-14T01:32:52Z</dc:date>
    <item>
      <title>http://localhost:8000/info page has errors, any fix?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36386#M6882</link>
      <description>&lt;P&gt;I get an "IndexError: list index out of range" when trying to access &lt;A href="http://localhost:8000/info"&gt;http://localhost:8000/info&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;This is a fairly fresh install of version 4.2.2, build 101277. I made a dashboard and a form, but I have not touched the filesystem myself at all.&lt;/P&gt;

&lt;P&gt;Here is the full error dump:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    13 &amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;
    14 &amp;lt;dl&amp;gt;
    15 &amp;lt;dt&amp;gt;
    16 &amp;lt;a href="${make_url('/modules')}"&amp;gt;View module reference&amp;lt;/a&amp;gt;
    17 (&amp;lt;a href="${make_url('/modules', _qs=dict(show_wiki=1))}"&amp;gt;wiki&amp;lt;/a&amp;gt;)
    18 &amp;lt;/dt&amp;gt;
    19 &amp;lt;dd&amp;gt;A listing of all of the modules currently registered with this Splunkweb instance&amp;lt;/dd&amp;gt;
    20
    21 &amp;lt;dt&amp;gt;&amp;lt;a href="${make_url('/paths')}"&amp;gt;Splunkweb endpoint reference&amp;lt;/a&amp;gt;&amp;lt;/dt&amp;gt;


/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/util.py, line 263:

    if moduleList.has_key('Splunk.Module.' + segments[2]):
/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/__init__.py, line 183:

    return util.make_url(*a, **kw)
/opt/splunk/share/splunk/search_mrsparkle/templates/top/info.html, line 16:

    &amp;lt;a href="${make_url('/modules')}"&amp;gt;View module reference&amp;lt;/a&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/message.html, line 33:

    &amp;lt;div class="masterContainer"&amp;gt;${next.body()}&amp;lt;/div&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 49:

    &amp;lt;%next:body/&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 22:

    &amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 7:

    &amp;lt;%self:render/&amp;gt;
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 633:

    callable_(context, *args, **kwargs)
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 607:

    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 575:

    **_kwargs_for_callable(callable_, data))
/opt/splunk/lib/python2.6/site-packages/mako/template.py, line 283:

    return runtime._render(self, self.callable_, args, data)
/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/__init__.py, line 248:

    return templateInstance.render(**template_args)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jun 2011 22:34:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36386#M6882</guid>
      <dc:creator>mothball187</dc:creator>
      <dc:date>2011-06-28T22:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: http://localhost:8000/info page has errors, any fix?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36387#M6883</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Just an FYI, I took a very quick look at the problematic code and came up with a quick one line temporary fix. I don't know if this is the proper fix, but at least the page works now (so far).&lt;/P&gt;

&lt;P&gt;Change line 261 of /opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/util.py to this:&lt;/P&gt;

&lt;P&gt;if segments[1] == 'modules' &lt;B&gt;and len(segments)&amp;gt;2&lt;/B&gt;:&lt;/P&gt;

&lt;P&gt;I would still be interested in hearing of any better fixes for this bug.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 23:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36387#M6883</guid>
      <dc:creator>mothball187</dc:creator>
      <dc:date>2011-06-28T23:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: http://localhost:8000/info page has errors, any fix?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36388#M6884</link>
      <description>&lt;P&gt;Thanks for the report.  I have filed a bug internally, SPL-40720.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 20:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36388#M6884</guid>
      <dc:creator>melting</dc:creator>
      <dc:date>2011-06-29T20:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: http://localhost:8000/info page has errors, any fix?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36389#M6885</link>
      <description>&lt;P&gt;Just tried it and seemed to work!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2011 01:32:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/http-localhost-8000-info-page-has-errors-any-fix/m-p/36389#M6885</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2011-08-14T01:32:52Z</dc:date>
    </item>
  </channel>
</rss>

