Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obj must be an instance or subtype of type #14

Open
that-guy-iain opened this issue Nov 17, 2022 · 0 comments
Open

Obj must be an instance or subtype of type #14

that-guy-iain opened this issue Nov 17, 2022 · 0 comments

Comments

@that-guy-iain
Copy link

When using the examples with version 0.7.2 on python 3.8 I get

ERROR: Fail to execute neuron 'openweathermap'. e.message. -> Execution skipped, run with debug flag for more information
2022-11-17 14:22:58 :: kalliope-0.7.2 :: ERROR: Fail to execute neuron 'openweathermap'. e.message. -> Execution skipped, run with debug flag for more information
2022-11-17 14:22:58 :: kalliope-0.7.2 :: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/kalliope/core/NeuronLauncher.py", line 62, in start_neuron
    instantiated_neuron = NeuronLauncher.launch_neuron(neuron)
  File "/usr/local/lib/python3.8/dist-packages/kalliope/core/NeuronLauncher.py", line 41, in launch_neuron
    return Utils.get_dynamic_class_instantiation(package_name="neurons",
  File "/usr/local/lib/python3.8/dist-packages/kalliope/core/Utils/Utils.py", line 150, in get_dynamic_class_instantiation
    return klass(**parameters)
  File "./neurons/openweathermap/openweathermap.py", line 11, in __init__
    super(Openweathermap, self).__init__(**kwargs)
TypeError: super(type, obj): obj must be an instance or subtype of type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant