All pastes #838744 Raw Edit

Stuff

public text v1 · immutable
#838744 ·published 2007-12-30 16:42 UTC
rendered paste body
robot101@thubuntu:~/twisted-managesieve$ python client.py auth list
default*
robot101@thubuntu:~/twisted-managesieve$ python client.py auth get default
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 48, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 125, in doRead
    return Connection.doRead(self)
  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 232, in dataReceived
    why = self.lineReceived(line)
  File "/home/robot101/twisted-managesieve/managesieve.py", line 120, in lineReceived
    items = self._parseLine(line)
  File "/home/robot101/twisted-managesieve/managesieve.py", line 110, in _parseLine
    assert False, (items, line)
exceptions.AssertionError: (['require', 'fileinto', ';\n\nif', 'header', ':is', 'X-DSPAM-Result', 'Spam', '{\n'], ' fileinto "Spam";\n} elsif header :contains "List-Id" "chavo.projects.maemo.org" {\n  fileinto "Chavo";\n} elsif address :is "from" "bugzilla-daemon@projects.maemo.org" {\n  fileinto "Chavo.Bugzilla";\n} elsif header :contains "List-Id" "chavo-commits.projects.maemo.org" {\n  fileinto "Chavo.Commits";\n} elsif header :contains "List-Id" "chavo-integration.projects.maemo.org" {\n  fileinto "Chavo.Integration";\n} elsif header :contains "List-Id" "chavo-releases.projects.maemo.org" {\n  fileinto "Chavo.Releases";\n} elsif header :contains "List-Id" "chavo-tickets.projects.maemo.org" {\n  fileinto "Chavo.Tickets";\n} elsif header :contains "List-Id" "decibel.kde.org" {\n  fileinto "Decibel";\n} elsif address :contains "from" "fedoraproject.org" {\n  fileinto "Fedora";\n} elsif address :is "from" "bugzilla-daemon@annarchy.freedesktop.org" {\n  fileinto "Freedesktop.Bugzilla";\n} elsif header :contains "List-Id" "dbus.lists.freedesktop.org" {\n  fileinto "Freedesktop.D-Bus";\n} elsif header :contains "List-Id" "gnome-embedded.gnome.org" {\n  fileinto "GNOME.Embedded";\n} elsif header :contains "List-Id" "foundation-announce.gnome.org" {\n  fileinto "GNOME.Foundation";\n} elsif header :contains "List-Id" "gossip-dev.lists.imendio.com" {\n  fileinto "GNOME.Gossip";\n} elsif header :contains "List-Id" "loudmouth.lists.imendio.com" {\n  fileinto "GNOME.Loudmouth";\n} elsif header :contains "List-Id" "mobile-devel-list.gnome.org" {\n  fileinto "GNOME.Mobile";\n} elsif header :contains "List-Id" "gnome-soc-list.gnome.org" {\n  fileinto "GNOME.SoC";\n} elsif header :contains "List-Id" "soc-mentors-list.gnome.org" {\n  fileinto "GNOME.SoC Mentors";\n} elsif header :contains "List-Id" "jdev.jabber.org" {\n  fileinto "Jabber.Devel";\n} elsif header :contains "List-Id" "ejabberd.jabber.ru" {\n  fileinto "Jabber.Ejabberd";\n} elsif header :contains "List-Id" "members.xmpp.org" {\n  fileinto "Jabber.Members";\n} elsif header :contains "List-Id" "standards.xmpp.org" {\n  fileinto "Jabber.Standards";\n} elsif address :is "from" "logcheck@dhansak.collabora.co.uk" {\n  fileinto "Logcheck";\n} elsif header :contains "List-Id" "devel.lists.laptop.org" {\n  fileinto "OLPC.Devel";\n} elsif header :contains "List-Id" "sugar.lists.laptop.org" {\n  fileinto "OLPC.Sugar";\n} elsif address :is "from" "bugtracker@laptop.org" {\n  fileinto "OLPC.Trac";\n} elsif header :contains "List-Id" "announce.lists.openmoko.org" {\n  fileinto "OpenMoko.Announce";\n} elsif header :contains "List-Id" "community.lists.openmoko.org" {\n  fileinto "OpenMoko.Community";\n} elsif header :contains "List-Id" "devel.lists.openmoko.org" {\n  fileinto "OpenMoko.Devel";\n} elsif header :contains "List-Id" "Summer-Administrators-2006.googlegroups.com" {\n  fileinto "SoC.Administrators";\n} elsif header :contains "List-Id" "gnome-soc-mentors.googlegroups.com" {\n  fileinto "SoC.GNOME";\n} elsif header :contains "List-Id" "sugar.lists.laptop.org" {\n  fileinto "Sugar";\n} elsif header :contains "List-Id" "telepathy.lists.freedesktop.org" {\n  fileinto "Telepathy";\n} elsif header :contains "List-Id" "telepathy-commits.lists.freedesktop.org" {\n  fileinto "Telepathy.Commits";\n} elsif header :contains "List-Id" "ubuntu-telepathy.lists.ubuntu.com" {\n  fileinto "Telepathy.Ubuntu";\n} else {\n  keep;\n}\n\n')