Spotify nach Umzug auf Buster - Fehlermeldung

Begonnen von shamal2008, 28 Januar 2020, 18:52:03

Vorheriges Thema - Nächstes Thema

shamal2008

Hallo zusammen,

habe mein FHEM auf Buster und Raspi4 übersiedelt, und nun weigert sich das Spotify Modul.

Beim Start von FHEM bekomme ich folgende Meldung:

2020.01.28 18:40:36 1: reload: Error:Modul 37_Spotify deactivated:
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 368, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 368, near "0)"
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 376, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 376, near "0)"


Am "alten" Server funktioniert das Modul einwandfrei.

Ich hab zwar was im Forum gefunden, betrifft allerdings Docker (da habe noch kein Know-how). Habt ihr eine Idee, was zu tun ist?

Danke,
shamal
FHEM auf RasPiI 3+, MapleCUL 868+433MhZ, MAX! via CUL, LD686 LED-Controller, GHoma Plugins,, Shelly, ConbeeII + IKEA + Xiaomi, div. Infodienste & Google Assistant via FHEM;

Wernieman

Wie hast Du Buster eingerichtet .. Neuinstallation oder Upgrade?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

shamal2008

Hallo Werniemann,

Buster wurde auf einem jungfräulichen Raspi4 installiert. FHEM mittels Backup und restore transferiert.

Raspotify läuft auf dem Buster.

die Meldungen nach dem Start waren wie folgt:


2020.01.28 18:15:59 1: reload: Error:Modul 37_Spotify deactivated:
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 368, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 368, near "0)"
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 376, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 376, near "0)"

2020.01.28 18:15:59 0: Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 368, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 368, near "0)"
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 376, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 376, near "0)"

2020.01.28 18:15:59 1: Including ./log/fhem.save
2020.01.28 18:16:00 1: configfile: Cannot load module Spotify
Please define Spotify 5c8578b5-f33f-6c8f-b36d-eeb2a8e0f388c6e5 first
./log/fhem.save: Please define Spotify first


Schlussendlich hat FHEM offensichtlich nach mehreren Reboots das Device gelöscht. Es ist auf jeden Fall nicht mehr auffindbar. Auf dem Production-Server existiert es noch, obwohl ich da festgestellt habe, dass seit dem Update (am 23.1) scheinbar Fehler im Log auftauchen:

Log-Production Server:
2020.01.23 17:26:14 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/37_Spotify.pm line 250.

Danke für deine Hilfe,
shamal
FHEM auf RasPiI 3+, MapleCUL 868+433MhZ, MAX! via CUL, LD686 LED-Controller, GHoma Plugins,, Shelly, ConbeeII + IKEA + Xiaomi, div. Infodienste & Google Assistant via FHEM;

Wernieman

- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Flanders

#4
Guten Morgen,

ich habe nun auch dieses Problem!
Bin auf Ubuntu 20.04.5 LTS

Wie konnte es gelöst werden?

Beim Reload von Spotify bekomme ich folgende Fehlermeldung:

Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 368, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 368, near "0)"
Too many arguments for Cpanel::JSON::XS::encode_json at ./FHEM/37_Spotify.pm line 376, near "0)"
Not enough arguments for main::Spotify_apiRequest at ./FHEM/37_Spotify.pm line 376, near "0)"

Flanders

GGf liegt es an der Config, kann es aber nicht erkennen.

Habe eine uraltversion eingespielt, lief.
Dann dort die aktuelle Config rein, gleicher Fehler?!

Greets