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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...