continue icon indicating copy to clipboard operation
continue copied to clipboard

IDEA plugin version is ahead of release (0.0.59 vs 0.0.56), and elf header is wrong for sqllite.

Open jmagder opened this issue 1 year ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue: 0.0.59 somehow, should be 0.0.56
- IDE: IntelliJ IDEA

Description

Problem

This morning IDEA let me know there was a new continue plugin version 0.0.59, which is not listed on github releases. After updating it, I get an error about the ELF header being wrong for sqlite. Did someone accidentally push a dev build with osx binary to production?

Running file against continue-intellij-extension/core/build/Release/node_sqlite3.node returns: node_sqlite3.node: Mach-O 64-bit arm64 bundle, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK>

Work Around

I manually downloaded the 0.0.56 release and installed that instead, and things are working again. Unfortunately intellij now bugs me upgrade, but I'll ignore.

To reproduce

  1. Load up IntelliJ IDEA and check for new plugins
  2. IntelliJ IDEA says version 0.0.59 is available for download.
  3. Download and restart
  4. The plugin is now broken.

Log output

Core process exited with output: / snapshot/ continue/ binary/ out/ index. js:49615 throw e3; ^ Error: / home/ jeff/.local/ share/ JetBrains/ IntelliJIdea2024.2/ continue-intellij-extension/ core/ build/ Release/ node_sqlite3.node: invalid ELF header at process. dlopen (pkg/ prelude/ bootstrap. js:2251:28) at Module._extensions..node (node:internal/ modules/ cjs/ loader:1196:18) at Module. load (node:internal/ modules/ cjs/ loader:988:32) at Module._load (node:internal/ modules/ cjs/ loader:834:12) at Module. require (node:internal/ modules/ cjs/ loader:1012:19) at Module. require (pkg/ prelude/ bootstrap. js:1851:31) at require (node:internal/ modules/ cjs/ helpers:102:18) at bindings (/ snapshot/ continue/ binary/ out/ index. js:49608:54) at ../ core/ node_modules/ sqlite3/ lib/ sqlite3-binding. js (/ snapshot/ continue/ binary/ out/ index. js:49680:41) at __require (/ snapshot/ continue/ binary/ out/ index. js:18:51) { code: 'ERR_DLOPEN_FAILED' } Node. js v18.5.0

jmagder avatar Aug 08 '24 19:08 jmagder

In addition, even if installing 0.0.59 with the latest e.g. Pycharm Professional, the plugin crashes while chunking.

JulianGerhard21 avatar Aug 09 '24 07:08 JulianGerhard21

oh god i've just updated it

Altroo avatar Aug 09 '24 16:08 Altroo

I also updated this version and the same exception crashed. I suspect the VS CODE package was distributed to IntelliJ IDEA software

Geek-Bob avatar Aug 10 '24 00:08 Geek-Bob

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 03 '25 04:03 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 14 '25 02:03 github-actions[bot]