Bug 8545 - SetupAppletInstaller applet fails to load
: SetupAppletInstaller applet fails to load
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Settings
: unspecified
: PC MacOS X 10.5
: -- normal (vote)
: 7.3
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-23 22:03 UTC by Ben Klaas
Modified: 2008-12-15 12:05 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 Ben Klaas 2008-06-23 22:03:53 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>
Comment 1 Adrian Smith 2008-06-24 12:24:15 UTC
I think change 2621 fixes this?
Comment 2 Ben Klaas 2008-06-24 12:39:37 UTC
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...


Comment 3 Adrian Smith 2008-06-24 12:44:08 UTC
It worked for me on a linux desktop - downloaded and extracted a zip file.

What platform do you have a problem with?
Comment 4 Ben Klaas 2008-06-24 12:47:19 UTC
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.
Comment 5 KDF 2008-07-17 20:52:33 UTC
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.
Comment 6 KDF 2008-07-17 22:54:31 UTC
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
Comment 7 Adrian Smith 2008-07-19 14:21:34 UTC
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.
Comment 8 Chris Owens 2008-07-24 10:38:07 UTC
Not a requirement for 7.1
Comment 9 Adrian Smith 2008-11-11 13:09:11 UTC
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)
Comment 10 James Richardson 2008-12-15 12:05:03 UTC
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.