earnaud / MetaShARK

Metadata Shiny-Automated Resources & Knowledge
5 stars 2 forks source link

Error: object 'nsIndex' not found from "EML Documentation" part #17

Closed yvanlebras closed 5 years ago

yvanlebras commented 5 years ago

It seems that the last version I'm using present issue when trying to reach the content of a "deep node"

Listening on http://127.0.0.1:5046
Warning: Error in extractContent: object 'nsIndex' not found
  [No stack trace available]

image

yvanlebras commented 5 years ago

Maybe just due to a transient issue....

earnaud commented 5 years ago

Error was due to the update which included namespaces referencing in the documentation module. In details: the documentation module relies on specific guideline (list of lists) file (contained in 'shinyApp/resources/docGuideline.RData') and an index of namespaces (contained in 'shinyApp/resources/nsIndex.RData'). It is this last file which missed the app. This error occurs when you try to access a doc part which partly relies on the nsIndex file.

earnaud commented 5 years ago

Last commit correct patch 1 shall have corrected this.

earnaud commented 5 years ago

New error found: in shinyApp/main.R : object nsIndex was loaded from resources/nsIndex.RData under ns.index instead of nsIndex var name. Corrected in correct-patch-2 (added new main.R).

yvanlebras commented 5 years ago

Again a related error image

earnaud commented 5 years ago

Please let me know if this issue still remains.

yvanlebras commented 5 years ago

It seems to be ok