Bug 8379 - Can't open folder in Favorites, or edit Favorites
: Can't open folder in Favorites, or edit Favorites
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: unspecified
: PC Windows XP
: P3 normal (vote)
: ---
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-10 16:52 UTC by Philip Meyer
Modified: 2008-08-28 17:08 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2008-06-10 16:52:02 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.
Comment 1 KDF 2008-06-10 23:54:37 UTC
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.
Comment 2 Philip Meyer 2008-06-11 00:24:49 UTC
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.
Comment 3 Michael Herger 2008-06-23 06:17:30 UTC
QA - can you reproduce this issue?
Comment 4 Terry Parker 2008-06-26 05:18:30 UTC
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.
Comment 5 Terry Parker 2008-06-26 05:20:02 UTC
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.
Comment 6 Michael Herger 2008-06-26 05:28:24 UTC
Adrian - any idea what might be wrong here?
Comment 7 Adrian Smith 2008-06-26 11:37:18 UTC
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?

Comment 8 Philip Meyer 2008-06-26 12:50:54 UTC
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>

Comment 9 Philip Meyer 2008-06-26 12:54:03 UTC
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.
Comment 10 Adrian Smith 2008-06-26 14:59:40 UTC
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?
Comment 11 Chris Owens 2008-06-26 15:34:15 UTC
Also, what browser are you using, Phillip?
Comment 12 Philip Meyer 2008-06-27 00:26:38 UTC
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.
Comment 13 Philip Meyer 2008-06-27 01:41:19 UTC
I blew away my SVN checkout and recreated.  I deleted my cache folder.  This "bug" has now gone away for me - sorry.
Comment 14 Michael Herger 2008-06-27 02:09:53 UTC
thanks for letting us know.
Comment 15 Adrian Smith 2008-06-27 08:53:42 UTC
Thats good - I couldn't figure out how it could happen otherwise...