Hi Willem,

Apologies for the delay in replying to you.

> I’m working on an implementation of a web-frontend for taverna-server,
>   (https://github.com/impactcentre/iif-taverna2-client).
>
> Currently I’m encountering a strange problem concerning list outputs
> (https://github.com/impactcentre/iif-taverna2-client/issues/6).
>
> When I run my workflow (without list input) it runs just like expected,
> but when I change the input to a list my client does not show the
> expected output (while in tavern itself the output is correct).

A couple of questions:

Are you using the same workflow for testing both single values and 
lists? Alan Williams (CC'd) assures me that you can't just give a list 
to an input that is expecting a single value; things will complain or 
break. So if your workflow is not setup to accept a list as input then 
that won't work.

How are you setting the input to a list? This is one of the things that, 
as far as I know, Taverna Server cannot do directly. I have CC'd Donal 
Fellows who might not agree with me! In the Ruby client library I get 
around this by converting lists into Baclava format [1] and set them 
that way - but this is a little convoluted.

> To debug my issue I’ve copied some lines from the t2-server-java-cli
> (https://github.com/myGrid/t2-server-java-cli/blob/next/src/main/java/uk/org/taverna/server/client/cli/GetOutput.java#L123)
> and onwards. However the output in the log is not what I would expect :
>
> Output state: 0
>
> out (depth 1) {
>
> Reference:
> https://kbresearch.nl:8443/taverna-server/rest/runs/09142ebc-1fad-4f90-83a3-2f163de295ec/wd/out/out/1
>
> Content type: application/x-empty
>
> Data size:    0
>
> Data: <<
>
> 20131031T134712.060 INFO  Webapp DirectoryREST - producing content of
> type application/octet-stream
>
>  >>
>
> }
>
> Is there any way to fetch the “application/octet-stream” and parse it,
> so the output url’s will appear in the result?

I suspect that the output is confused due to one or other of the 
situations I described above. But at first glance that is saying that 
the list item "out/1" is empty - there is literally no data there - and 
the message in the Data section is probably Taverna Server trying to 
return something that isn't there.

Rob

[1] Kind of described here: 
http://www.taverna.org.uk/download/associated-tools/dataviewer-tool/release-notes/

-- 
Robert Haines
myGrid Team
School of Computer Science
University of Manchester

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to