dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.6
BlindSight has quit [Changing host]
BlindSight has joined #cinch
greenbigfrog has quit [Ping timeout: 250 seconds]
v0n has quit [Ping timeout: 250 seconds]
Elysia has quit [Ping timeout: 250 seconds]
greenbig- has joined #cinch
Elysia has joined #cinch
v0n has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
head8debian has quit [Ping timeout: 264 seconds]
head8debian has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
head8debian has quit [Ping timeout: 240 seconds]
head8debian has joined #cinch
Rickmasta has joined #cinch
postmodern has quit [Quit: Leaving]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeSizlak has joined #cinch
<moeSizlak> found what i think must be a bug. when cinch splits long lines of output into multiple line
<dominikh> go on.
<moeSizlak> its very weird because the output is a multicolor line of text that includes a url such as something like this
<moeSizlak> American Dad | Next Ep: N/A | Last Ep: 11x15 - Seizures Suit Stanny (01/Jun/2015) | Status: Running | Airs: Monday 09:00 PM (UTC-0400) | Network: tbs | Genre: Comedy | URL: http://www.tvmaze.com/shows/215/american-dad
<moeSizlak> when the output is too long and gets split into multiple lines, the 'z' in the tvmaze.com gets changed into a blank space
<moeSizlak> no matter how long the output is, it's always the 'z'
<moeSizlak> so weird
<moeSizlak> i also logged the output and in the log the output is correct
<dominikh> the automatic splitting will not work correctly with colors/formatting codes
<moeSizlak> seems like it could be easy enough to make it work
<dominikh> in the best case scenario, the second half of the message will simply not have the correct colors applied. in the worst case scenario, we'll split in the middle of a color sequence and break parts of the message
<moeSizlak> that i could understand
<dominikh> (also, this channel strips colors, so I have no idea what your message looks like)
<dominikh> it'd be best if you showed me an actual ruby string of the message you're sending, as well as the log output
<moeSizlak> if it was just the colors dont work. but its the 'z'
<moeSizlak> *if it was just the colors thatd be fine
<moeSizlak> ok let me get you an example
<moeSizlak> here's text without color:
<moeSizlak> <twatbot> Miles From Tomorrowland | Next Ep: 1x07 - Escape from Ghost Island; the Island of Doctor Undergear (10/Oct/2015) | Last Ep: 1x06 - Unexpected Ally; Skyrise (26/Sep/2015) | Status: Running | Airs: Saturday 08:30 AM (UTC-0400) | Network: Disney Channel | Genre: Comedy, Action, Adventure, Children | URL: http://www.tvma e.com/shows/3917/miles-from-tomorrowland | ...
<moeSizlak> <twatbot> ... Countdown: 11 days 22h 11m 8s
<moeSizlak> notice the missing 'z' in the url
<moeSizlak> in the log the z is there
<dominikh> really, I'm not interested in what your IRC client displays. I want the ruby string, and the log output (assuming it's the default formatted logger)
<moeSizlak> ok
Zarthus has quit [Quit: ZNC 1.7.x-git-196-5faaf67 - http://znc.in]
Elysia has quit [Quit: WeeChat 1.4-dev]
<moeSizlak> heres log output
<moeSizlak> [2015/09/28 15:22:36.741] II \x0304Miles From Tomorrowland\x0F | \x0F\x0303Next Ep\x0F:\x0307 1x07 - Escape from Ghost Island; the Island of Doctor Undergear (10/Oct/2015)\x0F | \x0F\x0303Last Ep\x0F:\x0307 1x06 - Unexpected Ally; Skyrise (26/Sep/2015)\x0F | \x0F\x0303Status\x0F:\x0307 Running\x0F | \x0F\x0303Airs\x0F:\x0307 Saturday 08:30 AM (UTC-0400)\x0F | \x0F\x0303Network\x0F:\x0307 Disney Channel\x0F | \x0F\x0303Genre\x0F:\x0307 Comedy,
<moeSizlak> Action, Adventure, Children\x0F | \x0F\x0303URL\x0F:\x0307 http://www.tvmaze.com/shows/3917/miles-from-tomorrowland\x0F | \x0F\x0303Countdown\x0F:\x0307 11 days 22h 7m 23s\x0F
Zarthus has joined #cinch
<moeSizlak> that basically is the ruby string as well
<moeSizlak> thing to note is the 'z' in the url. no matter how long the message is, if it gets split into 2 lines, it is always the 'z' that disappears
<catepillar> well, you keep saying it's the "z" that disappears
<catepillar> but it's hte character that the split is occurring on
<dominikh> a) please use a pastebin b) please show all relevant parts of the log. all I'm seeing is an info message, not the actual IRC messages it's sending, so I take it all you showed me is you printing the ruby string.
Elysia has joined #cinch
<moeSizlak> yes its a info mymessage.to_s
Elysia has quit [Client Quit]
<moeSizlak> im a ruby noob btw
<moeSizlak> not sure what else would be relevant. and no, the split is NOT occuring at the 'z' which is the weird part
<dominikh> what else would be relevant? the actual outgoing messages
Elysia has joined #cinch
<dominikh> just show me the log.
<moeSizlak> actual outgoing message isnt logged, how do i make it be logged?
<dominikh> they are logged by default.
<moeSizlak> oh i had set loglevel to info. here you go
<dominikh> I'll brb, need to work on something else first
<dominikh> can you do `info mymessage.inspect` instead, please? thanks
Rickmasta has joined #cinch
<dominikh> ah jesus
<dominikh> yeah, I'll have a fix ready soon
<moeSizlak> lol, ty sir
<moeSizlak> what was it?
<dominikh> will tell you when it's fixed
* leftylink looks at split_message
<leftylink> interesting
<dominikh> (the bug is that "\z" is not in fact a valid escape sequence, and thus we're replacing actual z's…)
<moeSizlak> hehe
<catepillar> it makes me feel good that this was added in March
<catepillar> and hasn't been an issue forever
<dominikh> makes me feel bad :P
<catepillar> after reading the pull request, and the issue that came with it... i can't blame you for that
<catepillar> i would have taken that at face value
<dominikh> I shouldn't have :)
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.7
<dominikh> moeSizlak: update to 2.2.7
<moeSizlak> that is what i call prompt service
<moeSizlak> ty gentlemen
Rickmasta has quit [Ping timeout: 246 seconds]
Rickmasta has joined #cinch
Rickmasta has quit [Ping timeout: 240 seconds]
Rickmasta has joined #cinch
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
kith_ has joined #cinch
kith has quit [Ping timeout: 246 seconds]
_djbkd has joined #cinch
postmodern has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
apt-get has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
ConcernedHobbit has quit [*.net *.split]
ConcernedHobbit has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snapcase has quit [Ping timeout: 246 seconds]
snapcase has joined #cinch
apt-get has quit [Read error: Connection reset by peer]
apt-get has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
Rickmasta has joined #cinch
_djbkd has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Remote host closed the connection]
Rickmasta has joined #cinch
_djbkd has joined #cinch
apt-get has quit [Remote host closed the connection]
Paradox has quit [Ping timeout: 252 seconds]
Paradox has joined #cinch
Zackio has quit [Read error: Connection reset by peer]
Zackio has joined #cinch
Azure has quit [Quit: Oops.]
Azure has joined #cinch
Azure has quit [Excess Flood]
Azure has joined #cinch