Hi,
     I'm trying to get the example_watch_folder.py to run but it seems to fail, and I'm not sure why?

I run:

 ./example_watch_folder.py 64f3209856a3cf4f2d034a1ad5bf851c http://barium-rbh/csiro/api/ /home/galaxy/galaxy-drop/input /home/galaxy/galaxy-drop/output "My API Import" f597429621d6eb2b

I got the workflow Id from :

http://barium-rbh/csiro/api/workflows

which gave me:
[
    {
        "id": "f597429621d6eb2b", 
        "name": "extract", 
        "url": "/csiro/api/workflows/f597429621d6eb2b"
    }, 
    {
        "id": "f2db41e1fa331b3e", 
        "name": "FULL CTE", 
        "url": "/csiro/api/workflows/f2db41e1fa331b3e"
    }
]

The output I get from the command line is:
{'outputs': ['ba0fa2aed4052bce'], 'history': 'ba03619785539f8c'}

The files I put into /home/galaxy/galaxy-drop/input get copied to /home/galaxy/galaxy-drop/output

But nothing else happens.

If I go to http://barium-rbh/csiro/api/histories

I can see:
{ "id": "ba03619785539f8c", "name": "colin.nii.gz - extract", "url": "/csiro/api/histories/ba03619785539f8c" },

However when I go to:
http://barium-rbh/csiro/api/histories/ba03619785539f8c

I get:
{ "contents_url": "/csiro/api/histories/ba03619785539f8c/contents", "id": "ba03619785539f8c", "name": "colin.nii.gz - extract", "state": "error", "state_details": { "discarded": 0, "empty": 0, "error": 1, "failed_metadata": 0, "new": 0, "ok": 0, "queued": 0, "running": 0, "setting_metadata": 0, "upload": 0 } }

Any ideas much appreciated

Thanks
Neil