All Apps and Add-ons

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



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 egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wgnvd_73-build/", line 17, in <module>
        from slim import __version__
      File "/tmp/pip-wgnvd_73-build/slim/", line 7, in <module>
        from . describe import describe
      File "/tmp/pip-wgnvd_73-build/slim/", line 11, in <module>
        from import *
      File "/tmp/pip-wgnvd_73-build/slim/app/", line 8, in <module>
        from . _configuration import (
      File "/tmp/pip-wgnvd_73-build/slim/app/", line 47, in <mo
        from . _configuration_validator import AppConfigurationValidator
      File "/tmp/pip-wgnvd_73-build/slim/app/", line
        from . _configuration_spec import AppConfigurationPlacement, AppConfigur
      File "/tmp/pip-wgnvd_73-build/slim/app/", line 185,
        AppConfigurationPlacement.all_workloads = AppConfigurationPlacement(('se
      File "/tmp/pip-wgnvd_73-build/slim/app/", line 96, i
        return super(AppConfigurationPlacement, cls).__new__(cls, workloads) if
    TypeError: object() takes no parameters

Command "python 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

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