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

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

Open
Vieufoux opened this issue Apr 23, 2020 · 0 comments
Open

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

Vieufoux opened this issue Apr 23, 2020 · 0 comments

Comments

@Vieufoux
Copy link

Vieufoux commented Apr 23, 2020

  • 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant