am using workflows ending with .xml but they are t1 workflows.

2015-07-03 16:08 GMT+01:00 Ian Dunlop <[email protected]>:

> Hello,
>
> I've just tried a T1 workflow and I don't think they work in the player.
> Got a 500 error back.
>
> Cheers,
>
> Ian
>
> -----Original Message-----
> From: Ian Dunlop [mailto:[email protected]]
> Sent: 03 July 2015 16:03
> To: [email protected]
> Subject: RE: GSOC Taverna Mobile: Uploading workflows to the Taverna player
>
> Hello,
>
> Maybe you should try a T2 workflow like the basic xkcd one
> http://www.myexperiment.org/workflows/824.html
> I wonder if it's because you are trying a T1 workflow. The T1 workflows
> end in .xml and the T2 .t2flow. They are both XML though so don't worry
> about it. I don't know  if the player can do a T1 workflow.
>
> Cheers,
>
> Ian
>
> -----Original Message-----
> From: Ian Dunlop [mailto:[email protected]]
> Sent: 03 July 2015 15:51
> To: [email protected]
> Subject: RE: GSOC Taverna Mobile: Uploading workflows to the Taverna player
>
> Hello,
>
> Have you tried sending the workflow using curl by putting the request ie
> {"workflow" : {  "document":"data:application/octet-stream;base64,BASE64
> ENCODE WORKFLOW GOES HERE"}} in a file eg wf.json and send using curl
> --verbose -u your_taverna_player_email_address -X POST -H "Content-Type:
> application/json" [email protected] http://heater .
> cs.man.ac.uk:3000/workflows.json
>
> If that works then it must be something in the code causing issues with
> the request. I'm going to have a look at the code but it is unlikely I will
> be able to properly debug today.
>
> Cheers,
>
> Ian
>
> -----Original Message-----
> From: Larry Akah [mailto:[email protected]]
> Sent: 03 July 2015 15:38
> To: [email protected]
> Subject: Re: GSOC Taverna Mobile: Uploading workflows to the Taverna player
>
> The string data validates well with the online validator.
>
> 2015-07-03 15:24 GMT+01:00 Ian Dunlop <[email protected]>:
>
> > Hello,
> >
> > Here is the output from my curl request which shows all the request
> > and response headers. There aren't really many headers needed. Check
> > your Authorization one....
> >
> > curl --verbose -u [email protected] -X POST -H "Content-Type:
> > application/json" -d@wf_enc2.json http://heater
> > .cs.man.ac.uk:3000/workflows.json Enter host password for user
> > '[email protected]':
> > * Hostname was NOT found in DNS cache
> > *   Trying 130.88.193.100...
> > * Connected to heater.cs.man.ac.uk (130.88.193.100) port 3000 (#0)
> > * Server auth using Basic with user '[email protected]'
> > > POST /workflows.json HTTP/1.1
> > > Authorization: <removed :) >
> > > User-Agent: curl/7.37.1
> > > Host: heater.cs.man.ac.uk:3000
> > > Accept: */*
> > > Content-Type: application/json
> > > Content-Length: 39759
> > > Expect: 100-continue
> > >
> > * Done waiting for 100-continue
> > < HTTP/1.1 201 Created
> > < X-Frame-Options: ALLOWALL
> > < X-Xss-Protection: 1; mode=block
> > < X-Content-Type-Options: nosniff
> > < X-Ua-Compatible: chrome=1
> > < Location: http://heater.cs.man.ac.uk:3000/workflows/2
> > < Content-Type: application/json; charset=utf-8 < Etag:
> > "61640e9efd5cbb04b9735c09dd228077"
> > < Cache-Control: max-age=0, private, must-revalidate < X-Request-Id:
> > d1dd1043-c78b-447d-9533-ee18ad581608
> > < X-Runtime: 0.902580
> > * Server WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08) is not blacklisted <
> > Server: WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08) < Date: Fri, 03 Jul 2015
> > 12:36:34 GMT < Content-Length: 386 < Connection: Keep-Alive <
> > * Connection #0 to host heater.cs.man.ac.uk left intact
> > {"id":2,"title":"Fetch today's xkcd comic","description":"Use the
> > local java plugins and some filtering operations to f etch the comic
> > strip image from http://xkcd.com/\n\nBased on the FetchDailyDilbert
> > workflow.","url":"http://heater.cs.m
> > an.ac.uk:3000/workflows/2.json","user":{"id":2,"name":"Ian
> > Dunlop"},"created_at":"2015-07-03T12:36:34.020Z","updated_at
> > ":"2015-07-03T12:36:34.020Z"}
> >
> >
> > Cheers,
> >
> > Ian
> >
> > -----Original Message-----
> > From: alaninmcr [mailto:[email protected]]
> > Sent: 03 July 2015 14:58
> > To: [email protected]
> > Subject: Re: GSOC Taverna Mobile: Uploading workflows to the Taverna
> > player
> >
> > Larry,
> >
> > It is worth using a tool like http://jsonlint.com/ to validate the
> > format of the JSON you are sending.
> >
> > Alan
> >
> >
>
>
> --
> *Akah Larry N.H*
>
> *Lead Software Engineer @ GiftedMom*
> *Founder IceTeck Inc*
> *www.iceteck.com*
>
> Developing technologies for emergence and sustainable development.
>



-- 
*Akah Larry N.H*

*Lead Software Engineer @ GiftedMom*
*Founder IceTeck Inc*
*www.iceteck.com*

Developing technologies for emergence and sustainable development.

Reply via email to