Package: irssi
Version: 0.8.10-2
Severity: normal

This is a weird semi-reproducible bug, and I don't have a reproduction
recipe. Sorry. :-(

Sometimes irssi gets confused and forgets how to autocreate windows.
Today this happened to me for the second time (the first time I gave up
and restarted irssi). I was attempting to '/join -window' a channel
after reconnecting to a server following a prolonged network outage.
Just before I hit enter, a reconnection to a different server happened
to fire and the selected network changed on me (I don't know if this is
relevant). In the status window I saw:

  10:18 -!- Irssi: critical window_item_add: assertion `item->window == NULL' 
failed

Now, all attempts to /join (without -window) just dump the channel into
the current window. This is particularly annoying when autorejoin dumps
everything into window 1, as was the case the last time this happened to
me. I can still create new hidden windows by hand using '/window create
hidden'.

Is there any way I can unconfuse irssi without restarting it?

My ~/.irssi/config follows; I've edited out the 'ignores' setting to
protect the guilty, and obviously also removed passwords. I have the
'ignore_log', 'topic-diff', and 'trackbar' scripts from irssi-scripts in
~/.irssi/scripts/autorun/.

settings = {
  core = {
    real_name = "Colin Watson";
    user_name = "cjwatson";
    nick = "cjwatson";
    server_connect_timeout = "8min";
    use_ssl = "yes";
  };
  "irc/core" = { alternate_nick = "cjwatson_"; };
  "fe-text" = {
    scrollback_lines = "8192";
    scrollback_time = "72h";
    paste_join_multiline = "no";
  };
  "fe-common/core" = {
    timestamps = "yes";
    activity_hide_level = "JOINS PARTS QUITS MODES NICKS";
    autocreate_windows = "yes";
    autolog_path = "~/.irssi/logs/$tag/$0/%Y-%m-%d.log";
    autolog = "yes";
    show_nickmode_empty = "no";
    term_charset = "utf-8";
  };
  "perl/core/scripts" = { trackbar_style = "%r"; };
};
chatnets = {
  Freenode = {
    type = "IRC";
    nick = "cjwatson";
    autosendcmd = "/quote ns identify <password removed>";
  };
  OFTC = {
    type = "IRC";
    nick = "cjwatson";
    autosendcmd = "/quote ns identify <password removed>";
  };
  Espernet = {
    type = "IRC";
    nick = "Kamion";
    autosendcmd = "/msg nickserv identify <password removed>";
  };
  chiark = { type = "IRC"; nick = "col"; };
  Canonical = { type = "IRC"; nick = "cjwatson"; };
  GNOME = { type = "IRC"; };
};
servers = (
  { 
    address = "chat.freenode.net";
    chatnet = "Freenode";
    port = "6667";
  },
  { address = "irc.esper.net"; chatnet = "Espernet"; port = "6667"; },
  {
    address = "irc.chiark-tunnel.greenend.org.uk";
    chatnet = "chiark";
    port = "6667";
  },
  { address = "chat.oftc.net"; chatnet = "OFTC"; port = "6667"; },
  {
    address = "irc.canonical.com";
    chatnet = "Canonical";
    port = "<port removed>";
    password = "<password removed>";
    use_ssl = "yes";
    ssl_verify = "no";
  },
  { address = "irc.gnome.org"; chatnet = "GNOME"; port = "6667"; }
);
logs = {
  "~/.irssi/logs/oftc/debian-release.log" = {
    level = "ALL";
    items = ( { type = "window"; name = "8"; server = "OFTC"; } );
  };
  "d-i-meeting.20050618" = {
    level = "ALL";
    items = ( { type = "target"; name = "#debian-boot"; } );
  };
};
aliases = {
  wc = "window close";
  ns = "quote ns";
  wg = "window goto";
  restorenick = "quote ns ghost cjwatson <password removed>; wait 2000; nick 
cjwatson; quote ns identify <password removed>";
};
channels = (
  {
    name = "#chiark";
    chatnet = "chiark";
    autosendcmd = "msg Blight identpass cjwatson <password removed>";
  }
);

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to