Bugzilla – Bug 8379
Can't open folder in Favorites, or edit Favorites
Last modified: 2008-08-28 17:08:36 UTC
[00:45:41.0433] Slim::Networking::Select::select (245) Error: Select task failed: Can't locate object method "hotkeys" via package "Slim::Plugin::Favorites::OpmlFavorites" at P:/Music/SlimServer/trunk/server/Slim/Plugin/Favorites/Plugin.pm line 697.
What were the steps you took to get to this? Could you check your logs around the server startup as well, looking for any mention of the favorites modules? I've tried to edit a favorite from the default skin and the error doesn't show up. The hotkeys method is in the OPMLFavorites module, so it could be something at startup causing the module not to load. Might you have some remnant code from running another version? Also, can you please always mention which nightly/svn revision you are running so that we know where to compare. thanks.
Sorry, was in a rush; wanted to log an error before I forgot it! Here's some more information. The problem is that I have a folder called "Radio Stations" within my favorites. I can't browse into that folder in the Default WebUI skin. When I click on the folder name, nothing happens. Essentially, I synced up to SVN 20626, restarted SC, and imported favorites into My Radio Stations. I used the OPML Playlist Browser & Editor to edit myradio.opml, but didn't modify favorites.opml at all (timestamp on file confirms this). The log also contained: [00:41:49.6319] Slim::Plugin::Favorites::Playlist::read (53) Unable to import from M:\Music\Slimserver\Playlists I tried importing favorites into OPML Playlist Browser & Editor, and it's fine in there.
QA - can you reproduce this issue?
I have the same problem except I can open on use favorites I just can't edit them. If I hit the edit it just sits and waits for a response. I get the same error in the logs.
I have the same problem except I can open on use favorites I just can't edit them. If I hit the edit it just sits and waits for a response. I get the same error in the logs. XP SC 7.1 Mondays release.
Adrian - any idea what might be wrong here?
Is this all the same problem? Some people seem to be reporting the following in the log when they try to edit a favorite: [00:45:41.0433] Slim::Networking::Select::select (245) Error: Select task failed: Can't locate object method "hotkeys" via package "Slim::Plugin::Favorites::OpmlFavorites" at P:/Music/SlimServer/trunk/server/Slim/Plugin/Favorites/Plugin.pm line 697. Is this common for all? If so what are the builds and platforms? Phil's problem sounds more like a corrupted favorite.opml file. Phil do you really see the above error every time you try to edit a favorite? Could you enable favorites debugging and post what it says?
I do see the "Can't locate object method hotkeys" error whenever I click on the edit favorites icon. I have tried stripping my favorites.ompl file down to basic content and still see the problem. I don't think it's corrupt; I'll attach what I've currently got. <?xml version="1.0" encoding="UTF-8"?> <opml version="1.0"> <head title="Favorites"> <expansionState></expansionState> </head> <body> <outline URL="db:album.titlesearch=IN%20RAINBOWS" text="In Rainbows" type="audio" /> <outline URL="http://www.squeezenetwork.com/api/lastfm/v1/opml/search_artist?q=Beth%20Gibbons%20%26%20Rustin%20Man" text="On Last.fm Radio" type="link" /> </body> </opml>
With the favorites logging set to debug, all I see is: [20:53:20.7927] Slim::Plugin::Favorites::Plugin::indexHandler (313) new favorites editing session [20:53:20.7952] Slim::Networking::Select::select (245) Error: Select task failed: Can't locate object method "hotkeys" via package "Slim::Plugin::Favorites::OpmlFavorites" at P:/Music/SlimServer/trunk/server/Slim/Plugin/Favorites/Plugin.pm line 703.
This is on windows? what is the build? The file name suggests a svn checkout - if so is it up to date and is "sub hotkeys" defined in the relalavant file? Are you running slimserver.pl manually?
Also, what browser are you using, Phillip?
I am running on Windows XP. I run SC 7.2 trunk as a service via ActivePerl. I use Firefox 3, but have also tried using IE rendering engine (via IE tab addon), and tried IE7 too.
I blew away my SVN checkout and recreated. I deleted my cache folder. This "bug" has now gone away for me - sorry.
thanks for letting us know.
Thats good - I couldn't figure out how it could happen otherwise...