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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...