# Verschiedene Bugs melden

**URL:** <https://community.gladysassistant.com/t/releve-de-bugs-divers/6271>\
**Category:** Configuration\
**Created:** [20. April 2021 um 19:11 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271 "2021-04-20T19:11:46Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [27. April 2021 um 19:07 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/41 "2021-04-27T19:07:37Z")

</div>

Also, ich habe das Gefühl, dass ich auch ein Problem mit dem Chat habe (wo ist das verbunden)

 ![Screenshot_20210427-210453__01](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/207cd14b0120a53ab713c33fd344f019ec55f4b5.jpeg)

Kein Licht ging an, obwohl das Dashboard in Ordnung ist!  
Meine Lichter werden über zigbee2mqtt gesteuert

Natürlich sehe ich keine Logs vorbeiziehen

Aber das Wetter funktioniert!

 ![Screenshot_20210427-211505](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/f/ff9e5deac5b716b5580cf4acc84647adb098c4ab.jpeg)

Entschuldigung, ich kann beim Debuggen nicht mehr helfen, viel Erfolg!

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [27. April 2021 um 19:59 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/42 "2021-04-27T19:59:48Z")

</div>

Hier ist, was ich gemacht habe, um sicherzugehen:

```
docker stop motioneye
docker rm motioneye

```

Ich gehe zu Gladys lokal, Integration, Kamera, und gebe meinen Stream `/dev/video0` ein. Ich schalte in den Entwicklermodus 🕶 und teste. In der Konsole erhalte ich

```
error	"ffmpeg exited with code 1: /dev/video0: Resource busy\n"

```

Ich habe den Raspberry neu gestartet, damit es funktioniert, danke pierre-gilles 😉

Ich habe auch ein Problem mit dem Chatbox, wenn ich ihn bitte, die Kamera anzuzeigen, aber ich denke, ich habe etwas Logs

```
2021-04-27T21:43:33+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2021-04-27T21:44:33+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2021-04-27T21:44:33+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2021-04-27T21:44:33+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2021-04-27T21:44:33+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2021-04-27T21:45:46+0200 <warn> index.js:825 (Socket.<anonymous>) Socket disconnected client side. Trying to reconnect...
2021-04-27T21:45:46+0200 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> NotFoundError: Answer with intent camera.get-image-room.fail and language fr not found
      at Brain.getReply (/src/server/lib/brain/brain.getReply.js:18:11)
      at MessageHandler.replyByIntent (/src/server/lib/message/message.replyByIntent.js:15:27)
      at Camera.command (/src/server/lib/device/camera/camera.command.js:28:25)
}
2021-04-27T21:45:46+0200 <error> index.js:16 (process.<anonymous>) NotFoundError: Answer with intent camera.get-image-room.fail and language fr not found
    at Brain.getReply (/src/server/lib/brain/brain.getReply.js:18:11)
    at MessageHandler.replyByIntent (/src/server/lib/message/message.replyByIntent.js:15:27)
    at Camera.command (/src/server/lib/device/camera/camera.command.js:28:25)
2021-04-27T21:45:47+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera

```

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [27. April 2021 um 20:07 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/43 "2021-04-27T20:07:19Z")

</div>

Tatsächlich ist das Dashboard in Ordnung, aber der Diskussionsthread zeigt:

 ![Screenshot_20210427_220649_com.android.chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2ccc24b6d3fac0c64775570304913fd9a6660c07.jpeg)  
USB-Kameras an OrangePi und Camerapi an PiZero und RPi2

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [27. April 2021 um 20:11 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/44 "2021-04-27T20:11:48Z")

</div>

Aufgrund des Logs von @Jean34 und des Fehlers, der die Sprache fr erwähnte, habe ich trotzdem den Test durchgeführt, indem ich mein Konto auf Englisch umgestellt habe … dasselbe Problem:

 ![Screenshot_20210427-221016_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d5262171792d98fa076a93092f9bbad43258fed2.jpeg)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [28. April 2021 um 00:28 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/45 "2021-04-28T00:28:01Z")

</div>

Okay, es gibt also ein Problem mit dem Chat, aber die Kameraintegration funktioniert.

@Lokkye könnte das nicht von deinem PR zum Chat kommen?

Ich meine genau diese hier =\>

> <https://github.com/GladysAssistant/Gladys/pull/1105>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.json\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [28. April 2021 um 12:53 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/46 "2021-04-28T12:53:55Z")

</div>

Nach der Untersuchung gibt es tatsächlich einen Bug. Seit dem Update von node-nlp im obigen PR funktioniert die Kamerabildabfrage in einem PR nicht mehr.

Ich habe ein GitHub-Issue erstellt, um den Bug zu referenzieren:

> <https://github.com/GladysAssistant/Gladys/issues/1176>

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [28. April 2021 um 16:51 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/47 "2021-04-28T16:51:04Z")

</div>

Erklärt das auch mein Problem mit den Lichtern?

Siehe: [Relevé de bugs divers - #41 par spenceur](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/41?u=spenceur)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [29. April 2021 um 00:33 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/48 "2021-04-29T00:33:36Z")

</div>

Ja, das denke ich auch! Das ist verbunden.

Das wurde von den Tests nicht erfasst, weil die Tests meiner Meinung nach in diesem Teil des Codes zu „unitär“ waren und nicht die End-to-End-Funktionalität mit der Bibliothek getestet haben.

Man muss noch welche hinzufügen 🙂

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [29. April 2021 um 06:02 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/49 "2021-04-29T06:02:51Z")

</div>

Viel Erfolg beim Fixen 😛  
Ich nehme an, so etwas könnte in Zukunft mit Cypress getestet werden?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [29. April 2021 um 10:20 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/50 "2021-04-29T10:20:08Z")

</div>

> [@spenceur](#):
>
> Vielleicht könnte man so etwas in Zukunft mit Cypress testen?

Das ist möglich, aber ich glaube nicht, dass das der eigentliche Zweck von Cypress ist. Hier fehlen einfach nur die Backend-„End-to-End“-Tests in diesem Fall (wir haben sie an vielen Stellen, aber nicht hier, um genau zu sein), ohne die Aufrufe an die Bibliothek zu mocken, um Breaking-Änderungen in der Bibliothek testen zu können 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [29. April 2021 um 11:10 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/51 "2021-04-29T11:10:02Z")

</div>

Für Info, ich habe angefangen, mich damit zu beschäftigen, und tatsächlich funktionieren seit dem Update der node-nlp-Bibliothek alle Stellen, an denen die „Kontexte“ in den Fragen verwendet werden (also alle Fragen) nicht mehr 😕 Nicht besonders kompliziert zu beheben, aber es gibt viel zu tun.

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [29. April 2021 um 11:19 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/52 "2021-04-29T11:19:41Z")

</div>

Gott sei Dank, dass wir das sehen und alle an der Fehlerbehebung beteiligt sind 😃

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [29. April 2021 um 11:23 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/53 "2021-04-29T11:23:42Z")

</div>

PR in Arbeit hier, es ist WIP:

> <https://github.com/GladysAssistant/Gladys/pull/1177>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.json\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [29. April 2021 um 20:07 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/54 "2021-04-29T20:07:50Z")

</div>

Entschuldige @pierre-gilles, du musst in alle Richtungen gehen…

Aber ich habe andere Bugs auf Gladys + gefunden, falls ich ein anderes Thema erstellen soll, sag mir Bescheid…

Ich habe ein Problem mit der Bearbeitung des Dashboards mit meinen Zigbee- und MQTT-Geräten, die Räume werden nicht in der Liste angezeigt, tatsächlich ist da überhaupt nichts:

Lokal

 ![Screenshot_20210429_211415_com.android.chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/13b1834d4d2feae5b25d43061995ebfc61b47bef.jpeg)

Auf Gladys +

 ![Screenshot_20210429_211425_com.android.chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/4b761c1801bdff7b410310c94715a4aab8e10c52.jpeg)

Lokal

 ![Screenshot_20210429_211455_com.android.chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/51b24afc5204437fb31bece99192a66eec58c8d9.jpeg)

Auf Gladys +

 ![Screenshot_20210429_211501_com.android.chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/6e3d9d4ec133d9c7045c1e596facef62a1fb7fd8.jpeg)

Am PC ist es genauso und ich habe keine Fehler in der Firefox-Konsole, ebenso wie bei den Docker-Logs

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [30. April 2021 um 06:52 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/55 "2021-04-30T06:52:24Z")

</div>

@Jean34 seltsam, ich kann das nicht reproduzieren, bei mir funktioniert es

Ich glaube, wir hatten vor einigen Wochen einen kleinen Bug in diesem Bereich (sowohl bei Gladys als auch bei Gladys Plus) und ich frage mich, ob du den Bug vielleicht immer noch hast, weil der Cache in diesem Bereich nicht geleert wurde. Hast du den Bug immer noch, wenn du den privaten Modus verwendest oder den Cache deines Browsers leerst?

Falls nicht, wie viele Räume hast du in deinem Haus?

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [30. April 2021 um 15:25 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/56 "2021-04-30T15:25:17Z")

</div>

In 4.2.3 hatte ich dieses Problem nicht, und ich habe natürlich vor dem Posten meiner Nachricht CCleaner gestartet. Und das passiert mir sowohl am PC als auch am Smartphone.

Bearbeitung:

 ![SCREEN GLADYS](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/30f8cfc5a82c9ce331cab7475cd17b099f26c5d4.png)

Ich habe nur 3 Räume.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [3. Mai 2021 um 03:33 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/57 "2021-05-03T03:33:51Z")

</div>

Echt seltsam, ich kann es bei mir nicht reproduzieren.

Hat noch jemand das Problem? @VonOx?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [3. Mai 2021 um 07:55 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/58 "2021-05-03T07:55:27Z")

</div>

Zur Information habe ich gerade die Fixes für den Chat abgeschlossen, es ist hier auf master gemerged:

> <https://github.com/GladysAssistant/Gladys/commit/2c0c3c5d5f41e7620ead51c475dd0a941047f201>
>
> \* Add brain E2E test to check if response of node-nlp change
> 
> \* Fix get temper…ature in room chat command
> 
> \* Fix get humidity in room in chat
> 
> \* Fix get camera image command
> 
> \* Fix light turn on/turn off command

Ich werde im Laufe des Tages einen Docker-Build „dev“ durchführen.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [3. Mai 2021 um 08:17 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/59 "2021-05-03T08:17:50Z")

</div>

Nicht reproduziert, und ich rate von CCleaner und ähnlichen Programmen ab. Ein einfacher Hard Refresh reicht aus.

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [3. Mai 2021 um 10:57 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/60 "2021-05-03T10:57:20Z")

</div>

Hör mal, ich habe alles versucht, um Ruhe zu haben… Mir bleibt nur noch eine Neuinstallation.

Aber vorher schaue ich, ob es nicht auch mit den Diensten zusammenhängt, die ich deaktiviert habe, da ich sie nicht benutze… Hue, Z-Wave usw.

[Vorherige Seite](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=2)

[Nächste Seite](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=4)
