Hi Alan,

Thank you. Your advise got me one step further. By using the "Add value" 
button rather than "Add URL", I passed the 
ExcecuteProcess_r.add.Datainputs box without errors. But unfortunately, 
the next box, ExcecuteProcess_r.add, turned red ...

This error is something I suppose the pyWPS folks should address. 
Accordingly I send this message also to the pyWPS mailing list.

Jorge,

The error message shown in taverna was a "404 Not found" error. When I 
investigated the apache error.log, I found this error:

script not found or unable to stat: /usr/lib/cgi-bin/wps

And that was correct. I had no script with that name in the cgi-bin 
directory. I am not able to find any reference to this script in the 
cookbook. But I searched in the software, and found this in the file 
pywps/debian/pywps.postinst:

...
ln -s /usr/bin/wps.py /usr/lib/cgi-bin/wps.py
...

I found a /usr/local/bin/wps.py file, and run manually this command 
(without invoking the pywps.postinst script):

sudo ln -s /usr/local/bin/wps.py /usr/lib/cgi-bin/wps

When testing taverna again, I stopped again in the ExcecuteProcess_r.add 
box, but this time with a different error message:

<Exception xmlns="http://www.opengis.net/ows/1.1"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
exceptionCode="NoApplicableCode">
                 <ExceptionText>
                         'The requested process is not part of the 
instance. Check pywps conf file and WSDL. WSDL has to point to the 
correct wrapper, please check location attribute in address element of 
WSDL document'
                 </ExceptionText>
         </Exception>

Any advise?

    Egil

On 04/11/2012 01:35 PM, Alan R Williams wrote:
> On 11/04/2012 11:43, Egil Støren wrote:
>> Hello,
>
> Hello
>
> [snip]
>> I got a message in the error panel, and a similar message in the
>> standard output:
>>
>> WARN  2012-04-11 11:58:13,339
>> (net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke:234) -
>> Failed (INVOCATION) invoking
>> net.sf.taverna.t2.activities.wsdl.xmlsplitter.XMLInputSplitterActivity@12cc1d1d
>> for job DispatchJobEvent
>> facade0:Workflow1:ExecuteProcess_r.add_DataInputs[]: Error in
>> XMLInputSplitterActivity
>> org.jdom.IllegalDataException: The data ".... Long string of binary
>> rubbish ..." is not legal for a JDOM character content: 0x0 is not a
>> legal XML character." is not legal for a JDOM character content: 0x0 is
>> not a legal XML character.
>>            at org.jdom.Text.setText(Text.java:188)
>>            at org.jdom.Text.<init>(Text.java:99)
>>            at org.jdom.Element.addContent(Element.java:801)
>>            at
>> net.sf.taverna.t2.provenance.lineageservice.utils.ProvenanceUtils.resolveToElement(ProvenanceUtils.java:82)
>> (about 50 additional lines with java trace)
>
> What a wonderful error message "Long string of binary rubbish" :-)
>
> I guess that the workflow is expecting the URL of the data as the input
> and you are telling Taverna to read the input from the URL. So the
> workflow is using the actual tif image.
>
> You need to make sure that you click "Set value" and do not click "Set URL".
>
> That is just my guess. If it is wrong, then you will need to send us the
> workflow so we can look at it.
>
>> According to Jorge, the cookbook author, he has no problem running this
>> example workflow.
>>
>> I would very much appreciate if somebody could give me advice on how to
>> track down this error.
>>
>> Best regards,
>>
>>       Egil Støren
>>       The Norwegian Meteorological Institute
>
> Alan
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> taverna-users mailing list
> [email protected]
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
>


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to