All Apps and Add-ons

SplunkIt throws an error "Could not import keysym for local pythonversion"

Takajian
Builder

When I tried to generate 50GB, I got following error. Any idea to solve the issue?

python bin/gendata.py
Traceback (most recent call last):
File "bin/gendata.py", line 20, in
from pyro_server import *
File "/opt/splunk/etc/apps/splunkit-server/lib/pyro_server.py", line 19, in
import platform, readline
File "/opt/splunk/etc/apps/splunkit-server/lib/readline.py", line 5, in
from pyreadline.rlmain import Readline
File "/opt/splunk/etc/apps/splunkit-server/lib/pyreadline/init.py", line 9, in
import unicode_helper, logger, clipboard, lineeditor, modes, console
File "/opt/splunk/etc/apps/splunkit-server/lib/pyreadline/modes/init.py", line 2, in
import emacs,notemacs,vi
File "/opt/splunk/etc/apps/splunkit-server/lib/pyreadline/modes/emacs.py", line 15, in
import basemode
File "/opt/splunk/etc/apps/splunkit-server/lib/pyreadline/modes/basemode.py", line 12, in
from pyreadline.keysyms.common import make_KeyPress_from_keydescr
File "/opt/splunk/etc/apps/splunkit-server/lib/pyreadline/keysyms/init.py", line 20, in
raise ImportError(u"Could not import keysym for local pythonversion", x)
ImportError: (u'Could not import keysym for local pythonversion', ImportError('cannot import name windll',))

Tags (1)

schoi
Splunk Employee
Splunk Employee

Hi Takajian,

We've removed the pyreadline dependency in version 2.0.1 of SplunkIt - let us know if that doesn't work for you.

Thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...