codebuilds icon indicating copy to clipboard operation
codebuilds copied to clipboard

sqlite error

Open joomcoder opened this issue 5 years ago • 3 comments

I got this error on raspbian (raspberry pi 4) which causes context data cannot be stored so welcome pages, notification always appear on launch. Any idea on this?

ERR [storage state.vscdb] open(): Unable to open DB due to Error: Cannot find module '../build/Release/sqlite'
Require stack:
- /usr/share/code-oss/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js
- /usr/share/code-oss/resources/app/out/vs/loader.js
- /usr/share/code-oss/resources/app/out/bootstrap-window.js
- /usr/share/code-oss/resources/app/out/vs/code/electron-browser/workbench/workbench.html

joomcoder avatar Dec 28 '19 01:12 joomcoder

The SQLite error messages don't only appear in the log today and not only on RPi 4. I saw this in December 2018 and is nothing new. I suspect that it exists longer. I haven't seen this before, because I have never looked in the log before.

Despite this error message, Code-OSS should run normally.

Silerra avatar Jan 06 '20 11:01 Silerra

I just spent a good 2 hours on this problem

  1. new rpi 4, installed code-oss from headmelted
  2. open vscode, notice opt-out notification for telemetry
  3. update settings to opt-out
  4. every time i open vscode i see the opt out message
  5. search for an hour for anything bug report about the notification always appearing - nothing
  6. checked the logs found the sqlite3 exception
  7. spent a couple of hours trying to build sqlite and update npm and node -- never fixed the module note found exception
  8. decided to finally give up and report the bug to this repo..and found this bug

so.. yeah -- it would be nice if this gets fixed or anyone can find a work around

Thanks!

payonel avatar Jun 14 '20 04:06 payonel

@payonel - I have build a version for myself. You can download it here https://github.com/tuanpham-dev/vscode-arm-builder/releases. I will create pull request for this soon.

tuanpham-dev avatar Jun 14 '20 16:06 tuanpham-dev