All Apps and Add-ons

Unable to setup SplunkIt

ClementG
Path Finder

Hi,

We tried to use this apps by following the instructions but we are having the following error with the shell script:
splunk@splunk$ ./bin/gen50gb.sh

File "data/datagen.py", line 76
with open(OUT_FILE, 'a', 0) as outFile:
^
SyntaxError: invalid syntax

Regards

Tags (1)
1 Solution

MarioM
Motivator

I believe the problem is the python you use (version < 2.5 have different syntax)...

try with a python v2.6 or point the shell script to a python v2.6 install path

View solution in original post

MarioM
Motivator

I believe the problem is the python you use (version < 2.5 have different syntax)...

try with a python v2.6 or point the shell script to a python v2.6 install path

ClementG
Path Finder

Thanks a lot Mario.

It works 😉

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...