Skip to content

Exceptions are raised by ordinary messages containing 1 single-quote character #3

@joodicator

Description

@joodicator

For example:

Traceback (most recent call last):
  File "/home/tau/.local/lib/python2.7/site-packages/untwisted/dispatcher.py", line 75, in process_base
    seq = handle(self, *(args + data))
  File "/home/tau/ameliabot/ameliabot/cmd.py", line 8, in handle
    data = shlex.split(args[-1])
  File "/usr/lib/python2.7/shlex.py", line 279, in split
    return list(lex)
  File "/usr/lib/python2.7/shlex.py", line 269, in next
    token = self.get_token()
  File "/usr/lib/python2.7/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.7/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation
:tau!~vy@189.84.245.77 PRIVMSG #vy :hafydd okay, i'll consider that.

This can cause a large number of exceptions to be printed to stderr, obscuring other more important messages from being noticed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions