HackerShackOfficial / AI-Smart-Mirror

Smart Mirror with a smart AI 🤖
MIT License
537 stars 214 forks source link

Electron microphone bug #18

Closed ceased-ebc closed 7 years ago

ceased-ebc commented 7 years ago

anyone come across something like this before?

In the codes there is this section r = requests.get(“http://localhost:8080/microphone?enabled=%s” % str(enable)) if r.status_code != 200: print(“Used wrong endpoint for microphone debugging”)

The above snippet basically means it is making a get request to the electron to enable microphone and it’s sending codes other than 200 which is causing to print the “wrong debugging microphone…” etc. So basically the issue persists in the npm start command meaning the electron

ceased-ebc commented 7 years ago

Resolved, reinstall electron.