Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5

Hybrid View

  1. #1
    Senior Member
    Join Date
    Sep 2007
    Posts
    352

    Getting "Error: Slim::Web::HTTP::protectName() is deprecated - please use Slim"

    Getting this error repeatedly. Not sure if this is why Spicefly Sugarcube has stopped cueing new songs or not.

    [20-01-18 15:27:50.3355] Slim::Web::HTTP:rotectName (2676) Error: Slim::Web::HTTP:rotectName() is deprecated - please use Slim::Web::HTTP::CSRF->protectName() instead
    [20-01-18 15:27:50.3358] Slim::Web::HTTP:rotectName (2676) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/Slim/Web/HTTP.pm line 2676)
    frame 1: Slim::Web::HTTP:rotectName (C:\PROGRA~1\SQUEEZ~1\server\Plugins\RemovePlayedS ongs\lib/Plugins/RemovePlayedSongs/PlayerSettings.pm line 22)
    frame 2: Plugins::RemovePlayedSongs::PlayerSettings::name (/Slim/Web/Settings.pm line 244)
    frame 3: Slim::Web::Settings::handler (C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/SugarCube/PlayerSettings.pm line 494)
    frame 4: Plugins::SugarCube::PlayerSettings::handler (/Slim/Web/HTTP.pm line 1124)
    frame 5: Slim::Web::HTTP::generateHTTPResponse (/Slim/Web/HTTP.pm line 894)
    frame 6: Slim::Web::HTTP:rocessURL (/Slim/Web/HTTP.pm line 691)
    frame 7: Slim::Web::HTTP:rocessHTTP (/Slim/Networking/IO/Select.pm line 123)
    frame 8: (eval) (/Slim/Networking/IO/Select.pm line 119)
    frame 9: Slim::Networking::IO::Select::__ANON__ (/Slim/Networking/IO/Select.pm line 168)
    frame 10: (eval) (/Slim/Networking/IO/Select.pm line 168)
    frame 11: Slim::Networking::IO::Select::loop (slimserver.pl line 727)
    frame 12: main::idle (slimserver.pl line 89)
    frame 13: PerlSvc::Startup (/PerlSvc.pm line 95)
    frame 14: PerlSvc::_startup (slimserver.pl line 0)
    frame 15: (eval) (slimserver.pl line 0)

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,393

    Getting "Error:

    > frame 1: Slim::Web::HTTP:rotectName
    > (C:\PROGRA~1\SQUEEZ~1\server\Plugins\RemovePlayedS ongs\lib/Plugins/RemovePlayedSongs/PlayerSettings.pm


    The trace is coming from this RemovePlayedSongs plugin, not Sugarcube.

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Sep 2007
    Posts
    352
    Is there anything that I can do to stop this from happening other than to disable that plugin (which I have used for a long time and find it useful)? I checked to see if there was an update but it looks like Koldware.com no longer exists. If I just let it continue to error (not disable the plugin), could that be an explanation why I have had a lot of server sluggishness or is that error relatively harmless?

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,393

    Getting "Error:

    > Slim::Web::HTTP:rotectName() is deprecated - please use
    > Slim::Web::HTTP::CSRF->protectName() instead


    You could do the above on:

    > (C:\PROGRA~1\SQUEEZ~1\server\Plugins\RemovePlayedS ongs\lib/Plugins/RemovePlayedSongs/PlayerSettings.pm
    > line 22)


    --

    Michael

  5. #5
    Senior Member
    Join Date
    Sep 2007
    Posts
    352
    Quote Originally Posted by mherger View Post
    > Slim::Web::HTTP:rotectName() is deprecated - please use
    > Slim::Web::HTTP::CSRF->protectName() instead


    You could do the above on:

    > (C:\PROGRA~1\SQUEEZ~1\server\Plugins\RemovePlayedS ongs\lib/Plugins/RemovePlayedSongs/PlayerSettings.pm
    > line 22)


    --

    Michael

    I was going to ask you how to do that or what file I needed to access and how to edit .. I lack programming skills .. but I decided to take a stab at it before asking and I think/hope I did it correctly.

    Thank you. I never would have figured out to do that to correct it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •