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!

Index This | Divide 100 by half. What do you get?

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

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...