Not able to import the NSDoc for IEC 61850-7-2,7-3 and 7-4
Upload NSDoc functionality is not working as expected
Steps to reproduce the behavior
- Take the OpenSCD Clone or run the online instance of V0.36.0
- Click on main menu and select setting option then upload the NSDoc for IEC 61850-7-2,7-3 and 7-4
- See error
Expected behavior User should be able to import the NSDoc files without any errors
Hi @arulrajirudayasamy, thanks for the report;
- Is this related to https://github.com/openscd/open-scd/issues/1604 ?
- Did you use openscd.github.io recently? The is the current deployment. https://github.com/openscd/open-scd/releases/tag/v0.38.1
1.@Sander3003 yes, my Feeback same as @danyill reported with Support later nsdoc revision #1604 Hence, this is a duplicate bug. 2.This version is not working for me https://github.com/openscd/open-scd/releases/tag/v0.38.1,I assume something wrong with the recourse files in the online repository. I am currently using the offline version of OpenSCD V.0.36.0 by cloning the resource files from the following link https://github.com/openscd/openscd.github.io
Thanks, what is de problem with 2? Wat error do you get?
I downloaded the open-scd.zip file and tried to set it up in Simple Web Server by locating the following folder directory, open-scd\packages\distribution\build Unfortunately, I am not able to reach the webserver from my Web Client/Browser, seems some files inside the open-scd.zip is missing or not in the right directly.
We will look into the NSDoc issue;
@david-monichi can colleagues are working on a big refactor, I suggest to test your 2nd problem again if they are done.
We will have an eye on it, even I'm not fully sure how that really affects this issue.
@arulrajirudayasamy our IEC document provider (NEN connect) does not schip the 2007B4 nsdoc file, so we cannot test.
How did you got his one?
I had access to the IEC Library through my employer, but unfortunately, I can't share it outside due to copyright restrictions.
How did your employer get the file? Maybe we have access to the same resource.
Accessing the IEC library using SSO is straightforward. Once you have access, you can easily download the complete IEC 61850:2025 SER package as a zip file. The relevant part should contain the pdf and NSD zip files.
You mean this one right? https://webstore.iec.ch/en/publication/6028
Yes, that's correct @Sander3003
I'm able to reproduce:
The problem here seems to be that we ship NSD files with open scd and allow to load NSDoc files by the user. That can lead to version conflicts between the NSD files and NSDoc files. E.g. you have 2007B3 NSD files and want to upload 2007B5 NSDoc files.
The simple solution is for now:
- get rid of the version check between NSD and NSDoc files. The difference between 2007B3 and 2007B5 will not cause any issues as there is not breaking change
- change the error log to a warning log saying: "Version of loaded NSDoc (version) does not match the version of the loaded NSD file (version)."
The clean solution:
- ship all NSD files versions with OpenSCD and allow selecting the version that fits the use case
We would go with the simple solution for now.