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
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...