python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Long delay when .init runs (debugging in VS code only?) #466

Open CombatVolcano opened 3 years ago

CombatVolcano commented 3 years ago

Eel version Tried latest 1.x.x and also tried 0.14.0

Describe the bug When eel.init runs, when I am running through debug in VS code, there is a delay as long as an entire minute before the GUI launches. This does NOT happen when running an exe compiled with pyinstaller

To Reproduce Steps to reproduce the behavior: Debug eel.init in vs code?

Expected behavior GUI loads right away

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ChrisKnott commented 3 years ago

After long hiatus I am looking at making some improvements to Eel, and I will look into this

CombatVolcano commented 3 years ago

It turns out in my case this was related to an ICO pack in the folder which had thousands of files.

On Thu, Jul 22, 2021 at 4:07 AM Chris Knott @.***> wrote:

After long hiatus I am looking at making some improvements to Eel, and I will look into this

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ChrisKnott/Eel/issues/466#issuecomment-884797196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7EOIO4PYVDRDPLWGRKJFLTY7UW7ANCNFSM4ZLPKE3Q .