Dev Logs showed it tried to flush residual segment...
# questions
g
Dev Logs showed it tried to flush residual segment data. Would deleting or emptying that
segmentresidualcache.log
file help?
Copy code
json
{"level":30,"time":1647448186788,"pid":9760,"hostname":"hostname","name":"dendron","msg":"Segment Residual Cache Path is at c:\\Users\\zacha\\AppData\\Roaming\\Code\\User\\globalStorage\\dendron.dendron\\segmentresidualcache.log"}
{"level":30,"time":1647448186788,"pid":9760,"hostname":"hostname","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":50,"time":1647448186822,"pid":9760,"hostname":"hostname","name":"dendron","stack":"TypeError: i.ConfigUtils.getVaults(...).filter is not a function\n    at w.syncVaults (c:\\Users\\zacha\\.vscode\\extensions\\dendron.dendron-0.86.1\\dist\\extension.js:2:468196)\n    at w.initialize (c:\\Users\\zacha\\.vscode\\extensions\\dendron.dendron-0.86.1\\dist\\extension.js:2:458835)\n    at Ui (c:\\Users\\zacha\\.vscode\\extensions\\dendron.dendron-0.86.1\\dist\\extension.js:8:3223078)","type":"Error","msg":"i.ConfigUtils.getVaults(...).filter is not a function"}
k
can you try the following? 1. create a new workspace using "dendron initialize workspace" 2. add your vaults to it (dendron vault add)
g
I did a variation. I made sure my vault was pushed to the remote and added a remote vault, cloning it back down into the new workspace. All is happy now. Thanks for your time 🙂
3 Views