Hi Garith,

Long time, how are u doing ?

On 21 Jun 2013, at 2:00 PM, Garith Dugmore wrote:

> I received the following error "The message could not be previewed, try again 
> later" when clicking on the "Preview Message" button.
> 
> I'm running Debian 7, python 2.7. I've used the following link to install 
> Baruwa -> http://pythonhosted.org/baruwa/community/install.html#source-install
> 
> I don't see any errors in the apache logs and /var/log/baruwa/* doesn't seem 
> to show anything useful.

You should usually pickup something in the celeryd log in /var/log/baruwa 

> Where else could I find logs to further troubleshoot this problem? I've tried 
> running a strace on apache itself but the output for just that one click is 
> about 40k lines.

I suspect the issue is hostname related. You need to have a celery process 
listening to
a queue for the hostname that is logged to the database.

When you preview a message the request gets sent to that queue and the workers 
listening
to the queue do the actual processing of the message and return that back to 
you.

So check what is being logged into the db as the hostname and what is 
configured in your
production.ini file under celery.queues

Cheers,

- Andrew

--
www.baruwa.org




_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to