Closed driftavalii closed 2 years ago
Hi there,
Try the latest build. I suspect it's an issue with a missing YANG model and in the earlier versions of JTAF, information leaving Pyang was suppressed. That's now not the case and you will have a clearer error message.
I ran into this myself and fixed the bug.
@ driftavalii you will run into this issue if the yang files from "common" folder is missing.
please copy the below and try
(venv) root@ubuntu:/opt/aprabh/new-provider/yang/21.3/21.3R1/common# ls -lrt total 12 -rw-r--r-- 1 root root 3398 Dec 4 06:26 junos-common-types@2019-01-01.yang -rw-r--r-- 1 root root 2346 Dec 4 06:26 junos-common-odl-extensions@2019-01-01.yang -rw-r--r-- 1 root root 1806 Dec 4 06:26 junos-common-ddl-extensions@2019-01-01.yang
Yin file for junos-common-ddl-extensions@2019-01-01 is generated Yin file for junos-common-odl-extensions@2019-01-01 is generated Yin file for junos-common-types@2019-01-01 is generated Yin file for junos-es-conf-access@2019-01-01 is generated Yin file for junos-es-conf-access-profile@2019-01-01 is generated Yin file for junos-es-conf-accounting-options@2019-01-01 is generated Yin file for junos-es-conf-applications@2019-01-01 is generated
@aprabh92 yep, that worked, thanks
I am running into this error when running
./processYang
with the/yang/20.3/20.3R1/junos-es/conf/junos-es-conf-protocols@2019-01-01.yang