Starting Error: SQLITE_CANTOPEN

In my Gentoo box, the following exceptions are thrown as starting:

[30288:1016/123451.964354:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[30325:1016/123452.105337:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[main 2024-10-16T16:34:52.156Z] update#setState disabled
[main 2024-10-16T16:34:52.163Z] update#ctor - updates are disabled as there is no update URL
[main 2024-10-16T16:34:52.211Z] [storage state.vscdb] error checking size of src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.workspaceUser: Error: Unexpected number of rows - 0
[main 2024-10-16T16:34:52.211Z] [storage state.vscdb] error checking size of src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.workspaceUser: Error: Unexpected number of rows - 0
[main 2024-10-16T16:34:52.211Z] [storage state.vscdb] error checking size of workbench.panel.aichat.view.aichat.chatdata: Error: Unexpected number of rows - 0
[main 2024-10-16T16:34:52.211Z] [storage state.vscdb] error checking size of composer.composerData: Error: Unexpected number of rows - 0
[main 2024-10-16T16:34:52.211Z] [storage state.vscdb] error checking size of composer.composerData: Error: Unexpected number of rows - 0
[main 2024-10-16T16:34:52.223Z] [uncaught exception in main]: Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-10-16T16:34:52.223Z] Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-10-16T16:34:52.223Z] [uncaught exception in main]: Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-10-16T16:34:52.223Z] Error: SQLITE_CANTOPEN: unable to open database file
[30366:1016/123452.306875:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[30353:1016/123452.386381:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[main 2024-10-16T16:34:53.288Z] vscode-file: Refused to load resource /tmp/.mount_cursorE9Jnka/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_cursorE9Jnka/resources/app/extensions/theme-seti/icons/seti.woff)

Hi @ELF

Cursor might have been installed incorrectly. Try reinstalling it and take a look at this guide:

Hi @deanrie

Is there any installation steps required for AppImage? My Cursor runs pretty well except for the starting exceptions. What’s the main purpose of SQLITE in Cursor? Will it impact my usage without the SQLITE feature?

Give this guide a try. The database generally stores various information from Cursor, and there might be an issue with file write permissions. Try different options, and let me know if something doesn’t work out.

The SQLITE_CANTOPEN message is harmless and has been fixed for the next release.

1 Like

checked the guide. to the future Linux users: the guide is useless to the issue.

1 Like