electron

PYTHON module "requests" not working with packaged electron app

PYTHON module "requests" not working with packaged electron app Question: In my electron app I have a python file that has two import statements shown below import requests import shutil The app works fine without an errors in the IDE but after packaging the electron app with npx electron-packager ./ –platform=darwin –icon=src/img/logo.icns The app gives …

Total answers: 2

Can't resolve 'child_process'

Can't resolve 'child_process' Question: I am currently on the backend of my software which runs via electron but I can’t get the data. So I tried to retrieve the data from a python program that sends it using Flask, but when I run the npm start command it gives me the following error message: Module …

Total answers: 2

Including python script in packaged electron app

Including python script in packaged electron app Question: After packaging my app for a linux system, the python script for doing some background tasks fails to execute, probably because it is not packaged correctly. I’ve looked through several threads now, stumbled over ASAR, extraResources etc. but I’m not really getting it to work. My folder …

Total answers: 2

Electron Problem runing manage.py runserver

Electron Problem runing manage.py runserver Question: I’m developing a web app, but just yesterday when i try to run manage.py wiht runserver appeared to me this error "(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. …

Total answers: 2

How to check if my Bokeh Server Application is completely loaded and rendered?

How to check if my Bokeh Server Application is completely loaded and rendered? Question: I would like to integrate my Bokeh Server Application in Electron. So what I did is to run bokeh server using python-shell like this mainWindow = new BrowserWindow({ width: 1000, height: 700, show: false, }) var PythonShell = require(‘python-shell’); var options …

Total answers: 1

Python on Electron framework

Python on Electron framework Question: I am trying to write a cross-platform desktop app using web technologies (HTML5, CSS, and JS). I took a look at some frameworks and decided to use the Electron framework. I’ve already done the app in Python, so I want to know if is possible to write cross-platform desktop applications …

Total answers: 6