Python Forum

Full Version: Auto-py-to-exe Stuck At 'Initializing'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm trying to convert a python script to a Windows exe on Windows 7.

I have Python 3.8 installed.
I have auto-py-to-exe installed using the command pip install auto-py-to-exe

When I run auto-py-to-exe, the application opens with the message 'Initializing' and a spinning circle, and stays stuck at this point.

Anyone know why this is, or how to get the application to run?

There doesn't appear to be any way to get hold of the developer, other than through GitHub via a bug report.
Homepage is here: https://pypi.org/project/auto-py-to-exe/

Install log attached.

Thanks.
After some investigation, the issue appears to be with the Chrome browser I have installed.

Task manager shows 9 instances of chrome.exe when I start auto-py-to-exe....

Yep, auto-py-to-exe seems to use a browser to render the GUI, for some reason. It connects to localhost on some specific tcp-ip port as well. If you have a firewall configured as I do (to block all unless a rule match) then this is also something to watch out for.

So I disabled Chrome and set Palemoon as my def browser. That worked. No hanging at the initialization screen.

Regards.
A GUI ?!

Have you tried pyinstaller ?
(Oct-21-2022, 07:51 PM)wavic Wrote: [ -> ]A GUI ?!

Have you tried pyinstaller ?

No. GUI is easier than the command line for first time users, or so I find.

On further investigation, it was the NoScript AddOn in Chrome that was causing the problem. Runs fine in Chrome without it.

You wouldn't know it was using Chrome to render the GUI.
(Oct-21-2022, 09:07 PM)killingtime Wrote: [ -> ]You wouldn't know it was using Chrome to render the GUI.
auto-py-to-exe use Eel to make the GUI.
Eel doc Wrote:Eel is a little Python library for making simple Electron-like offline HTML/JS GUI apps,
with full access to Python capabilities and libraries.
It's stand alone(using Chromium),but can pass flags to the underlying eg Chrome browser.
This is what the project dos to show images.
auto-py-to-exe Wrote:To have the interface displayed in the images,
you will need chrome. If chrome is not installed or --no-chrome is supplied, the default browser will be used
(Oct-21-2022, 06:36 PM)killingtime Wrote: [ -> ]Hi,

I'm trying to convert a python script to a Windows exe on Windows 7.

I have Python 3.8 installed.
I have auto-py-to-exe installed using the command pip install auto-py-to-exe

When I run auto-py-to-exe, the application opens with the message 'Initializing' and a spinning circle, and stays stuck at this point.

Anyone know why this is, or how to get the application to run?


There doesn't appear to be any way to get hold of the developer, other than through GitHub via a bug report.
Homepage is here: https://pypi.org/project/auto-py-to-exe/

Install log attached.

Thanks.

you probably don't have the Net Framework installed.