Hi,
Yes ... not its allmost working.
RabbitMQ running.
Celery running.
But in the log I get an error when doing a sa-learn:
[2011-07-20 09:30:21,373: INFO/MainProcess] Got task from broker:
process-quarantine[a771bed4-8e5d-465f-bc44-778dbf262339]
[2011-07-20 09:30:21,387: INFO/PoolWorker-2]
process-quarantine[a771bed4-8e5d-465f-bc44-778dbf262339]: Bulk
Processing 1 quarantined messages
[2011-07-20 09:30:21,548: ERROR/MainProcess] Task
process-quarantine[a771bed4-8e5d-465f-bc44-778dbf262339] raised
exception: OSError(2, 'No such file or directory')
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/celery/execute/trace.py",
line 34, in trace
return cls(states.SUCCESS, retval=fun(*args, **kwargs))
File "/usr/local/lib/python2.6/site-packages/celery/task/base.py",
line 241, in __call__
return self.run(*args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/baruwa/messages/tasks.py",
line 192, in run
result['learn'] = processor.learn(job['salearn_as'])
File "/usr/local/lib/python2.6/site-packages/baruwa/utils/mail/message.py",
line 289, in learn
pipe = Popen(sa_learn_cmd, stdout=PIPE, stderr=PIPE)
File "/usr/local/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/local/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
None
What is missing here? Do i have to create a work directory for celery?
or are there some other parts missing?
Is there a way to see what it tries to look for or maybe open ?
mvh
Mikael Syska
On Tue, Jul 19, 2011 at 8:51 AM, Andrew Colin Kissa
<[email protected]> wrote:
>
> On 18 Jul 2011, at 11:12 PM, Mikael Syska wrote:
>
>> Think we need Andrew to make a section about this in the wiki/documentation.
>
> https://github.com/akissa/baruwa/wiki/Freebsd
>
> --
> Baruwa - www.baruwa.org
>
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Keep Baruwa FREE - http://pledgie.com/campaigns/12056