Ticket #411 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Irc cannot pass status from bot, error: Data must not be unicode

Reported by: dfarning Owned by:
Priority: major Milestone: 0.7.10
Version: 0.7.9 Keywords: IRC
Cc:

Description

IRC: irc.freenode.net #sugar

Botserver buildbot.sugarlabs.org:8080

I am unable to request the status or information about builder via the IRC interface.

buildbot: dance - works fine so i am connecting correctly

buildbot: status - fails with

2009-01-02 02:30:50+0000 [IrcStatusBot?,client] irc command status 2009-01-02 02:30:50+0000 [IrcStatusBot?,client] Unhandled Error

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 1484, in lineReceived

self.handleCommand(command, prefix, params)

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 1496, in handleCommand

method(prefix, params)

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 1041, in irc_PRIVMSG

self.privmsg(user, channel, message)

File "/usr/lib/python2.5/site-packages/buildbot/status/words.py", line 715, in privmsg

contact.handleMessage(message, user)

--- <exception caught here> ---

File "/usr/lib/python2.5/site-packages/buildbot/status/words.py", line 627, in handleMessage

meth(args.strip(), who)

File "/usr/lib/python2.5/site-packages/buildbot/status/words.py", line 165, in command_STATUS

self.emit_status(b.name)

File "/usr/lib/python2.5/site-packages/buildbot/status/words.py", line 473, in emit_status

self.send(str)

File "/usr/lib/python2.5/site-packages/buildbot/status/words.py", line 583, in send

self.channel.msg(self.dest, message)

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 877, in msg

self.sendLine(fmt % (message,))

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 570, in sendLine

self._reallySendLine(line)

File "/usr/lib/python2.5/site-packages/twisted/words/protocols/irc.py", line 566, in _reallySendLine

return basic.LineReceiver?.sendLine(self, lowQuote(line) + '

')

File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 276, in sendLine

return self.transport.write(line + self.delimiter)

File "/usr/lib/python2.5/site-packages/twisted/internet/abstract.py", line 170, in write

raise TypeError?("Data must not be unicode")

exceptions.TypeError?: Data must not be unicode

Server is running Ubuntu 8.10 Client is XChat 2.8.6 on Ubuntu 8.10

Thanks david

Change History

comment:1 Changed 4 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed

fixed - thanks

comment:2 Changed 4 years ago by dustin

  • Milestone changed from undecided to 0.7.10
Note: See TracTickets for help on using tickets.