A little Python library for making simple Electron-like HTML/JS GUI apps.
Questions tagged [eel]
152 questions
0
votes
2 answers
Eel. Unable to access site. The localhost site is unable to establish a connection
I ran the program, it works for a couple of minutes, and then it gives an error.
Unable to access site.
The localhost site is unable to establish a connection.
ERR_CONNECTION_REFUSED
The error occurs after switching from one html page to…

QuickSilver
- 11
- 3
0
votes
1 answer
How to stop a Twisted Reactor with a GUI event from Eel?
I'm working on building a Python GUI app (using Eel) that uses a Twisted Reactor to continuously make calls to a network connected RFID reader. The data that's collected needs to be parsed and the GUI needs to be updated.
During this loop, the GUI…

Rohan Menon
- 13
- 3
0
votes
1 answer
React with eel - multiple pages
So I have React application and I need to access another page from the navbar. I'm able to call another HTML file from "href" but then Python script (which uses eel) ends.
Settings
("settings.html" loads…

G Naglic
- 11
- 3
0
votes
0 answers
Python eel module doesn`t recognize JS functions
when Im calling the JS function through my python code with the eel.function()() it says "Cannot find reference 'function' in 'init.py'", it seems to be working fine in my teachers video.
Here`s the python code:
eel.init('web')
def user_input():
…

Bruchel
- 13
- 2
0
votes
1 answer
error while compiling application with pyinstaller [eel]
Earlier, when compiling a script using pyinstaller, everything was fine. I run like this.
python -m eel stat1.py web --onefile --noconsole
Now I get this error. What could be the problem? I used to build an application in python 3.7, now 3.9 the…

qwerty
- 205
- 2
- 10
0
votes
1 answer
Eel Application using chrome extensions
I saw Eel module which is used to make gui applications with Python and web languages. I tried that out and found that my application is using chrome extensions.
Like I have darkreader installed, and whenever I am enabling it, my application is…

BladeOfLightX
- 504
- 4
- 17
0
votes
1 answer
calling multiple python functions while some of them still not finished
I'm using eel to write a program and I have an issue
let's say we have this python code:
import eel
eel.init('web')
run =1
@eel.expose
def start():
global run
while run:
print("loop")
@eel.expose
def stop():
global run
…

Erfan Paslar
- 110
- 1
- 8
0
votes
2 answers
Python: running eel with multithreading results in a error
NOTE:-
if run eel without threading, it works just fine
if i run threading without eel, it works just fine
if i use Multiprocessing with eel, it works just fine
i have tried uninstalling and reinstalling python several times, i have also tried…

elit3
- 11
- 1
0
votes
1 answer
Array not passing from Python Eel to Javascript
Hi I'm currently working on a desktop app using Python Eel, JS and HTML, but cannot seem to get a Python List to pass into JS for a new function. The Python side is working fine as it prints out the list of expected file names for me. If I insert an…
0
votes
1 answer
Eel function returns null
I was developing python program with Eel module.
But there is problem. It's that return null from eel.getImgSrc(path) function to get image's byte data.
Look at this code.
-----web/main.js------
async function run(path) {
let n = await…

Giant Brain
- 124
- 1
- 13
0
votes
2 answers
How to start python Eel in any available browser of user system?
I am trying to create a windows based application using eel. I want it to start in any available browser in the system of the user. How can I do it ? ( consider that user have not installed chrome in his system )

Himanshu Singh Chauhan
- 355
- 1
- 12
0
votes
1 answer
Eel application: download files in Browser
i´m currently using JavaScript and HTML with eel and Python. But unfortunately when I am trying to create a file in the Chrome-Browser window (as an download) over JS i can only download it once.
The second "download" is not working.
-> Chrome just…

Fabi0
- 131
- 2
- 5
0
votes
1 answer
Uncaught ReferenceError: eel is not defined
Hello i am trying to run a py function but gives me 2 errors and I dont know what to do can some one help me pls.
Error 1: http://localhost/web/eel.js net::ERR_ABORTED 404 (Not Found)
Error 2: Uncaught ReferenceError: eel is not defined at…

Pedro Tavares
- 27
- 5
0
votes
0 answers
How to pass image to python script in EEL
I'm making a desktop app with python + eel.
So, JS draws on a canvas. When done, it should pass the image to the python side which should save it to disk.
==> Javascript
var the_canvas = document.getElementById("myCanvas");
var ctx =…
0
votes
1 answer
I am having a problem linking EEL to a HTML document
hey guys so im trying to make a gui using EEL any python but when I follow all the guides my html file has a problem importing eel. I get an error 404 saying eel.js could not be found. I figure this is a linking issue but is there any way for me to…

Kninja99
- 13
- 5