The second argument there should point to the url of Galaxy's API -- in this case http://localhost:8080/api, I'm guessing.
-Dannon On Tue, Mar 12, 2013 at 6:11 PM, Rob Leclerc <robert.lecl...@gmail.com> wrote: > > I'm trying to get the example_watch_folder.py to work with a simple example, > but I am running into an error (Caveat, python is not my native language) > > I call the following script, but get the subsequent error: > > $ ./example_watch_folder.py 8c25bc83f6f9e4001dd21eb7b64f063f > http://localhost:8080/ /Users/Rob/Documents/galaxy-db/input/ > /Users/Rob/Documents/galaxy-db/output/ "API Imports" 2a56795cad3c7db3 > > > URL did not return JSON data > > > The preconditions I have in place are: > > 1. I copied my api_key: 8c25bc83f6f9e4001dd21eb7b64f063f > > > 2. I created a new history on http://localhost:8080 > > 3. I downloaded the the exons from hg19/chr22 from UCSC > > 3. On the dataset I performed a Text Manipulation > Select first (20 lines) > > 4. I extracted a workflow from the history and recorded the workflow id > (2a56795cad3c7db3). > > 5. I created directories: > > /Users/Rob/Documents/galaxy-db/input/ > /Users/Rob/Documents/galaxy-db/output/ > > > My args may be malformed. Can someone provide me an example of a theirs? > > Cheers, > Rob > > > > ___________________________________________________________ > Please keep all replies on the list by using "reply all" > in your mail client. To manage your subscriptions to this > and other Galaxy lists, please use the interface at: > > http://lists.bx.psu.edu/ ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/