All Apps and Add-ons

WindowsError: [Error 193] %1 is not a valid Win32 application while packaging an app

soumdey0192
Explorer

I am trying to package an app in my local system but I am getting the below error.

Can somebody please help me regarding this...??

Below is the complete error that I get :

C:\Program Files\Splunk\bin>splunk package app supplychain
Your session is invalid. Please login.

An unforeseen error occurred:

    Exception: <type 'exceptions.WindowsError'>, Value: [Error 193] %1 is not a valid Win32 application

Traceback (most recent call last):
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\clilib\cli.py", line 1149, in main
parseAndRun(argsList)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\clilib\cli.py", line 937, in parseAndRun
login({}, True)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\clilib\cli.py", line 209, in login
print_login_banner()
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\clilib\cli.py", line 197, in print_login_banner
if subprocess.call([os.path.join(os.environ["SPLUNK_HOME"], "bin", "splunk"), "banner", "-uri", uri]) != 0:
File "C:\Program Files\Splunk\Python-2.7\Lib\subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Program Files\Splunk\Python-2.7\Lib\subprocess.py", line 394, in init
errread, errwrite)
File "C:\Program Files\Splunk\Python-2.7\Lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 193] %1 is not a valid Win32 application

Please file a case online at http://www.splunk.com/page/submit_issue

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...