Bug 8527 - number buttons not working on some platforms
: number buttons not working on some platforms
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: unspecified
: Linkstation Debian Linux
: -- normal (vote)
: ---
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-21 20:35 UTC by Ken
Modified: 2008-08-28 17:09 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 Ken 2008-06-21 20:35:33 UTC
The numbered buttons don't seem to work when I'm running SC on either my LinkStation HG or the LinkStation Pro I am testing for a friend. Both of them are debian-based machines with build 20910 built from the tarball. When I run it off an Ubuntu server also running 20910 (installed via dpkg) the buttons worked just fine. 

Michael H suggested a permissions problem with favorites.opml in the playlists and/or cache directories, but the permissions on the LinkStations are either the same or less restrictive than those on the Ubuntu box that works. Ownership is squeezecenter:nogroup on all of them. I tried changing the playlist and cache folders on the LS Pro to 777, and the favorites.opml and favorites.opml.backup files to 666, and I still get the same errors.

Here are some of the error messages in the LS Pro server.log:

[08-06-19 17:01:18.8466] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Buttons/Common.pm line 825.
]
[08-06-19 17:01:51.4366] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Buttons/Common.pm line 825.
]
[08-06-19 17:01:58.4717] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Plugin/Favorites/Plugin.pm line 168.
]
[08-06-19 17:02:00.7048] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Plugin/Favorites/Plugin.pm line 168.
]
[08-06-19 17:02:01.7746] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Plugin/Favorites/Plugin.pm line 168.
]
[08-06-19 17:02:03.0114] Slim::Control::Request::execute (1781) Error: While trying to run function coderef [Slim::Control::Commands::buttonCommand]: [Can't locate object method "hasHotkey" via package "Slim::Plugin::Favorites::OpmlFavorites" at /usr/share/squeezecenter/Slim/Plugin/Favorites/Plugin.pm line 168.
]
Comment 1 Adrian Smith 2008-06-22 02:23:27 UTC
This looks to be a problem with the build you are using - are there any error messages prior to this related to favorites?  Otherwise do you really have the right version of Slim/Plugin/Favorites/OpmlFavorites.pm - does it include sub hasHotKey?
Comment 2 Ken 2008-06-23 20:56:42 UTC
Yes, I checked and the OpmlFavorites.pm files are the same across all 3 machines. The errors before these hasHotkey errors appear to be related to plugins (WeatherTime, SyncOptions, MusicInfoScr) and not related to the favorites buttons.


Comment 3 Ken 2008-07-18 12:09:07 UTC
Everything seems fine now. I don't know what it was, but as far as I'm concerned you can close this bug.
Comment 4 Ross Levine 2008-07-30 13:08:42 UTC
Please re-open if you see fit, thanks Simler.