Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal application cannot find spellfix.so #3783

Closed
aulin opened this issue Sep 21, 2020 · 10 comments
Closed

Terminal application cannot find spellfix.so #3783

aulin opened this issue Sep 21, 2020 · 10 comments
Labels
bug It's a bug

Comments

@aulin
Copy link

aulin commented Sep 21, 2020

After updating the joplin terminal application to version 1.1.7, when I try to run it, I get the following error:

❯ joplin
events.js:291
      throw er; // Unhandled 'error' event
      ^

[Error: SQLITE_ERROR: ./build/lib/sql-extensions/spellfix.so: cannot open shared object file: No such file or directory
Emitted 'error' event on Database instance at:
] {
  errno: 1,
  code: 'SQLITE_ERROR'
}

The file actually resides in ~/.joplin-bin/lib/node_modules/joplin/lib/sql-extensions/spellfix.so but that's not the path that gets reported. If I create the folder structure in the current directory with a symlink to the so-file, joplin starts just fine.

Environment

Joplin version: 1.1.7
Platform: terminal
OS specifics: Ubuntu 15.04.5 LTS x86_64
Node version: 14.11.0
Npm version: 6.14.8

Steps to reproduce

  1. Update the joplin terminal app by doing NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin
  2. Run the joplin terminal app

Describe what you expected to happen

Joplin should launch normally.

Logfile

File .config/joplin/log.txt:
2020-09-21 14:29:35: "Profile directory: /home/johan/.config/joplin"

@aulin aulin added the bug It's a bug label Sep 21, 2020
@duckunix
Copy link

I am seeing this as well on Ubuntu 20.04 x86_64 and npm 6.14.4

@aulin
Copy link
Author

aulin commented Sep 21, 2020

I updated my post with node/npm versions as well.

@aulin
Copy link
Author

aulin commented Sep 21, 2020

On my Raspberry Pi, I get the same error, and the app doesn't start even with a directory structure containing spellfix.so in the current dir. That instance is installed in my home folder using nvm though, so it's installed using:

npm i -g joplin

and ends up in:

/home/johan/.nvm/versions/node/v14.8.0/bin/joplin

The environment for that computer is:

Joplin version: 1.1.7
Platform: terminal
OS specifics: Manjaro ARM Linux aarch64
Node version: 14.8.0
Npm version: 6.14.7

File .config/joplin/log.txt:
2020-09-21 19:24:09: "Profile directory: /home/johan/.config/joplin"

@seth100
Copy link

seth100 commented Sep 21, 2020

Same here. Pop!_OS 20.04 LTS x64 and npm 6.14.8

@yashasolutions
Copy link

same here
Linux pop-os 5.0.0-21-generic #22+system76-Ubuntu
npm 6.13.0

@dbarrosop
Copy link

Same on macos

@rusty-electron
Copy link

facing the same issue on arch kernel 5.8.10

@yashasolutions
Copy link

Fixed with :
$ sudo apt-get install libsqlite3-dev

then reinstalled joplin, and worked.

@duckunix
Copy link

Actually, it was commit 6aca233 which fixed it. I already had the latest version of libsqlite3-dev installed.

@aulin
Copy link
Author

aulin commented Sep 24, 2020

I can confirm that the issue is resolved in version 1.2.1 for both my Ubuntu laptop and my Manjaro raspberry pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

6 participants