Coder Social home page Coder Social logo

mailpy's People

Contributors

dn0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mailpy's Issues

email with delete ended with exception

I have created blog entry by posting to post@.... which worked fine (I received successfully created mail), but I realized I made an mistake in tags so I wanted to delete the post and create it again... I have forwarded successfully created email to address delete@.... so the subject is same and body was empty (it had only the reply text in it) and server returned following error:

ERROR [500]: Internal Server Error: Unsupported article format: 

Traceback (most recent call last):
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/router.py", line 37, in dispatch_request
    response = view_fun.__self__._process_view(request, view_fun)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/view.py", line 59, in _process_view
    return view_fun(request)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/view.py", line 31, in wrap
    return fun(obj, request, *args, **kwargs)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/view.py", line 304, in delete
    article = self.papi.get_article(filename)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/api.py", line 141, in get_article
    return self.article_class(self.content_path, filename, **kwargs)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/api.py", line 41, in article_class
    return pelican_article(content_path, filename, **kwargs)
  File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/content.py", line 200, in pelican_article
    raise UnknownFileFormat('Unsupported article format: %s' % ext)
UnknownFileFormat: Unsupported article format: 

make html crashing sending successful email

if pelican crashes when generating html content, mailpy return successful email as if article has been published. Author should get an error email that article is not out as it is not on web.

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.