All Apps and Add-ons

Why do I receive error "TypeError: object() takes no parameters" while installing packaging tool kit?

keishamtcs
Explorer

Hi,

Since Splunk does not support Splunk add for SCOM, we are using splunk packaging tool kit to breakup the addon and deploy the various component. we have a heavy forwarder which is on premise. we tried installing Splunk packaging tool kit in multiple servers Linux, Windows with no success.

below is the error.

Processing /tmp/splunk-packaging-toolkit-0.9.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wgnvd_73-build/setup.py", line 17, in <module>
        from slim import __version__
      File "/tmp/pip-wgnvd_73-build/slim/__init__.py", line 7, in <module>
        from . describe import describe
      File "/tmp/pip-wgnvd_73-build/slim/describe.py", line 11, in <module>
        from slim.app import *
      File "/tmp/pip-wgnvd_73-build/slim/app/__init__.py", line 8, in <module>
        from . _configuration import (
      File "/tmp/pip-wgnvd_73-build/slim/app/_configuration.py", line 47, in <mo
        from . _configuration_validator import AppConfigurationValidator
      File "/tmp/pip-wgnvd_73-build/slim/app/_configuration_validator.py", line
        from . _configuration_spec import AppConfigurationPlacement, AppConfigur
      File "/tmp/pip-wgnvd_73-build/slim/app/_configuration_spec.py", line 185,
        AppConfigurationPlacement.all_workloads = AppConfigurationPlacement(('se
      File "/tmp/pip-wgnvd_73-build/slim/app/_configuration_spec.py", line 96, i
        return super(AppConfigurationPlacement, cls).__new__(cls, workloads) if
    TypeError: object() takes no parameters

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-wgnvd_73

also,We have SCOM Add-on app root folder created as per the Packagingtoolkit-workflow. can i provide my app root folder to create the packages?

0 Karma

dnoble_splunk
Splunk Employee
Splunk Employee

Hello,
Can you send me some information on your system configuration? It was our expectation that customers would install this pre-release to a Python 2.7.x virtual environment on a development machine. We've done very little testing with installs to the system python. What version of Python are you running? What does your virtualenv look like?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...