Refine your search:

When I click on extract fields from the drop down box on a search result I keep getting this error messsage

500 Internal Server Error AttributeError: 'str' object has no attribute 'toPrimitive' I am getting these error messages in the web_service.log 2010-03-16 16:43:57,797 ERROR customlogmanager:22 - [16/Mar/2010:16:43:57] HTTP Traceback (most recent call last): File "/opt/splunk/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/opt/splunk/lib/python2.6/site-packages/cherrypy/_cpdispatch.py", line 25, in call return self.callable(*self.args, **self.kwargs) File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 307, in default return route.target(self, **kw)

asked 03 Jun '10, 14:44

snortymcsnort's gravatar image

snortymcsnort
12
accept rate: 0%

edited 04 Jun '10, 20:32

Can you get more info about this and add it to your post? Do a search like this and report back the full traceback message: index=_internal source=*python.log toPrimitive

(03 Jun '10, 16:02) Lowell ♦

I am getting nothing in that search. I also could not find toPrimitive using grep on the python.log

(03 Jun '10, 17:51) snortymcsnort

Sorry. I told you the wrong logfile. Try this search instead: index=_internal source=*web_service.log toPrimitive OR Traceback

(03 Jun '10, 18:53) Lowell ♦

OK I am getting these error messages 2010-03-16 16:43:57,797 ERROR customlogmanager:22 - [16/Mar/2010:16:43:57] HTTP Traceback (most recent call last): File "/opt/splunk/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/opt/splunk/lib/python2.6/site-packages/cherrypy/_cpdispatch.py", line 25, in call return self.callable(*self.args, self.kwargs) File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 307, in default return route.target(self, kw)

(03 Jun '10, 19:07) snortymcsnort

Can you post that into your question. It' will be much easier to read. (Click the "edit" link under your post.)

(04 Jun '10, 20:14) Lowell ♦

One Answer:

Hi,

I'm getting the same issue as well where before I was able to use IFX to extract fields. I'm running 4.1.1, build 78281

This is a demo version of splunk that I downloaded 2 weeks ago(yes, I'm a newbie).

I did a bit of googling and found what seems to be a similar issue with a fix. I'm not certain that this particular fix is relevant to this situation or not. It had to do with requesting a list versus a string.

The problem, and answer, could be found here: http://www.daniweb.com/forums/thread185328.html

link

answered 05 Jun '10, 17:16

rquinn628's gravatar image

rquinn628
1
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×536
×352
×24
×9

Asked: 03 Jun '10, 14:44

Seen: 1,491 times

Last updated: 12 Apr '11, 16:22

Copyright © 2005-2012 Splunk Inc. All rights reserved.