All Apps and Add-ons

python errors

nexellent
Explorer

Hello

On our installation the collector-script dies with following error:


Traceback (most recent call last):
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py", line 38, in
ipfix_pkt = ipfix.IPFIX(data)
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfix.py", line 52, in init
self.records.append(IPFIXRecord(rec_id, rec_length, self.timestamp, raw[pos+4:pos+rec_length]))
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfix.py", line 18, in init
data,data_len = parse_fn(raw[pos:])
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfixrec.py", line 704, in parse_template_264
data[SYSLOG_MESSAGE], slen = '"' + get_var_string(raw[data_len:]) + '"'
TypeError: cannot concatenate 'str' and 'tuple' objects

Am I the only one seeing this?
Any ideas how to fix it?

Cheers

Roman

0 Karma

piuagpPUOGHPUG0
New Member

Running version 4.8 and getting similar errors:
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" socket.error: [Errno 98] Address already in use
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" return getattr(self._sock,name)(*args)
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" File "/opt/splunk/lib/python2.7/socket.py", line 224, in meth
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" s.bind((HOST, PORT))
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py", line 32, in
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" Traceback (most recent call last):

0 Karma

athana
Splunk Employee
Splunk Employee

What version of the app are you using? There was a bug in the app v4.6 that caused this error. Please try to download and install the latest version of the app, and see if that will fix it.

0 Karma
Get Updates on the Splunk Community!

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...

Stay Connected: Your Guide to August Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Unleash the Power of Splunk MCP and AI, Meet Us at .Conf 2025, and Find Even More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...