All Apps and Add-ons

Python 3 Compatibility Fails: App Created using Splunk Addon Builder App Failing Upgrade Readiness

Raghavendran
New Member

My App is failing to upgrade readiness for python3.

I am getting an error in the cim_actions.py file. I have upgraded the readiness app to a new version. I even tried creating a new app from the scratch even if that's failing the readiness check.  

 

Screenshot 2023-03-15 at 10.27.14 AM.png

0 Karma

Raghavendran
New Member

But these codes were generated by the addon builder i did try commenting out the mentioned codes still it didn't help.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try a newer version of the add-on builder.  If no newer version is available then you may need to make changes to the generated code as suggested by the readiness app.  Commenting out the code won't help - it may pass checks, but probably won't work properly.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you made the suggested code changes?  Once you do that the app should pass the readiness check.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...