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!

Splunk Cloud Application Management in Terraform

Now On-Demand   We’re diving into how you can bring Infrastructure as Code (IaC) principles to your Splunk ...

What's New in Splunk Enterprise Security (ES) 8.6

Purpose-Built AI Agents for the Agentic SOC  Splunk Enterprise Security 8.6 expands AI in Security with ...

From Raw Data to Executive-Ready Stories, Faster

Build Data Stories for Every Audience  A dashboard is rarely just a dashboard. It might be the view an ...