Python Forum
Auto-py-to-exe Stuck At 'Initializing'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto-py-to-exe Stuck At 'Initializing'
#1
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.

Attached Files

.txt   install.txt (Size: 4.01 KB / Downloads: 275)
Reply
#2
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.
Reply
#3
A GUI ?!

Have you tried pyinstaller ?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#4
(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.
Reply
#5
(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
Reply
#6
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  "unexpected keyword arg" when initializing my subclasses Phaze90 3 3,111 Nov-25-2022, 07:39 PM
Last Post: Gribouillis
  Initializing a PRINTDLG structure-how to hammer 4 1,483 Jun-08-2022, 07:07 PM
Last Post: jefsummers
  Syntax when initializing empty lists Mark17 2 1,355 Jun-02-2022, 04:09 PM
Last Post: Mark17
  Initializing, reading and updating a large JSON file medatib531 0 1,767 Mar-10-2022, 07:58 PM
Last Post: medatib531
  Self re-initializing variable? python_user_n 6 3,186 May-03-2019, 02:52 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020