<?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: AttributeError: 'str' object has no attribute 'os_startIndex' on Splunk 6.2.1 on RedHat in Security</title>
    <link>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263197#M14952</link>
    <description>&lt;P&gt;From Debug :-&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 1741, in listEntities&lt;BR /&gt;
    entities = en.getEntities(endpoint_path, **args)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/entity.py", line 131, in getEntities&lt;BR /&gt;
    offset = int(atomFeed.os_startIndex or -1)&lt;BR /&gt;
AttributeError: 'str' object has no attribute 'os_startIndex'&lt;/P&gt;

&lt;P&gt;Can anyone gives me tips how to go about solving this error ?&lt;BR /&gt;
Have tried set timezone , as suggested in other website.. it didn't help&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 09:16:56 GMT</pubDate>
    <dc:creator>ksim777</dc:creator>
    <dc:date>2020-09-29T09:16:56Z</dc:date>
    <item>
      <title>AttributeError: 'str' object has no attribute 'os_startIndex' on Splunk 6.2.1 on RedHat</title>
      <link>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263196#M14951</link>
      <description>&lt;P&gt;When I clicked on Splunkenterprise/Settings/Lookup/LookupDefinitions&lt;BR /&gt;
   I have error &lt;BR /&gt;
       500 Internal Server Error&lt;BR /&gt;
           Return to Splunk home page&lt;BR /&gt;
           AttributeError: 'str' object has no attribute 'os_startIndex'&lt;BR /&gt;
     View more information about your request (request ID = xxxxx ) in Search&lt;BR /&gt;
    This page was linked to from &lt;A href="https://servername:8000/en-AU/manager/search/lookups" target="_blank"&gt;https://servername:8000/en-AU/manager/search/lookups&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I tried &lt;A href="https://servername:8000/en-AU/debug/refresh" target="_blank"&gt;https://servername:8000/en-AU/debug/refresh&lt;/A&gt;.... (not working)&lt;BR /&gt;
and it gives....&lt;BR /&gt;
  Refreshing admin/alert_actions          OK&lt;BR /&gt;
Refreshing admin/clusterconfig          OK&lt;BR /&gt;
Refreshing admin/collections-conf          BadRequest &lt;BR /&gt;
 In handler 'collections-conf': Must use user context of 'nobody' when interacting with collection configurations (used user='ksim')&lt;BR /&gt;
Refreshing admin/commandsconf           OK&lt;BR /&gt;
Refreshing admin/conf-deploymentclient  OK&lt;BR /&gt;
Refreshing admin/conf-inputs            OK&lt;BR /&gt;
Refreshing admin/conf-times             OK&lt;BR /&gt;
...&lt;BR /&gt;
..&lt;BR /&gt;
Refreshing admin/scheduledviews         OK&lt;BR /&gt;
Refreshing admin/script                 OK&lt;BR /&gt;
Refreshing admin/serverclasses             InternalServerError &lt;BR /&gt;
 In handler 'serverclasses': serverclass='_reload' not found&lt;BR /&gt;
Refreshing admin/shclusterconfig        OK&lt;BR /&gt;
Refreshing admin/sourcetypes            OK&lt;BR /&gt;
Refreshing admin/ssl                    OK&lt;BR /&gt;
Refreshing admin/syslog                 OK&lt;BR /&gt;
Refreshing admin/tcpout-default         OK&lt;BR /&gt;
Refreshing admin/tcpout-group           OK&lt;BR /&gt;
Refreshing admin/tcpout-server          OK&lt;BR /&gt;
Refreshing admin/transforms-extract     OK&lt;BR /&gt;
Refreshing admin/transforms-lookup         AttributeError 'str' object has no attribute 'os_startIndex'&lt;BR /&gt;
Refreshing admin/transforms-reload         ResourceNotFound &lt;BR /&gt;
 In handler 'transforms-reload': Invalid action for this internal handler (handler: transforms-reload, supported: list|_reload, wanted: list).&lt;BR /&gt;
Refreshing admin/udp                    OK&lt;BR /&gt;
Refreshing admin/ui-prefs               OK&lt;BR /&gt;
Refreshing admin/ui-tour                OK&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263196#M14951</guid>
      <dc:creator>ksim777</dc:creator>
      <dc:date>2020-09-29T09:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'str' object has no attribute 'os_startIndex' on Splunk 6.2.1 on RedHat</title>
      <link>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263197#M14952</link>
      <description>&lt;P&gt;From Debug :-&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 1741, in listEntities&lt;BR /&gt;
    entities = en.getEntities(endpoint_path, **args)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/entity.py", line 131, in getEntities&lt;BR /&gt;
    offset = int(atomFeed.os_startIndex or -1)&lt;BR /&gt;
AttributeError: 'str' object has no attribute 'os_startIndex'&lt;/P&gt;

&lt;P&gt;Can anyone gives me tips how to go about solving this error ?&lt;BR /&gt;
Have tried set timezone , as suggested in other website.. it didn't help&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263197#M14952</guid>
      <dc:creator>ksim777</dc:creator>
      <dc:date>2020-09-29T09:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'str' object has no attribute 'os_startIndex' on Splunk 6.2.1 on RedHat</title>
      <link>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263198#M14953</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I just encountered the same issue. In my case the header of a lookup had some special characters like "à". Removing those characters from the header and doing a debug refresh solved the issue. &lt;/P&gt;

&lt;P&gt;The complex part is to identify which lookup has the wrong header. &lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/AttributeError-str-object-has-no-attribute-os-startIndex-on/m-p/263198#M14953</guid>
      <dc:creator>Gibbo87</dc:creator>
      <dc:date>2017-08-04T14:54:29Z</dc:date>
    </item>
  </channel>
</rss>

