Giter Site home page Giter Site logo

lists.twistedmatrix.com's People

Contributors

glyph avatar lukasa avatar markrwilliams avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

lukasa

lists.twistedmatrix.com's Issues

some messages don't have a message ID, fix it during ingest

Traceback (most recent call last):
  File "/appenv/site-packages/twisted/internet/defer.py", line 651, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/appenv/site-packages/twisted/internet/defer.py", line 1355, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/appenv/site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/appenv/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/appenv/site-packages/klein/storage/_sql.py", line 136, in sql
    result = yield callable(txn)
  File "/appenv/site-packages/twisted/internet/defer.py", line 1299, in _inlineCallbacks
    result = g.send(result)
  File "/appenv/site-packages/txlists/app.py", line 153, in do
    id=message['message-id'].decode('charmap'),
exceptions.AttributeError: 'NoneType' object has no attribute 'decode'

Recipients are identified incorrectly

Currently recipients are determined by looking at the To and CC header fields. While in most cases these fields do include the recipient address(es), they actually have nothing to do with mail routing, so this will fail if a mesage is BCCed or bounced, or otherwise generated with a mismatch here.

We should instead be looking at "recipient", but the Mailgun docs are a little fuzzy about how this field works (for example, the JSON version has "recipients" but the rfc822 version has "recipient"; can this field still hold multiple values?), so someone should probably look at some real stored messages to figure it out.

Document the dogfood deployment of this code

Since dogfood is the preferred testing methodology, make it obvious to everyone how to do that.

Point to the deployment, describe how it gets updated (sounds like every push to any branch gets deployed?), maybe mention some interactions that are supposed to work (and ... continue to work?).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.