All Apps and Add-ons

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

Engager

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

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