lirc plugin not working, missing file?

Bug #276401 reported by Rickard Nordbrandt on 2008-09-30
2
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Low
Ubuntu Desktop Bugs

Bug Description

Ubuntu Intrepid amd64

0.11.6svn20080916-0ubuntu1

rhythmbox -d 2>&1 | grep lirc

(18:36:10) [0x2015500] [rb_plugins_engine_load] rb-plugins-engine.c:116: Loading plugin: /usr/lib/rhythmbox/plugins/lirc/lirc.rb-plugin
(18:36:10) [0x2015500] [rb_plugins_engine_load] rb-plugins-engine.c:206: Could not find 'Icon' in /usr/lib/rhythmbox/plugins/lirc/lirc.rb-plugin
(18:36:10) [0x2015500] [rb_module_load] rb-module.c:72: Loading /usr/lib/rhythmbox/plugins/lirc/librblirc.so
(18:36:10) [0x2015500] [register_rb_plugin] rb-lirc-plugin.c:91: Registering plugin RBLircPlugin
(18:36:10) [0x2015500] [rb_lirc_plugin_init] rb-lirc-plugin.c:104: RBLircPlugin initialising
(18:36:10) [0x2015500] [impl_activate] rb-lirc-plugin.c:202: Activating lirc plugin
(18:36:10) [0x2015500] [rb_plugin_find_file] rb-plugin.c:263: found '(null)' when searching for file 'rhythmbox_lirc_default' for plugin 'rblirc'
(18:36:10) [0x2015500] [impl_activate] rb-lirc-plugin.c:215: Couldn't read lirc configuration

my ~/.lircrc
begin
        prog = Rhythmbox
        remote = *
        button = Play
        repeat = 1
        config = play
end

begin
        prog = Rhythmbox
        remote = *
        button = Pause
        repeat = 0
        config = pause
end

begin
        prog = Rhythmbox
        remote = *
        button = Stop
        repeat = 1
        config = stop
end

Related branches

description: updated
Sebastien Bacher (seb128) wrote :

to confirm or send on bugzilla.gnome.org by somebody having a lirc configuration

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Sebastien Bacher (seb128) wrote :

could you try to strace rhythmbox and see what configuration it tries to open?

Changed in rhythmbox:
status: New → Incomplete

getcwd("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", 4096) = 47
getcwd("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", 4096) = 47
lstat("/home/rickard/.gnome2/rhythmbox/plugins/rblirc/rb", 0x7fffb67ec540) = -1 ENOENT (No such file or directory)
getcwd("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", 1026) = 47
stat("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 19
getcwd("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", 4096) = 47
lstat("/home/rickard/.gnome2/rhythmbox/plugins/rblirc/rb", 0x7fffb67e7bf0) = -1 ENOENT (No such file or directory)
getcwd("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", 4096) = 47
lstat("/home/rickard/.gnome2/rhythmbox/plugins/rblirc/rb", 0x7fffb67e5b20) = -1 ENOENT (No such file or directory)
lstat("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", R_OK) = 0
open("/home/rickard/.gnome2/rhythmbox/plugins/rblirc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 20
lstat("/usr/lib/rhythmbox/plugins/lirc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/lib/rhythmbox/plugins/lirc", R_OK) = 0
open("/usr/lib/rhythmbox/plugins/lirc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 20
lstat("/usr/lib/rhythmbox/plugins/lirc/lirc.rb-plugin", {st_mode=S_IFREG|0644, st_size=4560, ...}) = 0
access("/usr/lib/rhythmbox/plugins/lirc/lirc.rb-plugin", R_OK) = 0
open("/usr/lib/rhythmbox/plugins/lirc/lirc.rb-plugin", O_RDONLY) = 23
read(23, "[RB Plugin]\nModule=rblirc\nIAge=1"..., 4096) = 4096
stat("/usr/lib/rhythmbox/plugins/lirc/librblirc.so", {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0
open("/usr/lib/rhythmbox/plugins/lirc/librblirc.so", O_RDONLY) = 23
open("/usr/lib/liblirc_client.so.0", O_RDONLY) = 23
connect(23, {sa_family=AF_FILE, path="/dev/lircd"}, 110) = 0
access("/home/rickard/.gnome2/rhythmbox/plugins/rblirc/rhythmbox_lirc_default", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/rhythmbox/plugins/rblirc/rhythmbox_lirc_default", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/rhythmbox/rhythmbox_lirc_default", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/rhythmbox/glade/rhythmbox_lirc_default", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/rhythmbox/art/rhythmbox_lirc_default", F_OK) = -1 ENOENT (No such file or directory)
lstat("/usr/lib/rhythmbox/plugins/lirc/librblirc.so", {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0
access("/usr/lib/rhythmbox/plugins/lirc/librblirc.so", R_OK) = 0

it seems that the file rhythmbox_lirc_default is missing, if i download it from svn and put it in ~/.gnome2/rhythmbox/plugins/rblirc/ remote works fine.

Sebastien Bacher (seb128) wrote :

rhythmbox_lirc_default is installed under /usr/lib/rhythmbox/plugins/lirc but the code seems to look in the wrong directory

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhythmbox - 0.11.6svn20081008-0ubuntu1

---------------
rhythmbox (0.11.6svn20081008-0ubuntu1) intrepid; urgency=low

  * New upstream snapshot:
    - different crashers have been fixed in the new version
      (lp: #276801, #274770, #270196)
    - use the correct lirc configuration (lp: #276401)
  * debian/patches/06_oggradios.patch:
    - dropped upstream has similar changes now

 -- Sebastien Bacher <email address hidden> Wed, 08 Oct 2008 10:40:20 +0200

Changed in rhythmbox:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers