Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuickJS wraps error messages of the resources #56

Open
PoslavskySV opened this issue Oct 1, 2024 · 0 comments
Open

QuickJS wraps error messages of the resources #56

PoslavskySV opened this issue Oct 1, 2024 · 0 comments
Assignees

Comments

@PoslavskySV
Copy link
Member

Resource error should not contain any QuickJS stuff:

"QuickJSUnwrapError: error in field log of NG:0x4579: {\"errorType\":\"\",\"message\":\"resource \\\"NG:0x45A8\\\" has input errors:\\nfield \\\"NG:0x45A8/downloadable\\\": resource \\\"NG:0x45A7\\\" has input errors:\\nfield \\\"NG:0x45A7/blob\\\": resource \\\"NG:0x45A6\\\" has input errors:\\nfield \\\"NG:0x45A6/resource\\\": resource \\\"NG:0x459D\\\" has input errors:\\nfield \\\"NG:0x459D/resource\\\": resource \\\"NG:0x459A\\\" has input errors:\\nfield \\\"NG:0x459A/inputs\\\": resource \\\"NG:0x459B\\\" has input errors:\\nfield \\\"NG:0x459B/workdir\\\": failed to run command: \\\"env\\\" exited with code 1.\\nHere is the latest command output:\\n\\t\\n\\t\\n\\tBuilding a new DB, current time: 10/01/2024 23:13:58\\n\\tNew DB name:   /Users/poslavskysv/.npm-global/lib/node_modules/@milaboratory/pl-bootstrap/state/local-pl/storages/work/workdirs/0x45B0/db\\n\\tNew DB title:  Tttt\\n\\tSequence type: Nucleotide\\n\\tKeep MBits: T\\n\\tMaximum file size: 3000000000B\\n\\tFasta Reader: sequence id ends with 24 valid nucleotide characters.  Was the sequence accidentally placed in the definition line?\\n\\t\\n\\tNo volumes were created.\\n\\t\\n\\tBLAST Database creation error: Near line 1, the local id is too long.  Its length is 85 but the maximum allowed local id length is 50.  Please find and correct all local ids that are too long.\\n\"}\n    at resolveWithCommon (bundle.js:4036)\n    at resolve (bundle.js:4033)\n    at <anonymous> (bundle.js:4372)\n    at <anonymous> (bundle.js)\nHost: Error: error in field log of NG:0x4579: {\"errorType\":\"\",\"message\":\"resource \\\"NG:0x45A8\\\" has input errors:\\nfield \\\"NG:0x45A8/downloadable\\\": resource \\\"NG:0x45A7\\\" has input errors:\\nfield \\\"NG:0x45A7/blob\\\": resource \\\"NG:0x45A6\\\" has input errors:\\nfield \\\"NG:0x45A6/resource\\\": resource \\\"NG:0x459D\\\" has input errors:\\nfield \\\"NG:0x459D/resource\\\": resource \\\"NG:0x459A\\\" has input errors:\\nfield \\\"NG:0x459A/inputs\\\": resource \\\"NG:0x459B\\\" has input errors:\\nfield \\\"NG:0x459B/workdir\\\": failed to run command: \\\"env\\\" exited with code 1.\\nHere is the latest command output:\\n\\t\\n\\t\\n\\tBuilding a new DB, current time: 10/01/2024 23:13:58\\n\\tNew DB name:   /Users/poslavskysv/.npm-global/lib/node_modules/@milaboratory/pl-bootstrap/state/local-pl/storages/work/workdirs/0x45B0/db\\n\\tNew DB title:  Tttt\\n\\tSequence type: Nucleotide\\n\\tKeep MBits: T\\n\\tMaximum file size: 3000000000B\\n\\tFasta Reader: sequence id ends with 24 valid nucleotide characters.  Was the sequence accidentally placed in the definition line?\\n\\t\\n\\tNo volumes were created.\\n\\t\\n\\tBLAST Database creation error: Near line 1, the local id is too long.  Its length is 85 but the maximum allowed local id length is 50.  Please find and correct all local ids that are too long.\\n\"}\n    at QuickJSContext.unwrapResult (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs:4:24443)\n    at file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/pl-middle-layer/dist/index.mjs:2210:19\n    at _Scope.withScope (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs:4:402)\n    at pe.runCallback (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/pl-middle-layer/dist/index.mjs:2205:17)\n    at Object.___kernel___ (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/pl-middle-layer/dist/index.mjs:2607:17)\n    at L (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/computable/dist/index.mjs:361:17)\n    at S (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/computable/dist/index.mjs:446:49)\n    at I (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/computable/dist/index.mjs:378:14)\n    at S (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/computable/dist/index.mjs:446:125)\n    at I (file:///Users/poslavskysv/Projects/milab/platforma/platforma-desktop-app/node_modules/@milaboratories/computable/dist/index.mjs:378:14) {\n  cause: {\n    name: 'Error',\n    message: 'error in field log of NG:0x4579: {\"errorType\":\"\",\"message\":\"resource \\\\\"NG:0x45A8\\\\\" has input errors:\\\\nfield \\\\\"NG:0x45A8/downloadable\\\\\": resource \\\\\"NG:0x45A7\\\\\" has input errors:\\\\nfield \\\\\"NG:0x45A7/blob\\\\\": resource \\\\\"NG:0x45A6\\\\\" has input errors:\\\\nfield \\\\\"NG:0x45A6/resource\\\\\": resource \\\\\"NG:0x459D\\\\\" has input errors:\\\\nfield \\\\\"NG:0x459D/resource\\\\\": resource \\\\\"NG:0x459A\\\\\" has input errors:\\\\nfield \\\\\"NG:0x459A/inputs\\\\\": resource \\\\\"NG:0x459B\\\\\" has input errors:\\\\nfield \\\\\"NG:0x459B/workdir\\\\\": failed to run command: \\\\\"env\\\\\" exited with code 1.\\\\nHere is the latest command output:\\\\n\\\\t\\\\n\\\\t\\\\n\\\\tBuilding a new DB, current time: 10/01/2024 23:13:58\\\\n\\\\tNew DB name:   /Users/poslavskysv/.npm-global/lib/node_modules/@milaboratory/pl-bootstrap/state/local-pl/storages/work/workdirs/0x45B0/db\\\\n\\\\tNew DB title:  Tttt\\\\n\\\\tSequence type: Nucleotide\\\\n\\\\tKeep MBits: T\\\\n\\\\tMaximum file size: 3000000000B\\\\n\\\\tFasta Reader: sequence id ends with 24 valid nucleotide characters.  Was the sequence accidentally placed in the definition line?\\\\n\\\\t\\\\n\\\\tNo volumes were created.\\\\n\\\\t\\\\n\\\\tBLAST Database creation error: Near line 1, the local id is too long.  Its length is 85 but the maximum allowed local id length is 50.  Please find and correct all local ids that are too long.\\\\n\"}',\n    stack: '    at resolveWithCommon (bundle.js:4036)\\n' +\n      '    at resolve (bundle.js:4033)\\n' +\n      '    at <anonymous> (bundle.js:4372)\\n' +\n      '    at <anonymous> (bundle.js)\\n'\n  }\n}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants