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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...