bugWeeChat - Bugs: bug #32703, Error with Numeric Color Code

 
 

bug #32703: Error with Numeric Color Code

Submitter:  hunter <hw2>
Submitted:  Tue 08 Mar 2011 12:05:52 AM UTC
   
 
Category:  display Severity:  3 - Normal
Item Group:  display Status:  Invalid
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.4 IRC nick:  hw2
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Mar 2011 10:21:29 PM UTC, comment #1: 

this isn't a bug in weechat. it was a bug in script.

task can be closed.

Nils G <nils_2>
Group Member
Tue 08 Mar 2011 12:05:52 AM UTC, original submission:  

This displays itself as an error when running colorize_lines.py.  I had the good fortune of tracking down the conflict with nils and he deduced that it is related to how WeeChat is handling numeric color codes.

If irc.look.nick_prefix is an empty string ("") or contains characters and irc.color.nick_prefix.[halfop/op/user/voice] are set to a numeric color -- in the example picture it is 238, then there is some error resulting in a nick prefix.  In the case of the attached image (colorize.png), you get something which looks like:

1414 @sopere: blah blah
1439 @00238@sopere: test

Further, changing the irc.look.nick_prefix to " " results in no additional prefix, but the user level inherits the nick & line color and ignores irc.color.nick_prefix* (see colorize2.png)

If the irc.color.nick_prefix* settings are set to a text value (eg: lightgreen) everything behaves as expected, the user level is the proper color, and the nick & line share a nick color.

Apologies for the verbosity, I'm not nearly technical enough to describe it succinctly.


hunter <hw2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22850:  colorize.png added by hw2 (3KiB - image/png)
file #22851:  colorize2.png added by hw2 (14KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by nils_2 (Posted a comment)
  • -email is unavailable- added by hw2 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-10 flashcode CategoryNone display
        StatusNone Invalid
        Assigned toNone flashcode
        Open/ClosedOpen Closed
    2011-03-08 hw2 Attached File- Added colorize2.png, #22851
    2011-03-08 hw2 Attached File- Added colorize.png, #22850

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code