Bugzilla – Bug 8545
SetupAppletInstaller applet fails to load
Last modified: 2008-12-15 12:05:03 UTC
Triode, I'm going to assign this your way, but feel free to send it back my way if you don't have time to look at it. I'm sure I can figure it out eventually. this is on r2618, running jive on the desktop. I put in a fix earlier in the day in the Meta file to get the AppletInstaller item to appear, and that exposed this error-- 235944:197482 ERROR (AppletManager.lua:359) - Error while loading applet SetupAppletInstaller:.../SetupAppletInstaller/SetupAppletInstallerApplet.lua:30: module 'zipfilter' not found: no field package.preload['zipfilter'] no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/src/squeezeplay/share/zipfilter.lua' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/share/lua/5.1/zipfilter.lua' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/share/lua/5.1/zipfilter/zipfilter.lua' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/share/jive/zipfilter.lua' no file './zipfilter.so' no file '/usr/lib/lua/5.1/zipfilter.so' no file '/usr/lib/lua/5.1/loadall.so' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/lib/lua/5.1/zipfilter.so' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/lib/lua/5.1/zipfilter/core.so' no file '/Users/bklaas/svk/squeezeplay/7.1/trunk/squeezeplay/build/osx/share/jive/zipfilter.so' error in event function: ...ts/SetupAppletInstaller/SetupAppletInstallerMeta.lua:42: attempt to index local 'applet' (a nil value) stack traceback: ...ts/SetupAppletInstaller/SetupAppletInstallerMeta.lua:42: in function <...ts/SetupAppletInstaller/SetupAppletInstallerMeta.lua:42> (tail call): ? ...ezeplay/src/squeezeplay/share/jive/ui/SimpleMenu.lua:152: in function 'itemListener' ...k/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua:115: in function <...k/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua:110> (tail call): ? (tail call): ? ...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:607: in function <...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:583> [C 0x781d]: in function 'dispatchEvent' ...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:483: in function 'dispatchNewEvent' ...k/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua:170: in function <...k/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua:126> (tail call): ? ...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:607: in function <...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:583> [C 0x17117]: in function '_eventHandler' ...squeezeplay/src/squeezeplay/share/jive/ui/Window.lua:132: in function 'callback' ...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:607: in function <...squeezeplay/src/squeezeplay/share/jive/ui/Widget.lua:583> [C 0x781d]: ? [C 0x6aca]: in function 'processEvents' ...eezeplay/src/squeezeplay/share/jive/ui/Framework.lua:234: in function <...eezeplay/src/squeezeplay/share/jive/ui/Framework.lua:232>
I think change 2621 fixes this?
sorry, I'd made the same change locally and not checked it in...adding the appletManager declaration exposes the underlying bug, which is that it can't find zipfilter. See the console log above...
It worked for me on a linux desktop - downloaded and extracted a zip file. What platform do you have a problem with?
I'm on OS X...it's certainly possible this has been a bug in OS X for some time. I came across it when going through the jive UI post-Richard's SlimDiscovery refactoring. I was operating under the assumption that anything I came across like this was related to that refactoring, but perhaps that's not the case here.
check compile logs, see if zipfilter worked? I got this a long time ago when I used to try windows builds. zipfilter was a dead end and I gave up trying to build and expect the appletinstaller to work.
ok, trying this myself: osx compile doesn't seem to report errors, but zipfilter is not compiled. The configure script is not executed so the makefile doesn't exist. running configure manually works, but running make after fails due to a missing lua.h
Ben - try change 2720 for osx We also need this to work on windows - I'm hoping Richard can help here, the source includes some refs to windows dlls so I assume it is targetted, but its not included in the build configuration.
Not a requirement for 7.1
This is fixed - it now works on all platforms to the level covered in this bug. Its probably still broken on Vista and certain unixes due to saving files in the wrong place (will raise a new bug for this)
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.