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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...