abrookewood

abrookewood

The Database Connection Smart cell isn't working on Windows 10

Running on Windows 10, Livebook v0.12.1, Elixir v1.15.7 and the latest Firefox or Chrome.

Hi,

I’m running into an issue when trying to set up a database connection using a Smart cell in Livebook.

  • Start with a blank Notebook.
  • Click on the +Smart cell and note the sub-menu showing MySQL, SQLite, SQLServer etc appears.
  • Click on any of the sub-menu items (e.g. SQLIte or MySQL) and you will be informed that the “Database connection“ smart cell requires certain packages and asked whether you would like to add them as dependencies and restart.
  • Click “Add and restart” and wait for the Dependencies and Setup cell to re-evaluate.
  • Click on the +Smart cell and note the sub-menu showing is no longer visible.
  • Edit the Dependencies and Setup cell, remove {:kino_db, “~> 0.2.3”} and re-evaluate.
  • Click on the +Smart cell and note the sub-menu showing is now visible again.

I’ve checked the logs and nothing is reported there other than the starting of the Livebook Application. Viewing Chrome/Firefox DevTools doesn’t show any errors when the Smart cell is clicked. I’ve tried in multiple browsers, disabled anti-virus, disabled extensions etc and nothing changes the behaviour.

Any help appreciated.



Marked As Solved

abrookewood

abrookewood

Just adding that installing Livebook from source had exactly the same behaviour as running via the integrated Windows download.

The workaround I am using is to run it in a VM which works without issue - so it’s definitely something wrong with my machine (probably security software).

Also Liked

cmo

cmo

Is there anything in the browser console?

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
hpopp
To simplify some tasks at work, I wrote and published this package yesterday. It’s a simple macro that enables Access behaviour on struct...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement