<?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: OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests' in Installation</title>
    <link>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47126#M739</link>
    <description>&lt;P&gt;created the testings/tests directory.&lt;BR /&gt;
something else.. &lt;BR /&gt;
Error !&lt;BR /&gt;
AttributeError: 'ViewController' object has no attribute 'generateSelfHelpLink'&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2011 16:56:51 GMT</pubDate>
    <dc:creator>duongl2</dc:creator>
    <dc:date>2011-07-22T16:56:51Z</dc:date>
    <item>
      <title>OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests'</title>
      <link>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47124#M737</link>
      <description>&lt;P&gt;using a package manager, such as an RPM, typerpm -U [--prefix &lt;EXISTING splunk="" location=""&gt;|] splunk 4.2.2xx.rpm  from 4.1.7&lt;/EXISTING&gt;&lt;/P&gt;

&lt;P&gt;when i click on search apps, i got this screen.&lt;BR /&gt;
Error !&lt;BR /&gt;
OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests'&lt;BR /&gt;
19 &lt;BR /&gt;
20 &lt;BR /&gt;
21 &amp;lt;%def name="add_script_block()"&amp;gt;&lt;BR /&gt;
22 &amp;lt;%&lt;BR /&gt;
23 if attributes.get('script_blocks', None) is None:&lt;BR /&gt;
24 attributes['script_blocks'] = []&lt;BR /&gt;
25 attributes['script_blocks'].append(capture(caller.body))&lt;BR /&gt;
26 %&amp;gt;&lt;BR /&gt;
27 &amp;lt;/%def&amp;gt;&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/lib.html, line 22:&lt;BR /&gt;
for f in os.listdir(testFileDir):&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/lib.html, line 48:&lt;BR /&gt;
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 467:&lt;BR /&gt;
callable_(&lt;EM&gt;args, **kwargs)&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/lib.html, line 25:&lt;BR /&gt;
attributes['script_blocks'].append(capture(caller.body))&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/modules/nav/AppBar.html, line 45:&lt;BR /&gt;
&amp;lt;%call expr="lib.add_script_block()"&amp;gt;&lt;BR /&gt;
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 502:&lt;BR /&gt;
callable_(ctx, *&lt;/EM&gt;&lt;EM&gt;kwargs_for_include(callable&lt;/EM&gt;, context._orig, **kwargs))&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 145:&lt;BR /&gt;
% endif&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 142:&lt;BR /&gt;
% if "templatePath" in module :&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 181:&lt;BR /&gt;
&amp;lt;%call expr="buildPanelContents(modules, panelName)"&amp;gt;&amp;lt;/%call&amp;gt;&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 37:&lt;BR /&gt;
&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 181:&lt;BR /&gt;
&amp;lt;%call expr="buildPanelContents(modules, panelName)"&amp;gt;&amp;lt;/%call&amp;gt;&lt;BR /&gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html, line 100:&lt;BR /&gt;
&amp;lt;%call expr="parent.getFloatLayoutRow(modules, rowNumber)"&amp;gt;&amp;lt;/%call&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47124#M737</guid>
      <dc:creator>duongl2</dc:creator>
      <dc:date>2020-09-28T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests'</title>
      <link>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47125#M738</link>
      <description>&lt;P&gt;in Web_service.log:&lt;BR /&gt;
 Did not find module Splunk.Module.DisableRequiredFieldsButton&lt;BR /&gt;
 after reload&lt;BR /&gt;
2011-07-22 12:29:18,380 ERROR   [4e29a55dce13301110] &lt;STRONG&gt;init&lt;/STRONG&gt;:250 - Mako failed to render:&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line 248, in render_temp&lt;BR /&gt;
late&lt;BR /&gt;
    return templateInstance.render(**template_args)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/mako/template.py", line 283, in render&lt;BR /&gt;
    return runtime.&lt;EM&gt;render(self, self.callable&lt;/EM&gt;, args, data)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47125#M738</guid>
      <dc:creator>duongl2</dc:creator>
      <dc:date>2020-09-28T09:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests'</title>
      <link>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47126#M739</link>
      <description>&lt;P&gt;created the testings/tests directory.&lt;BR /&gt;
something else.. &lt;BR /&gt;
Error !&lt;BR /&gt;
AttributeError: 'ViewController' object has no attribute 'generateSelfHelpLink'&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2011 16:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47126#M739</guid>
      <dc:creator>duongl2</dc:creator>
      <dc:date>2011-07-22T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: [Errno 2] No such file or directory: '/opt/splunk/share/splunk/search_mrsparkle/exposed/testing/tests'</title>
      <link>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47127#M740</link>
      <description>&lt;P&gt;My guess is that &lt;/P&gt;

&lt;P&gt;a) you have turned DEBUG on for splunkWeb?&lt;/P&gt;

&lt;P&gt;b) The python code in SplunkWeb that, when in DEBUG, inserts the 'unit tests' link into the app navigation,  has been changed somehow so that now it fails when the /testing directory is not there.  I think it used to quietly fail to include the 'unit tests' link when the directory was absent.  Perhaps this has regressed?&lt;/P&gt;

&lt;P&gt;If you look at log.cfg and you are in DEBUG for SplunkWeb, switching away from DEBUG will almost certainly fix it.  &lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2011 01:22:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/OSError-Errno-2-No-such-file-or-directory-opt-splunk-share/m-p/47127#M740</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-07-23T01:22:45Z</dc:date>
    </item>
  </channel>
</rss>

