Still working on the preview and release problem on my install. I reset
my Mailscanner.conf to the original found on github.
Verified celeryd was happy by running ( /home/baruwa/px/bin/paster
celeryd /etc/baruwa/production.ini)
Attempted to turn on debug in the production.ini file, but received the
following error:
[Mon Feb 04 14:18:53 2013] [error] [client 10.10.1.22] "The
EvalException middleware is not usable in a ", referer: http://domain/
[Mon Feb 04 14:18:53 2013] [error] [client 10.10.1.22] AssertionError:
The EvalException middleware is not usable in a multi-process
environment, referer: http://domain/
When attempting to release a message, the gui displays:
AJAX Error: Internal Server Error
With a corresponding log err.
/var/log/apache2/baruwa-error.log
2013-02-04 14:13:03,088 Baruwa[2551]: Processing quarantined message:
1U2SOf-0001UV-GD
2013-02-04 14:13:03,187 Baruwa[2551]: Task
process-quarantined-msg[bfd4a4cf-f61e-4d12-a866-4718c25a4fed] raised
exception: TypeError("wait() got an unexpected keyword argument 'timeout'",)
Traceback (most recent call last):
File
"/home/baruwa/px/local/lib/python2.7/site-packages/celery/task/trace.py", line
224, in trace_task
R = retval = fun(*args, **kwargs)
File
"/home/baruwa/px/local/lib/python2.7/site-packages/celery/task/trace.py", line
407, in __protected_call__
return self.run(*args, **kwargs)
File
"/home/baruwa/px/local/lib/python2.7/site-packages/baruwa/tasks/messages.py",
line 140, in process_quarantined_msg
return process_message(job, logger)
File
"/home/baruwa/px/local/lib/python2.7/site-packages/baruwa/tasks/messages.py",
line 38, in process_message
msgfile, isdir = search_quarantine(job['date'], job['message_id'])
File
"/home/baruwa/px/local/lib/python2.7/site-packages/baruwa/lib/mail/message.py",
line 53, in search_quarantine
qdir = get_config_option('Quarantine Dir')
File
"/home/baruwa/px/local/lib/python2.7/site-packages/baruwa/lib/misc.py",
line 88, in get_config_option
pipe.wait(timeout=10)
TypeError: wait() got an unexpected keyword argument 'timeout'
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056