[GH-ISSUE #201] DEBUG THIS: getNodeInfo error Error: Invalid child key #95

Closed
opened 2026-05-23 08:30:20 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @donl on GitHub (Jan 2, 2023).
Original GitHub issue: https://github.com/appy-one/acebase/issues/201

Originally assigned to: @appy-one on GitHub.

I'm still trying to make a simple reproducible case, but here is the error message, if it is helpful. I was calling a query with one nested child too many.

 [default] DEBUG THIS: getNodeInfo error Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ]
     at file:///app/node_modules/acebase-core/dist/esm/path-info.js:59:27
     at Array.forEach (<anonymous>)
     at PathInfo.child (file:///app/node_modules/acebase-core/dist/esm/path-info.js:51:18)
     at PathInfo.getChildPath (file:///app/node_modules/acebase-core/dist/esm/path-info.js:26:35)
     at NodeReader.getChildInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:2942:36)
     at async AceBaseStorage.getNodeInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1824:33)
     at async AceBaseStorage.getNode (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1690:30)
     at async file:///app/node_modules/acebase/dist/esm/query.js:72:26
     at async AsyncTaskBatch.execute (file:///app/node_modules/acebase/dist/esm/async-task-batch.js:22:28)
 [default] DEBUG THIS: getNode error: Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ]
     at file:///app/node_modules/acebase-core/dist/esm/path-info.js:59:27
     at Array.forEach (<anonymous>)
     at PathInfo.child (file:///app/node_modules/acebase-core/dist/esm/path-info.js:51:18)
     at PathInfo.getChildPath (file:///app/node_modules/acebase-core/dist/esm/path-info.js:26:35)
     at NodeReader.getChildInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:2942:36)
     at async AceBaseStorage.getNodeInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1824:33)
     at async AceBaseStorage.getNode (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1690:30)
     at async file:///app/node_modules/acebase/dist/esm/query.js:72:26
     at async AsyncTaskBatch.execute (file:///app/node_modules/acebase/dist/esm/async-task-batch.js:22:28)
 file:///app/node_modules/acebase-core/dist/esm/data-reference.js:869
             throw new Error(err);
                   ^
 
 Error: Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ]
     at file:///app/node_modules/acebase-core/dist/esm/data-reference.js:869:19
 
 Node.js v18.11.0
Originally created by @donl on GitHub (Jan 2, 2023). Original GitHub issue: https://github.com/appy-one/acebase/issues/201 Originally assigned to: @appy-one on GitHub. I'm still trying to make a simple reproducible case, but here is the error message, if it is helpful. I was calling a query with one nested child too many. ``` [default] DEBUG THIS: getNodeInfo error Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ] at file:///app/node_modules/acebase-core/dist/esm/path-info.js:59:27 at Array.forEach (<anonymous>) at PathInfo.child (file:///app/node_modules/acebase-core/dist/esm/path-info.js:51:18) at PathInfo.getChildPath (file:///app/node_modules/acebase-core/dist/esm/path-info.js:26:35) at NodeReader.getChildInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:2942:36) at async AceBaseStorage.getNodeInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1824:33) at async AceBaseStorage.getNode (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1690:30) at async file:///app/node_modules/acebase/dist/esm/query.js:72:26 at async AsyncTaskBatch.execute (file:///app/node_modules/acebase/dist/esm/async-task-batch.js:22:28) [default] DEBUG THIS: getNode error: Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ] at file:///app/node_modules/acebase-core/dist/esm/path-info.js:59:27 at Array.forEach (<anonymous>) at PathInfo.child (file:///app/node_modules/acebase-core/dist/esm/path-info.js:51:18) at PathInfo.getChildPath (file:///app/node_modules/acebase-core/dist/esm/path-info.js:26:35) at NodeReader.getChildInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:2942:36) at async AceBaseStorage.getNodeInfo (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1824:33) at async AceBaseStorage.getNode (file:///app/node_modules/acebase/dist/esm/storage/binary/index.js:1690:30) at async file:///app/node_modules/acebase/dist/esm/query.js:72:26 at async AsyncTaskBatch.execute (file:///app/node_modules/acebase/dist/esm/async-task-batch.js:22:28) file:///app/node_modules/acebase-core/dist/esm/data-reference.js:869 throw new Error(err); ^ Error: Error: Invalid child key "adminthreadlcespnb300503b5pfagj" for path "draft/admin". Keys cannot contain control characters or any of the following characters: \ / [ ] at file:///app/node_modules/acebase-core/dist/esm/data-reference.js:869:19 Node.js v18.11.0 ```
Author
Owner

@appy-one commented on GitHub (Jan 2, 2023):

Interesting, let me know!

<!-- gh-comment-id:1369249802 --> @appy-one commented on GitHub (Jan 2, 2023): Interesting, let me know!
Author
Owner

@appy-one commented on GitHub (Jan 5, 2023):

Hi @donl, any news about this?

<!-- gh-comment-id:1372672641 --> @appy-one commented on GitHub (Jan 5, 2023): Hi @donl, any news about this?
Author
Owner

@donl commented on GitHub (Jan 6, 2023):

It reproduces in a project / db file combination. I wasn't able to reproduce it in an example project with an export of the (hopefully) relevant data. I'll try again with a copy of the original db file.

<!-- gh-comment-id:1374071933 --> @donl commented on GitHub (Jan 6, 2023): It reproduces in a project / db file combination. I wasn't able to reproduce it in an example project with an export of the (hopefully) relevant data. I'll try again with a copy of the original db file.
Author
Owner

@appy-one commented on GitHub (Apr 17, 2023):

Hi @donl I hope this maybe has been fixed by recent updates. Closing the issue for now, please reopen if it is still an issue!

<!-- gh-comment-id:1510930123 --> @appy-one commented on GitHub (Apr 17, 2023): Hi @donl I hope this maybe has been fixed by recent updates. Closing the issue for now, please reopen if it is still an issue!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#95
No description provided.