← Back to team overview

ubuntu-bots team mailing list archive

[Bug 993016] [NEW] [stormyfacts] exceptions when using requests

 

Public bug reported:

m4v !test: esto es una prueba --r                                               
kubot Tu pedido fue puesto en cola para su revisión, ¡gracias! - ID del pedido 2
m4v !request reject 1                                                           
kubot Pedido 1 tiene el estado 'aprobado'.                                      
m4v !request reject 2                                                           
kubot Pedido 2 rechazado.                                                       
kubot _ERr0ᴚ_._                                                                 

INFO 2012-05-02T04:13:43 Stormyfacts: createFact(test) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
ERROR 2012-05-02T04:13:44 Uncaught exception in inFilter:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/supybot/irclib.py", line 815, in feedMsg
    m = callback.inFilter(self, msg)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1032, in inFilter
    rt = getattr(self, cmd)(irc, msg, channelStore)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1823, in createFact
    self._createFact(*args, **kwargs)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 785, in editingCommand
    % (requestId, request.command), fact, store)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 451, in notify
    if verbose and channel in verbose_channels and not fact.isalias:
AttributeError: 'unicode' object has no attribute 'isalias'
ERROR 2012-05-02T04:13:44 Exception id: 0xbf6f0
INFO 2012-05-02T04:13:53 Stormyfacts: getFact(request) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
INFO 2012-05-02T04:13:54 Stormyfacts: request reject called by "m4v!~znc@unaffiliated/m4v".
INFO 2012-05-02T04:13:57 Stormyfacts: getFact(request) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
INFO 2012-05-02T04:13:57 Stormyfacts: request reject called by "m4v!~znc@unaffiliated/m4v".
ERROR 2012-05-02T04:13:57 Stormyfacts: Uncaught exception in ['request', 'reject'].
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/supybot/callbacks.py", line 1180, in _callCommand
    self.callCommand(command, irc, msg, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/supybot/utils/python.py", line 86, in g
    f(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/supybot/callbacks.py", line 1166, in callCommand
    method(irc, msg, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/supybot/commands.py", line 913, in newf
    f(self, irc, msg, args, *state.args, **state.kwargs)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 811, in command
    return f(self, irc, msg, store, *args)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1714, in reject
    % (msg.nick, idname), fields['name'], store)
  File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 451, in notify
    if verbose and channel in verbose_channels and not fact.isalias:
AttributeError: 'unicode' object has no attribute 'isalias'
ERROR 2012-05-02T04:13:57 Exception id: 0x101d5

** Affects: ubuntu-bots
     Importance: Medium
         Status: Triaged


** Tags: stormyfacts

-- 
You received this bug notification because you are a member of Ubuntu
IRC Bots, which is subscribed to Ubuntu IRC Bots.
https://bugs.launchpad.net/bugs/993016

Title:
  [stormyfacts] exceptions when using requests

Status in The official Ubuntu IRC bots:
  Triaged

Bug description:
  m4v !test: esto es una prueba --r                                               
  kubot Tu pedido fue puesto en cola para su revisión, ¡gracias! - ID del pedido 2
  m4v !request reject 1                                                           
  kubot Pedido 1 tiene el estado 'aprobado'.                                      
  m4v !request reject 2                                                           
  kubot Pedido 2 rechazado.                                                       
  kubot _ERr0ᴚ_._                                                                 

  INFO 2012-05-02T04:13:43 Stormyfacts: createFact(test) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
  ERROR 2012-05-02T04:13:44 Uncaught exception in inFilter:
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/supybot/irclib.py", line 815, in feedMsg
      m = callback.inFilter(self, msg)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1032, in inFilter
      rt = getattr(self, cmd)(irc, msg, channelStore)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1823, in createFact
      self._createFact(*args, **kwargs)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 785, in editingCommand
      % (requestId, request.command), fact, store)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 451, in notify
      if verbose and channel in verbose_channels and not fact.isalias:
  AttributeError: 'unicode' object has no attribute 'isalias'
  ERROR 2012-05-02T04:13:44 Exception id: 0xbf6f0
  INFO 2012-05-02T04:13:53 Stormyfacts: getFact(request) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
  INFO 2012-05-02T04:13:54 Stormyfacts: request reject called by "m4v!~znc@unaffiliated/m4v".
  INFO 2012-05-02T04:13:57 Stormyfacts: getFact(request) called by 'm4v!~znc@unaffiliated/m4v' at #ubuntu-es-ops
  INFO 2012-05-02T04:13:57 Stormyfacts: request reject called by "m4v!~znc@unaffiliated/m4v".
  ERROR 2012-05-02T04:13:57 Stormyfacts: Uncaught exception in ['request', 'reject'].
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/supybot/callbacks.py", line 1180, in _callCommand
      self.callCommand(command, irc, msg, *args, **kwargs)
    File "/usr/lib/pymodules/python2.6/supybot/utils/python.py", line 86, in g
      f(self, *args, **kwargs)
    File "/usr/lib/pymodules/python2.6/supybot/callbacks.py", line 1166, in callCommand
      method(irc, msg, *args, **kwargs)
    File "/usr/lib/pymodules/python2.6/supybot/commands.py", line 913, in newf
      f(self, irc, msg, args, *state.args, **state.kwargs)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 811, in command
      return f(self, irc, msg, store, *args)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 1714, in reject
      % (msg.nick, idname), fields['name'], store)
    File "/home/m4v/kubot/plugins/Stormyfacts/plugin.py", line 451, in notify
      if verbose and channel in verbose_channels and not fact.isalias:
  AttributeError: 'unicode' object has no attribute 'isalias'
  ERROR 2012-05-02T04:13:57 Exception id: 0x101d5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-bots/+bug/993016/+subscriptions


Follow ups

References