Getting Data In

Upgrade to 4.3: AttributeError: 'str' object has no attribute 'os_startIndex'

FRoth
Contributor

After an upgrade from 4.2.4 to 4.3 on Windows 2008 R2 Server (64bit) I get the following error after the login:

500 Internal Server Error
Return to Splunk home page


AttributeError: 'str' object has no attribute 'os_startIndex'


You are using 10.41.5.22:8000, which is connected to splunkd @115073 at https://127.0.0.1:8089 on Thu Jan 19 10:43:44 2012.

Please help

0 Karma

FRoth
Contributor

No. 500 Internal Server Error.

I found a workaround for that problem - see
http://splunk-base.splunk.com/answers/37892/500-internal-server-error?page=1&focusedAnswerId=38662#3...

0 Karma

Drainy
Champion

Is this logging you directly into an app?

0 Karma

FRoth
Contributor

Would someone please fix this f##### issue in that RSS section of entity.py and compile that file again.

2012-01-19 10:58:49,927 ERROR   [4f17e959e732440f0] messages:124 - 'str' object has no attribute 'os_startIndex'
Traceback (most recent call last):
  File "D:\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\controllers\messages.py", line 81, in index
    entries = splunk.entity.getEntities(uri)
  File "D:\Splunk\Python-2.7\Lib\site-packages\splunk\entity.py", line 159, in getEntities
    offset = int(atomFeed.os_startIndex or -1)
AttributeError: 'str' object has no attribute 'os_startIndex'
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...