All Apps and Add-ons

Splunk DB connect 3.2.0 compatibility with python 3

ips_mandar
Builder

Hi,
Is Splunk db connect 3.2.0 version is compatible with python 3 on Splunk version 8.0.1?
Since I am getting below error while saving JAVA_HOME path with jre8

a bytes-like object is required, not 'str'

But if I change version to python 2 then I am able to store JAVA_HOME path without any error.
Please help.
Thanks,

0 Karma
1 Solution

hakon_nor
Path Finder
0 Karma

ips_mandar
Builder

Hi @hakon_nor,
I tried replacing code with yours in jre_validator.py but due to which I am getting error as- An exception was thrown while dispatching the python script handler and Cannot communicate with task server, please check your settings.
and unable to load any option in splunk db connect. Kindly help. Is there any other things need to be change?

0 Karma

ips_mandar
Builder

Sorry it was some copy paste issue .Now it is working fine.
Thank you.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...