Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

__init__() takes 2 positional arguments but 3 were given #40

@szogi

Description

@szogi

Wed, 09 Oct 2019 11:22:21 INFO PlantGateway version 0.6.2
Wed, 09 Oct 2019 11:22:21 INFO loaded config file from /root/.plantgw.yaml
Wed, 09 Oct 2019 11:22:21 INFO Getting data from sensor myplant
Wed, 09 Oct 2019 11:22:21 ERROR could not read data from 11:22:33:44:55:66 (myplant) with reason: init() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/plantgw/plantgw.py", line 263, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.7/dist-packages/plantgw/plantgw.py", line 239, in process_mac
poller = MiFloraPoller(sensor_config.mac, BluepyBackend)
File "/usr/local/lib/python3.7/dist-packages/miflora/miflora_poller.py", line 37, in init
self._bt_interface = BluetoothInterface(backend, adapter)
TypeError: init() takes 2 positional arguments but 3 were given
could not read data from 11:22:33:44:55:66 (myplant) with reason: init() takes 2 positional arguments but 3 were given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions