continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
15.81k stars 1.2k forks source link

"Invalid ELF Header Error on PyCharm with Continue Plugin - Node SQLite3 Module Load Failure" #2023

Open abhinav-aq opened 4 weeks ago

abhinav-aq commented 4 weeks ago

Before submitting your bug report

Relevant environment info

- OS:
- Continue:
- IDE:
- Model:
- config.json:

Description

Whenever I open PyCharm (version 2024.2), I encounter a persistent error pop-up related to the Continue Plugin (version 0.0.59). The error points to a failure in loading the node_sqlite3.node due to an "invalid ELF header". This error disrupts the functionality of the plugin and affects the startup of the IDE.

Error Message: Error: /home/abhinav/.local/share/JetBrains/PyCharmCE2024.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' }

To reproduce

  1. Install Continue Plugin version 0.0.59 on PyCharm 2024.2.
  2. Open PyCharm.
  3. Error prompts at startup.

Log output

No response

fry69 commented 4 weeks ago

0.0.59 is broken, use 0.0.56 for now until a new version (0.0.61 or newer) has been released (may happen soon)

Download from here -> https://plugins.jetbrains.com/plugin/22707-continue/versions and install from disk.

sestinj commented 3 weeks ago

@abhinav-aq if you have the chance, let me know how version 0.0.62 goes for you. It is an EAP version, which you can download like here: https://docs.continue.dev/troubleshooting#jetbrains-1.

We're looking to get feedback on this, as it's the first of many auto-deployed releases. If it goes well, then we can assume much higher reliability going forward

abhinav-aq commented 3 weeks ago

Yeah, thanks!!

Now, working great.


From: Nate Sesti @.> Sent: Wednesday, August 21, 2024 5:19 AM To: continuedev/continue @.> Cc: Abhinav Sharma @.>; Mention @.> Subject: Re: [continuedev/continue] "Invalid ELF Header Error on PyCharm with Continue Plugin - Node SQLite3 Module Load Failure" (Issue #2023)

@abhinav-aqhttps://github.com/abhinav-aq if you have the chance, let me know how version 0.0.62 goes for you. It is an EAP version, which you can download like here: https://docs.continue.dev/troubleshooting#jetbrains-1.

We're looking to get feedback on this, as it's the first of many auto-deployed releases. If it goes well, then we can assume much higher reliability going forward

— Reply to this email directly, view it on GitHubhttps://github.com/continuedev/continue/issues/2023#issuecomment-2299944046, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAMDJ5NM2DXFKC6UY6U4YCDZSPIZ5AVCNFSM6AAAAABMTNQWI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZHE2DIMBUGY. You are receiving this because you were mentioned.Message ID: @.***>