All sample apps have been updated to run with YDK 0.4.0. As described in the previous posting, the enum implementation starting in 0.4.0 is not backward compatible. SeeEnum changes in YDK 0.4.0
You can find the entire list of sample apps at:
https://github.com/CiscoDevNet/ydk-py-samples
Enjoy!