Skip to content

loadRDF error on sboljs #37

@nathanwilk7

Description

@nathanwilk7

Let me know if you have any questions. This script gave the error on a fresh clone of the repo. I haven't been able to get it working with npm update, but Chris said he got SynBioHub working with npm update. Thanks!

npm install
cd test
bash script.sh
(node:29037) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: RDF/XML syntax error: No namespace for anonymous in 
(node:29037) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:29037) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: RDF/XML syntax error: No namespace for anonymous in 
Error: RDF/XML syntax error: No namespace for anonymous in 
    at RdfLibParser.<anonymous> (/home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/index.js:259:15)
    at RdfLibParser.parseDOM (/home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/index.js:286:16)
    at RdfLibParser.parse (/home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/index.js:249:10)
    at /home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/index.js:624:31
    at RdfXmlParser.process (/home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/index.js:577:10)
    at /home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/node_modules/rdf-parser-dom/node_modules/rdf-parser-abstract/index.js:19:10
    at RdfXmlParser.AbstractParser.parse (/home/nate/myers/testing/sboljs/node_modules/rdf-parser-rdfxml/node_modules/rdf-parser-dom/node_modules/rdf-parser-abstract/index.js:18:10)
    at loadNextSource (/home/nate/myers/testing/sboljs/lib/load/rdf/loadRDF.js:79:16)
    at load (/home/nate/myers/testing/sboljs/lib/load/rdf/loadRDF.js:75:5)
    at SBOLDocument.loadRDF (/home/nate/myers/testing/sboljs/lib/SBOLDocument.js:842:9)
(node:29047) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: RDF/XML syntax error: No namespace for anonymous in 
(node:29047) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:29047) UnhandledPromiseRejectionWarning: Unhandled promise rejecLet me know if you have any questions. This script gave the error on a fresh clone of the repo. I haven't been able to get it working with npm update, but Chris said he got SynBioHub working with npm update.

tion (rejection id: 2): Error: RDF/XML syntax error: No namespace for anonymous in 
sbol-10105: An SBOL document MUST be serialized as a well-formed RDF/XML file that adheres to the grammar defined by: “https://www.w3.org/TR/rdf-syntax-grammar/” 
Reference: SBOL Version 2.2.0 Section 10 on page 58
Validation failed.
   Failure!
   New Failure!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions