andymckay / django-arecibo Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
https://github.com/andymckay/django-arecibo/blob/master/django_arecibo/wrapper.py#71 explodes when the request meta vars contain bytestrings that cannot be decoded into UTF-8 unicode strings.
Can we get a .gitignore here that ignores the common .pyc files?
I personally consider it to be a flaw if a project requires a global .gitignore for anyone working on a project that uses this.
The current version on pypi doesn't include this fix: e07bcf4
Which is extremely annoying. I've put up with it expecting a release sooner or later, but it's taking a bit too long. Please release a 0.3.2 or something.
7039e30 changed the scope of delayed_post
, so now process_exception
throws a NameError.
Sorry I didn't get a chance to add this to arecibo, but this should be a part of it:
paste.pocoo.org/show/515966/
import loggingclass AreciboHandler(logging.Handler):
"""An exception log handler that sends tracebacks to Arecibo."""
def emit(self, record):
from django.conf import settings
arecibo = getattr(settings, 'ARECIBO_SERVER_URL', '')if arecibo and hasattr(record, 'request'): from django_arecibo.tasks import post post(record.request, 500)
If GROUP_POSTS
is enabled, the set
method of wrapper.Group
will import an celery task. I'm not sure if this is intended, but it came as a surprise.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.