Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

[Errno -2] Name or service not known #9

@Vieufoux

Description

@Vieufoux
  • python version: Python 2.7.17

Description:

I install the countly using "pip install Raspberry_SDK"
Below is my code:

from Raspberry_SDK.Countly import Countly
import time
print("hello World")

countly = Countly("http://xxxxxxxxxx:9001", "xxxxxxxxxxxxxxxxxxxxxxxxxxx", 0)

while True:
    countly.event("EVENT_SYSTEM_UP", 34)
    print("sent a msg to server!")
    time.sleep(30)

Error:

[Errno -2] Name or service not known

Btw, I use curl command to record event, and countly api is working properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions