After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 411743 - xchat_print called without valid context
xchat_print called without valid context
Status: RESOLVED FIXED
Product: xchat-gnome
Classification: Other
Component: general
0.16
Other Linux
: Normal normal
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
: 427233 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-24 23:25 UTC by Alex
Modified: 2009-03-16 10:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
valid context patch (1.35 KB, patch)
2008-11-01 12:46 UTC, Andreas Dalsgaard
needs-work Details | Review
New version of valid context patch (6.50 KB, patch)
2009-02-25 07:30 UTC, Andreas Dalsgaard
none Details | Review

Description Alex 2007-02-24 23:25:59 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.
Comment 1 pavel 2007-03-25 11:13:04 UTC
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.
Comment 2 Gaëtan Podevijn 2007-04-07 10:45:36 UTC
*** Bug 427233 has been marked as a duplicate of this bug. ***
Comment 3 Sebastien Bacher 2007-04-24 08:45:26 UTC
Ubuntu bug on https://bugs.launchpad.net/bugs/109312
Comment 4 serge+ubuntubugbuddy 2007-07-30 10:27:21 UTC
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
Comment 5 groug 2007-10-25 15:07:50 UTC
I have also the very same behaviour on fedora 7 with xchat-gnome-0.18-3.fc7.
Comment 6 Jeremy Nickurak 2008-02-23 05:55:07 UTC
Same here in ubuntu hardy, xchat-gnome 1:0.18-2ubuntu1
Comment 7 Matěj Cepl 2008-02-26 23:31:45 UTC
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.
Comment 8 Andreas Dalsgaard 2008-11-01 12:46:34 UTC
Created attachment 121776 [details] [review]
valid context patch
Comment 9 Jeremy Nickurak 2008-12-16 18:47:02 UTC
patch applied, still having this issue.
Comment 10 Christian Persch 2008-12-16 18:55:35 UTC
Ok, thanks for testing.
Comment 11 Oxmosys 2008-12-16 21:04:09 UTC
This patch works perfectly in my case. Are you sure that you applied it correctly?
Comment 12 Andreas Dalsgaard 2009-02-12 09:02:46 UTC
(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

Comment 13 Andreas Dalsgaard 2009-02-25 07:30:12 UTC
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.
Comment 14 groug 2009-02-25 15:24:03 UTC
(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.
Comment 15 Oxmosys 2009-02-26 20:05:42 UTC
PPA package from Andreas Dalsgaard posted in https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/109312 works perfectly for me so far.
Comment 16 Christian Persch 2009-03-15 14:09:35 UTC
Committed. Thanks for the patch!