Could you run the following command and let me know what the outcome is? I want to know what image version you are using: configure_edison --version
Have you been able to work on this? I would like to know if you have been able to run the code successfully.
Please let us know which image and XDK version you are using.