Bug 12328 - Trying to install plugin via extension downloader causes Squeezebox server to crash at next start up
: Trying to install plugin via extension downloader causes Squeezebox server to...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 7.4.0
: PC RedHat Linux
: -- normal with 1 vote (vote)
: 7.4.0
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-09 19:06 UTC by Mikael Nyberg
Modified: 2009-10-05 14:33 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Nyberg 2009-06-09 19:06:08 UTC
I just tried to install "other player" plugin again after an uppgrade to 7.4 26954 this causes SC to crash and not start at all at next start up ?

It does so untill I remove OtherPlayers.zip and go to the extensiondownloader page and unselect that plugin then I can start SC again.

This also causes the extension downloader page to be left in an "uninstalling" status for that plugin indefinitely.

[09-06-10 03:24:27.7272] Slim::Utils::PluginDownloader::extract (83) Warning: Can't locate Compress/Zlib.pm in @INC (@INC contains: /var/lib/squeezecenter/cache/InstalledPlugins /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi/auto /usr/share/squeezecenter/CPAN/arch/5.8.8/i686-linux-thread-multi /usr/share/squeezecenter/CPAN/arch/5.8.8/i686-linux-thread-multi/auto /usr/share/squeezecenter/CPAN/arch/5.8/i686-linux-thread-multi /usr/share/squeezecenter/CPAN/arch/5.8/i686-linux-thread-multi/auto /usr/share/squeezecenter/CPAN/arch/i686-linux-thread-multi /usr/share/squeezecenter/lib /usr/share/squeezecenter/CPAN /usr/share/squeezecenter /usr/libexec /usr/local/bin/myperl/lib/5.8.8/i686-linux-thread-multi /usr/local/bin/myperl/lib/5.8.8 /usr/local/bin/myperl/lib/site_perl/5.8.8/i686-linux-thread-multi /usr/local/bin/myperl/lib/site_perl/5.8.8 /usr/local/bin/myperl/lib/site_perl /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 .) at /usr/share/squeezecenter/CPAN/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at /usr/share/squeezecenter/CPAN/Archive/Zip.pm line 11.
Compilation failed in require at /usr/local/bin/myperl/lib/site_perl/Slim/Utils/PluginDownloader.pm line 83.
[09-06-10 03:24:27.7287] Slim::bootstrap::theEND (430) Got to the END 

My Squeezebox Server version is this

Version: 7.4 - 26954 @ Tue Jun 9 01:09:23 PDT 2009
Hostname: hal.home.lan
Server IP Address: 192.168.1.5
Server HTTP Port Number: 9000
Operating system: Red Hat - EN - utf8
Platform Architecture: i686-linux
Perl Version: 5.8.8 - i686-linux-thread-multi
Total Players Recognized: 4
Comment 1 Adrian Smith 2009-06-10 11:40:16 UTC
This looks to be a problem using Archive::Zip on your perl architecture.

Andy - any view why this is not working?
Comment 2 Andy Grundman 2009-06-10 11:42:11 UTC
Archive::Zip uses Compress::Zlib which is now so evil that I removed it.  I haven't looked to see if there is a good solution to unzipping files without it though.
Comment 3 Mikael Nyberg 2009-06-10 11:44:17 UTC
Yes ? but it worked before with the older 7.4 26580 i have used the ED for
exactly the same plugin ?
Comment 4 Adrian Smith 2009-06-10 11:55:49 UTC
I think you put it back as ExtensionDownloader and PAR rely on Archive::Zip, so we need it..  The problem is it doesn't seem to work for this case.  (It works fine for me with perl 5.10 on ubuntu)

I am thinking that if we fail to load it we should try to to use unzip via system calls, but that this should not be the generic case.
Comment 5 Adrian Smith 2009-06-10 12:04:30 UTC
I've added something which should mean that the server does not fail to start if Archive::Zip does not work.  However this is still needed to make Extension Downloader work, so we need this to work for your perl architecture..
Comment 6 Adrian Smith 2009-07-11 13:41:51 UTC
Are people still seeing this - Archive::Zip has been updated since this was reported
Comment 7 Mikael Nyberg 2009-07-11 21:41:40 UTC
"Archive::Zip has been updated since this was
reported"

I did not know , this bug would be a good place to tell me.
I will try to use ED and then repport back.

Hurray it is working thank you !

Some messages in the log but the plugin installed and is working:

[09-07-12 06:28:54.7495] main::init (319) Starting Squeezebox Server (v7.4, r27509, Sat Jul 11 04:01:36 PDT 2009) perl 5.008008
[09-07-12 06:28:56.2706] Slim::Utils::Strings::parseStrings (325) Error: Parsing line 1: # Max Spicer, May 2007
[09-07-12 06:30:01.0039] Slim::Utils::Update::getUpdateInstaller (263) Reading update installer path from /var/lib/squeezecenter/cache/updates/server.version
[09-07-12 06:30:01.0050] Slim::Utils::Update::getUpdateInstaller (266) Failure reading '/var/lib/squeezecenter/cache/updates/server.version'
[09-07-12 06:30:01.0070] Slim::Utils::Update::checkVersion (57) Checking version in 44044.2698378563 seconds
[09-07-12 06:37:55.0140] Slim::Utils::Misc::msg (1160) Warning: [06:37:55.0129] Use of uninitialized value in foreach loop entry at /usr/local/bin/myperl/lib/site_perl/Slim/Web/Settings/Player/Menu.pm line 80.
[09-07-12 06:38:17.1752] Slim::Utils::Misc::msg (1160) Warning: [06:38:17.1741] Use of uninitialized value in foreach loop entry at /usr/local/bin/myperl/lib/site_perl/Slim/Web/Settings/Player/Menu.pm line 80.
Comment 8 Adrian Smith 2009-07-12 04:12:46 UTC
Closing as it is reported working - please reopen you see more issues with this specific problem (otherwise open a new bug).
Comment 9 James Richardson 2009-10-05 14:33:13 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.