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!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...