---

** [tickets:#6918] Akismet filter error in email handling**

**Status:** open
**Created:** Tue Nov 26, 2013 06:12 PM UTC by Dave Brondsema
**Last Updated:** Tue Nov 26, 2013 06:12 PM UTC
**Owner:** nobody

The smtp_server process which handles incoming email, has this error when the 
akismet filter is enabled.  There may be a similar issue with mollom spam 
filtering (I haven't checked).

smtp_server apparently doesn't set up a full (fake) web task like taskd does.  
But in this situation a different IP addr should be used anyway (try to find 
bottom-most non-internal IP address in Received headers?)

~~~~
17:50:57,447 ERROR [allura.lib.spam] Error calling 
exceptionless(check)(args=(u'test message content',), kwargs={'user': <User 
username=u'brondsem2' ...>}): No object (name: request) has been registered for 
this thread
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/lib/helpers.py", line 938, in inner
    return fun(*args, **kwargs)
  File "/var/local/allura/Allura/allura/lib/spam/akismetfilter.py", line 81, in 
check
    content_type=content_type),
  File "/var/local/allura/Allura/allura/lib/spam/akismetfilter.py", line 66, in 
get_data
    user_ip = request.headers.get('X_FORWARDED_FOR', request.remote_addr)
  File 
"/var/local/env-allura/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/registry.py",
 line 137, in __getattr__
    return getattr(self._current_obj(), attr)
  File 
"/var/local/env-allura/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/registry.py",
 line 197, in _current_obj
    'thread' % self.____name__)
TypeError: No object (name: request) has been registered for this thread
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to