GNOME Bugzilla – Bug 411743
xchat_print called without valid context
Last modified: 2009-03-16 10:28:48 UTC
When I start xchat-gnome and auto connect to a channel, I get this: Sound Notification xchat_print called without a valid context. xchat_print called without a valid context. xchat_print called without a valid context. I think it's the sound plugin, and not a channel, just that it appears in the channel.
I get the same message from the notification area plugin. additionally the notification icon does not react to clicks, but prints the above message. ("xchat_print called without valid context") this happens when I start xchat-gnome with the plugin enabled. If I enable it after the start everything works fine.
*** Bug 427233 has been marked as a duplicate of this bug. ***
Ubuntu bug on https://bugs.launchpad.net/bugs/109312
I acknowledge this bug. Exact same behaviour: "Sound Notification :: xchat_command called without a valid context." See also downstream https://bugs.launchpad.net/xchat-gnome/+bug/109312
I have also the very same behaviour on fedora 7 with xchat-gnome-0.18-3.fc7.
Same here in ubuntu hardy, xchat-gnome 1:0.18-2ubuntu1
Just to join the party here -- it happens to me very regularly when clicking to the xchat-gnome icon in the notification area to have xchat-gnome collaps there.
Created attachment 121776 [details] [review] valid context patch
patch applied, still having this issue.
Ok, thanks for testing.
This patch works perfectly in my case. Are you sure that you applied it correctly?
(In reply to comment #9) > patch applied, still having this issue. > How did you test? How many networks and channels do you auto-join? For the notification plugin to work you should auto-join at least one network. Could you try the packages mentioned in: https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/109312/comments/13
Created attachment 129471 [details] [review] New version of valid context patch The patch solves both the problem with being unable to minimize to notification area and ensures that the context is set in notification, net-monitor, and sound-notification plugins.
(In reply to comment #13) > Created an attachment (id=129471) [edit] > New version of valid context patch > > The patch solves both the problem with being unable to minimize to notification > area and ensures that the context is set in notification, net-monitor, and > sound-notification plugins. > This patch works perfectly for me with xchat-gnome-0.24.1 on fedora 10. Thanks.
PPA package from Andreas Dalsgaard posted in https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/109312 works perfectly for me so far.
Committed. Thanks for the patch!