All Apps and Add-ons

Strava for Splunk App error - 'NoneType' object has no attribute 'get_customized_setting'

amcallister_spl
Splunk Employee
Splunk Employee

Team,

I'm getting the following error when trying to add an input after configuring the first step of the app.

Have confirmed I can cURL and authenticate from the same linux box using OAuth on Strava's API but can't seem to get any further with this app.

Believe initial error on 'get_customized_setting' points to some python scripts which could be here:

./bin/ta_strava_for_splunk/aob_py2/splunk_aoblib/setup_util.py
./bin/ta_strava_for_splunk/aob_py2/modinput_wrapper/base_modinput.py
./bin/ta_strava_for_splunk/aob_py3/splunk_aoblib/setup_util.py
./bin/ta_strava_for_splunk/aob_py3/splunk_aoblib/pycache/setup_util.cpython-37.pyc
./bin/ta_strava_for_splunk/aob_py3/modinput_wrapper/base_modinput.py
./bin/ta_strava_for_splunk/aob_py3/modinput_wrapper/pycache/base_modinput.cpython-37.pyc

Logging only gives me:

2020-05-04 16:19:37,677 ERROR pid=14386 tid=MainThread file=base_modinput.py:log_error:309 | error?

Any help gratefully appreciated!

0 Karma

Patrick_Peeters
Splunk Employee
Splunk Employee

This is fixed in version 2.5.1.

0 Karma

Patrick_Peeters
Splunk Employee
Splunk Employee

What version of the Splunk and Strava TA are you running? Can you also please enable DEBUG level logging and post the complete output of the error message?

The Python scripts linked are imported modules, I never use get_customized_setting in my code directly for example.

0 Karma

Patrick_Peeters
Splunk Employee
Splunk Employee

I just checked the code and noticed some error validation checking I used for testing made it into version 2.5.0, which would affect new installations. Thanks for pointing this out, I'll upload 2.5.1 shortly with the fix.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...