watson-developer-cloud / node-red-labs

Node-RED labs on the use of the Watson Developer Cloud services
MIT License
209 stars 367 forks source link

Problem with response HTML #46

Closed mataloni closed 9 years ago

mataloni commented 9 years ago

Hi guys. I have followed the Visual Recognition tutrial however, the sample HTML is not producing the label_name or label_score variables

picture1

Suggestions?

philippe-gregoire commented 9 years ago

Hello Matt, Thanks for reporting the issue, I'll look into it.

philippe-gregoire commented 9 years ago

Hello Matt, I tried on my setup right now and it works (pasted the flow from this repository to make sure).

Only thing I can think of is that it may be an issue with service credentials, when running on bluemix, the service should be bound to the Node-RED application in BlueMix. This way, the credentials are automatically filled-in on the node: reco-lab-visual_recognition_service_credentials

One thing that I have not yet put upfront in the lab instructions is that the service should be bound to the Node-RED App. This is alluded to in the overall node-red labs, but we need to remind it in each lab I think.

BTW, are you getting any error message in the Node-RED log or console?

Thanks,

philippe-gregoire commented 9 years ago

So, I added some instructions in PR #48 to the lab to warn about binding the service in BMix.

Can you check if that fixes the issue for you?

Thanks,

mataloni commented 9 years ago

Thanks! Leave it with me, I probably did something wrong.   cheers       Matt Taloni Client Solutions Asia Pacific/GCG/Japan Phone: +61 408 882 547 Email: mataloni@au1.ibm.com   What will you do with Watson?                
    ----- Original message -----From: philippe-gregoire notifications@github.comTo: NodeREDWatson/Watson-Node-Red-Samples Watson-Node-Red-Samples@noreply.github.comCc: Matthew Taloni/Australia/IBM@IBMAUSubject: Re: [Watson-Node-Red-Samples] Problem with response HTML (#46)Date: Thu, Sep 24, 2015 7:32 PM  Hello Matt,I tried on my setup right now and it works (pasted the flow from this repository to make sure). Only thing I can think of is that it may be an issue with service credentials, when running on bluemix, the service should be bound to the Node-RED application in BlueMix. This way, the credentials are automatically filled-in on the node: One thing that I have not yet put upfront in the lab instructions is that the service should be bound to the Node-RED App. This is alluded to in the overall node-red labs, but we need to remind it in each lab I think. BTW, are you getting any error message in the Node-RED log or console? Thanks, —Reply to this email directly or view it on GitHub.

 

kwiatks commented 9 years ago

I have added a note to the top level .md files for watson services and advanced labs .md to indicate that the Node-RED starter boilerplate is assumed to be used for all labs, also included link to introduction to node-RED lab which documents this anyway