cpeluti

cpeluti

Exqlite NIF error when trying to debug phoenix project on vscode

Well, after getting tired of using prints to debug, I’ve decided to setup the debugger. After setting the launch as this:

{
    "configurations": [
        {
            "type": "mix_task",
            "name": "mix phx.server",
            "request": "launch",
            "task": "phx.server",
            "projectDir": "${workspaceRoot}",
            "exitAfterTaskReturns": false 
        }
    ]
}

I get the following error:

[error] :gen_statem #PID<0.3054.0> terminating
** (ErlangError) Erlang error: :not_loaded

    (erts 17.0.2) :erlang.nif_error(:not_loaded)

    (exqlite 0.39.0) Elixir.Exqlite.Sqlite3NIF.erl:27: Exqlite.Sqlite3NIF.open/2

    (exqlite 0.39.0) Elixir.Exqlite.Connection.erl:584: Exqlite.Connection.do_connect/2

    (db_connection 2.10.2) Elixir.DBConnection.Connection.erl:81: DBConnection.Connection.handle_event/4

Process Label: "db_conn_1"

Queue: [internal: {:connect, :init}]

Postponed: []

State: Exqlite.Connection

Anyone have any clue on where to start solving that?

Where Next?

Trending in Troubleshooting Top

anotherpit
Summary A downstream job that deps on a graft correctly waits for the grafted jobs at one graft level, but stops waiting when the workflo...
New
octowombat
I tried to run the first LLM example “Your first LLM agent” in LiveBook. Firstly I got a weird Setup block: Mix.install([ {{mix_dep:ji...
New
cpeluti
Well, after getting tired of using prints to debug, I’ve decided to setup the debugger. After setting the launch as this: { "configu...
New
lunipaws
while setting up my development enviroment I encountered an issue that I just haven’t been able to resolve after running mix phx.gen.cer...
New
interpretive_scholar
I am trying to build a container for a new Phoenix app that I want to deploy in our kubernetes cluster. The container blows up when it ...
New
nwjlyons
or put another way, can I run a chunked worker on a queue which has no global limit set?
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement