Closed jasoncyu closed 3 months ago
Thank you for this report, @jasoncyu! I have not seen this before. Will look at it when time.
It may help if you post debug output as well. Check README for how
Thank you again for this feedback, you're helping make the product better!
The main project README? I didn't see any debug output instructions. I did read all the issues and I did see elsewhere that if you set export DEBUG_22120=abc
then you get some additional log output. I'll monitor and let you know, thanks!
Ah ok I can actually reliably reproduce the issue, if I put my machine to sleep, even for just a second, then when I wake it back up diskernet won't write to the index. Weirdly for URL's where it does save the index under normal operation I do get this error
Could not form url undefined TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:393:5)
at URL.onParseError (node:internal/url:565:9)
at new URL (node:internal/url:645:5)
at neverCache (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:330:9690)
at reloadIfNotLive (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:330:9312)
at /Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:135:2509
at vo.f (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:135:1984)
at vo.emit (node:events:513:28)
at lv.zq (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:54:42618)
at lv.emit (node:events:513:28) {
input: 'undefined',
code: 'ERR_INVALID_URL'
}
but for URL's where it doesn't save the history, I don't get any log output
The main project README? I didn't see any debug output instructions. I did read all the issues and I did see elsewhere that if you set
export DEBUG_22120=abc
then you get some additional log output. I'll monitor and let you know, thanks!
Ah yes! Thank you. I'm sorry for my mistake.
Ah ok I can actually reliably reproduce the issue, if I put my machine to sleep, even for just a second, then when I wake it back up diskernet won't write to the index. Weirdly for URL's where it does save the index under normal operation I do get this error
Could not form url undefined TypeError [ERR_INVALID_URL]: Invalid URL at new NodeError (node:internal/errors:393:5) at URL.onParseError (node:internal/url:565:9) at new URL (node:internal/url:645:5) at neverCache (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:330:9690) at reloadIfNotLive (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:330:9312) at /Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:135:2509 at vo.f (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:135:1984) at vo.emit (node:events:513:28) at lv.zq (/Users/jason/Library/Application Support/fnm/node-versions/v18.12.1/installation/lib/node_modules/diskernet/build/diskernet.cjs:54:42618) at lv.emit (node:events:513:28) { input: 'undefined', code: 'ERR_INVALID_URL' }
but for URL's where it doesn't save the history, I don't get any log output
Excellent bit of information, thanks! That should give us a way to triangulate it, when time.
should be fixed
When running normally, my index shows pages with indices that increment by 1 for each new page. Sometimes diskernet stops recording my browsing, and then after a restart, it starts working again, and the indices numbering resumes at a higher number. Notice the jump from 408 to 656 below
There's also a ">" that appears in the console output for the diskernet process, might be an interactive promprt for something? Looks like this:
Any guidance on debugging/fixing this?