Skip to content

The Grammar fails in odd ways. #10

@mythmon

Description

@mythmon
<mythmon> hamper: learn foo bar=baz

In the logs:

Traceback (most recent call last):
  File "/app/.heroku/python/lib/python2.7/site-packages/hamper/commander.py", line 337, in runPlugins
  File "/app/.heroku/python/lib/python2.7/site-packages/hamper_factoids/factoids.py", line 119, in message
    stop = event_listener(protocol, *args)
    if super(Factoids, self).message(bot, comm):
  File "/app/.heroku/python/lib/python2.7/site-packages/hamper/interfaces.py", line 82, in message
    stop = cmd.message(bot, comm)
  File "/app/.heroku/python/lib/python2.7/site-packages/hamper/interfaces.py", line 124, in message
    self.command(bot, comm, match.groups())
  File "/app/.heroku/python/lib/python2.7/site-packages/hamper_factoids/factoids.py", line 198, in command
    .format(dict(e.error)['message'], e.trail))
ValueError: dictionary update sequence element #0 has length 3; 2 is required

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions