issue 1
("url" configuration element does not validate that it must e...) changed by avatraxiom
- Ahh, the problem is that supybot.plugins.Bugzilla.bugzillas.xarbugs.url needs to end
in a forward-slash.
Summary: "url" configuration element does not validate that it must end with a slash
Owner: avatraxiom
Ahh, the problem is that supybot.plugins.Bugzilla.bugzillas.xarbugs.url needs to end
in a forward-slash.
Summary: "url" configuration element does not validate that it must end with a slash
Owner: avatraxiom
Dec 03, 2009
HowToInstall
(Installation tutorial.) Wiki page added by jdahlin
- Revision r2
Created wiki page through web user interface.
Revision r2
Created wiki page through web user interface.
Dec 03, 2009
issue 1
(Cannot interact with bugzilla install) commented on by avatraxiom
- Well, it says "Unknown host" so I'd have to guess that the server that supybot is on
is having trouble resolving bugs.xaraya.com?
Well, it says "Unknown host" so I'd have to guess that the server that supybot is on
is having trouble resolving bugs.xaraya.com?
Earlier this year
Sep 04, 2009
issue 1
(Cannot interact with bugzilla install) reported by marty.vance
- What steps will reproduce the problem?
1. say bug XXXX
2.
3.
What is the expected output? What do you see instead?
Expected: bug info. Instead, bot replies with supybot.replies.error, and
this snippet is in the log:
INFO 2009-09-04T10:44:10 supybot bug called by
"Dracos!~dracos@netadmin.xaraya.com".
ERROR 2009-09-04T10:44:10 supybot Uncaught exception in ['bug'].
Traceback (most recent call last):
File "//usr/lib/python2.5/site-packages/supybot/callbacks.py", line 1180,
in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/utils/python.py", line
86, in g
f(self, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/callbacks.py", line 1166,
in callCommand
method(irc, msg, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/commands.py", line 913,
in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
743, in bug
bug_strings = installation.getBugs(bug_ids, channel)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
338, in getBugs
bugs = self._getBugXml(ids)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
654, in _getBugXml
bugxml = utils.web.getUrl(queryurl)
File "//usr/lib/python2.5/site-packages/supybot/utils/web.py", line 122,
in getUrl
fd = getUrlFd(url, headers=headers)
File "//usr/lib/python2.5/site-packages/supybot/utils/web.py", line 115,
in getUrlFd
raise Error, strError(e.reason)
Error: Unknown host.
ERROR 2009-09-04T10:44:10 supybot Exception id: 0xdab20
What version of the product are you using? On what operating system?
Latest bzr, on Gentoo Linux.
Please provide any additional information below.
Bugzilla config:
###
# Determines whether this plugin is loaded by default.
###
supybot.plugins.Bugzilla: True
###
# Determines whether this plugin is publicly visible.
#
# Default value: True
###
supybot.plugins.Bugzilla.public: True
###
# Determines whether the bug snarfer will be enabled, such that any
# Bugzilla URLs and bug ### seen in the channel will have their
# information reported into the channel.
#
# Default value: False
###
supybot.plugins.Bugzilla.bugSnarfer: True
###
# Users often say "bug XXX" several times in a row, in a channel. If
# "bug XXX" has been said in the last (this many) seconds, don't fetch
# its data again. If you change the value of this variable, you must
# reload this plugin for the change to take effect.
#
# Default value: 300
###
supybot.plugins.Bugzilla.bugSnarferTimeout: 300
###
# The fields to list when describing a bug, after the URL.
#
# Default value: bug_severity priority target_milestone assigned_to
bug_status short_desc
###
supybot.plugins.Bugzilla.bugFormat: bug_severity priority target_milestone
assigned_to bug_status short_desc
###
# The fields to list when describing an attachment after announcing a
# change to that attachment.
#
# Default value: type desc filename
###
supybot.plugins.Bugzilla.attachFormat: type desc filename
###
# How various messages should be formatted in terms of bold, colors,
# etc.
###
###
# When the plugin reports that something has changed on a bug, how
# should that string be formatted?
#
# Default value: teal
###
supybot.plugins.Bugzilla.format.change:
###
# When the plugin reports the details of an attachment, how should we
# format that string?
#
# Default value: green
###
supybot.plugins.Bugzilla.format.attachment:
###
# When the plugin reports the details of a bug, how should we format
# that string?
#
# Default value: red
###
supybot.plugins.Bugzilla.format.bug:
###
# The number of results to show when using the "query" command.
#
# Default value: 5
###
supybot.plugins.Bugzilla.queryResultLimit: 5
###
# A path to the mbox that we should be watching for bugmail.
#
# Default value:
###
supybot.plugins.Bugzilla.mbox:
###
# How many seconds should we wait between polling the mbox?
#
# Default value: 10
###
supybot.plugins.Bugzilla.mboxPollTimeout: 30
###
# Various messages that can be re-formatted as you wish. If a message
# takes a format string, the available format variables are: product,
# component, bug_id, attach_id, and changer)
###
###
# What the bot will say when somebody adds a new attachment to a bug.
#
# Default value: %(changer)s added attachment %(attach_id)d to bug %(bug_id)d
###
supybot.plugins.Bugzilla.messages.newAttachment: %(changer)s added
attachment %(attach_id)d to bug %(bug_id)d
###
# What the bot will say when a new bug is filed.
#
# Default value: New %(product)s bug %(bug_id)d filed by %(changer)s.
###
supybot.plugins.Bugzilla.messages.newBug: New %(product)s bug %(bug_id)d
filed by %(changer)s.
###
# How should we describe it when somebody requests a flag without
# specifying a requestee? This should probably start with "from." It can
# also be entirely empty, if you want.
#
# Default value: from the wind
###
supybot.plugins.Bugzilla.messages.noRequestee: from the wind
###
# The various Bugzilla installations that have been created with the
# 'add' command.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas: xarbugs
###
# Determines the URL to this Bugzilla installation. This must be
# identical to the urlbase (or sslbase) parameter used by the
# installation. (The url that shows up in emails.) It must end with a
# forward slash.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.url: http://bugs.xaraya.com
###
# Additional search terms in QuickSearch format, that will be added to
# every search done with "query" against this installation.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.queryTerms:
###
# Should *all* changes be reported to this channel?
#
# Default value: False
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.all: False
###
# Whose changes should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.changer:
###
# What components should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.component:
###
# What products should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.product:
###
# The names of fields, as they appear in bugmail, that should be
# reported to this channel.
#
# Default value: newBug, newAttach, Flag, Attachment Flag, Resolution,
Product, Component
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.reportedChanges: newBug,
newAttach, Flag, Attachment Flag, Resolution, Product, Component
###
# Some Bugzilla installations have gdb stack traces in comments. If you
# turn this on, the bot will report some basic details of any trace that
# shows up in the comments of a new bug.
#
# Default value: False
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.report: False
###
# Some functions are useless to report, from a stack trace. This
# contains a list of function names to skip over when reporting traces
# to the channel.
#
# Default value: __kernel_vsyscall raise abort ??
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.ignoreFunctions:
__kernel_vsyscall raise abort ??
###
# How many stack frames should be reported from the crash?
#
# Default value: 5
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.frameLimit: 5
###
# If commands don't specify what installation to use, then which
# installation should we use?
#
# Default value:
###
supybot.plugins.Bugzilla.defaultBugzilla: xarbugs
What steps will reproduce the problem?
1. say bug XXXX
2.
3.
What is the expected output? What do you see instead?
Expected: bug info. Instead, bot replies with supybot.replies.error, and
this snippet is in the log:
INFO 2009-09-04T10:44:10 supybot bug called by
"Dracos!~dracos@netadmin.xaraya.com".
ERROR 2009-09-04T10:44:10 supybot Uncaught exception in ['bug'].
Traceback (most recent call last):
File "//usr/lib/python2.5/site-packages/supybot/callbacks.py", line 1180,
in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/utils/python.py", line
86, in g
f(self, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/callbacks.py", line 1166,
in callCommand
method(irc, msg, *args, **kwargs)
File "//usr/lib/python2.5/site-packages/supybot/commands.py", line 913,
in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
743, in bug
bug_strings = installation.getBugs(bug_ids, channel)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
338, in getBugs
bugs = self._getBugXml(ids)
File
"/usr/lib/python2.5/site-packages/supybot/plugins/Bugzilla/plugin.py", line
654, in _getBugXml
bugxml = utils.web.getUrl(queryurl)
File "//usr/lib/python2.5/site-packages/supybot/utils/web.py", line 122,
in getUrl
fd = getUrlFd(url, headers=headers)
File "//usr/lib/python2.5/site-packages/supybot/utils/web.py", line 115,
in getUrlFd
raise Error, strError(e.reason)
Error: Unknown host.
ERROR 2009-09-04T10:44:10 supybot Exception id: 0xdab20
What version of the product are you using? On what operating system?
Latest bzr, on Gentoo Linux.
Please provide any additional information below.
Bugzilla config:
###
# Determines whether this plugin is loaded by default.
###
supybot.plugins.Bugzilla: True
###
# Determines whether this plugin is publicly visible.
#
# Default value: True
###
supybot.plugins.Bugzilla.public: True
###
# Determines whether the bug snarfer will be enabled, such that any
# Bugzilla URLs and bug ### seen in the channel will have their
# information reported into the channel.
#
# Default value: False
###
supybot.plugins.Bugzilla.bugSnarfer: True
###
# Users often say "bug XXX" several times in a row, in a channel. If
# "bug XXX" has been said in the last (this many) seconds, don't fetch
# its data again. If you change the value of this variable, you must
# reload this plugin for the change to take effect.
#
# Default value: 300
###
supybot.plugins.Bugzilla.bugSnarferTimeout: 300
###
# The fields to list when describing a bug, after the URL.
#
# Default value: bug_severity priority target_milestone assigned_to
bug_status short_desc
###
supybot.plugins.Bugzilla.bugFormat: bug_severity priority target_milestone
assigned_to bug_status short_desc
###
# The fields to list when describing an attachment after announcing a
# change to that attachment.
#
# Default value: type desc filename
###
supybot.plugins.Bugzilla.attachFormat: type desc filename
###
# How various messages should be formatted in terms of bold, colors,
# etc.
###
###
# When the plugin reports that something has changed on a bug, how
# should that string be formatted?
#
# Default value: teal
###
supybot.plugins.Bugzilla.format.change:
###
# When the plugin reports the details of an attachment, how should we
# format that string?
#
# Default value: green
###
supybot.plugins.Bugzilla.format.attachment:
###
# When the plugin reports the details of a bug, how should we format
# that string?
#
# Default value: red
###
supybot.plugins.Bugzilla.format.bug:
###
# The number of results to show when using the "query" command.
#
# Default value: 5
###
supybot.plugins.Bugzilla.queryResultLimit: 5
###
# A path to the mbox that we should be watching for bugmail.
#
# Default value:
###
supybot.plugins.Bugzilla.mbox:
###
# How many seconds should we wait between polling the mbox?
#
# Default value: 10
###
supybot.plugins.Bugzilla.mboxPollTimeout: 30
###
# Various messages that can be re-formatted as you wish. If a message
# takes a format string, the available format variables are: product,
# component, bug_id, attach_id, and changer)
###
###
# What the bot will say when somebody adds a new attachment to a bug.
#
# Default value: %(changer)s added attachment %(attach_id)d to bug %(bug_id)d
###
supybot.plugins.Bugzilla.messages.newAttachment: %(changer)s added
attachment %(attach_id)d to bug %(bug_id)d
###
# What the bot will say when a new bug is filed.
#
# Default value: New %(product)s bug %(bug_id)d filed by %(changer)s.
###
supybot.plugins.Bugzilla.messages.newBug: New %(product)s bug %(bug_id)d
filed by %(changer)s.
###
# How should we describe it when somebody requests a flag without
# specifying a requestee? This should probably start with "from." It can
# also be entirely empty, if you want.
#
# Default value: from the wind
###
supybot.plugins.Bugzilla.messages.noRequestee: from the wind
###
# The various Bugzilla installations that have been created with the
# 'add' command.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas: xarbugs
###
# Determines the URL to this Bugzilla installation. This must be
# identical to the urlbase (or sslbase) parameter used by the
# installation. (The url that shows up in emails.) It must end with a
# forward slash.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.url: http://bugs.xaraya.com
###
# Additional search terms in QuickSearch format, that will be added to
# every search done with "query" against this installation.
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.queryTerms:
###
# Should *all* changes be reported to this channel?
#
# Default value: False
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.all: False
###
# Whose changes should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.changer:
###
# What components should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.component:
###
# What products should be reported to this channel?
#
# Default value:
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.watchedItems.product:
###
# The names of fields, as they appear in bugmail, that should be
# reported to this channel.
#
# Default value: newBug, newAttach, Flag, Attachment Flag, Resolution,
Product, Component
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.reportedChanges: newBug,
newAttach, Flag, Attachment Flag, Resolution, Product, Component
###
# Some Bugzilla installations have gdb stack traces in comments. If you
# turn this on, the bot will report some basic details of any trace that
# shows up in the comments of a new bug.
#
# Default value: False
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.report: False
###
# Some functions are useless to report, from a stack trace. This
# contains a list of function names to skip over when reporting traces
# to the channel.
#
# Default value: __kernel_vsyscall raise abort ??
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.ignoreFunctions:
__kernel_vsyscall raise abort ??
###
# How many stack frames should be reported from the crash?
#
# Default value: 5
###
supybot.plugins.Bugzilla.bugzillas.xarbugs.traces.frameLimit: 5
###
# If commands don't specify what installation to use, then which
# installation should we use?
#
# Default value:
###
supybot.plugins.Bugzilla.defaultBugzilla: xarbugs