[GH-ISSUE #364] UI stuck at "Initializing..." when using PyInstaller 5.8.0 #302

Closed
opened 2026-02-26 12:21:08 +03:00 by kerem · 11 comments
Owner

Originally created by @brentvollebregt on GitHub (Feb 12, 2023).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/364

Originally assigned to: @brentvollebregt on GitHub.

Quick Checks

  • I have read/searched in the help post
  • I have searched other issues, looking for an issue similar to mine
  • [Not Applicable] I have made sure my application/script runs before trying to package

Describe the bug
When running auto-py-to-exe, the UI is stuck on the "Initializing..." spinner.

See screenshot:

image

The console contains no errors but Chrome's DevTools has this error:

Uncaught (in promise) TypeError: o.choices.map is not a function
    at interface.js:182:23
    at Array.forEach (<anonymous>)
    at _createSubSectionInAdvanced (interface.js:102:13)
    at interface.js:378:9
    at Array.forEach (<anonymous>)
    at constructAdvancedSection (interface.js:377:22)
    at initialise.js:76:5

To Reproduce
Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):

  1. Install auto-py-to-exe using pip
  2. Validate PyInstaller 5.8.0 is installed (this was released 14hrs ago at the time of writing)
  3. Run auto-py-to-exe

On step 3, the error will appear

Expected behavior

The "Initializing..." spinner should disappear.

Your Environment:

  • Python version (python --version): 3.9.9
  • auto-py-to-exe version (pip show auto-py-to-exe): 2.29.0
  • PyInstaller version (pip show pyinstaller): 5.8.0
  • Eel version (pip show eel): 0.14.0
Originally created by @brentvollebregt on GitHub (Feb 12, 2023). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/364 Originally assigned to: @brentvollebregt on GitHub. **Quick Checks** - [x] I have read/searched in the [help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe) - [x] I have [searched other issues](https://github.com/brentvollebregt/auto-py-to-exe/issues?q=is%3Aissue+), looking for an issue similar to mine - [ ] [Not Applicable] I have made sure my application/script runs before trying to package **Describe the bug** When running auto-py-to-exe, the UI is stuck on the "Initializing..." spinner. See screenshot: ![image](https://user-images.githubusercontent.com/19944838/218295786-e0f88023-7d29-4999-a850-2c6292e099d1.png) The console contains no errors but Chrome's DevTools has this error: ``` Uncaught (in promise) TypeError: o.choices.map is not a function at interface.js:182:23 at Array.forEach (<anonymous>) at _createSubSectionInAdvanced (interface.js:102:13) at interface.js:378:9 at Array.forEach (<anonymous>) at constructAdvancedSection (interface.js:377:22) at initialise.js:76:5 ``` **To Reproduce** Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI): 1. Install auto-py-to-exe using pip 2. Validate PyInstaller 5.8.0 is installed (this was released 14hrs ago at the time of writing) 3. Run auto-py-to-exe On step 3, the error will appear **Expected behavior** The "Initializing..." spinner should disappear. **Your Environment:** - Python version (`python --version`): 3.9.9 - auto-py-to-exe version (`pip show auto-py-to-exe`): 2.29.0 - PyInstaller version (`pip show pyinstaller`): 5.8.0 - Eel version (`pip show eel`): 0.14.0
kerem 2026-02-26 12:21:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2023):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:1426952128 --> @github-actions[bot] commented on GitHub (Feb 12, 2023): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@brentvollebregt commented on GitHub (Feb 12, 2023):

It appears the choices passed from PyInstaller are no longer an array and is now a dictionary. A .map in JavaScript will no longer iterate over the values.

image

This has been caused from this PR: https://github.com/pyinstaller/pyinstaller/pull/7414/files

<!-- gh-comment-id:1426952417 --> @brentvollebregt commented on GitHub (Feb 12, 2023): It appears the choices passed from PyInstaller are no longer an array and is now a dictionary. A `.map` in JavaScript will no longer iterate over the values. ![image](https://user-images.githubusercontent.com/19944838/218295969-9ec2f59d-ba82-4105-844f-2105156a15a2.png) This has been caused from this PR: https://github.com/pyinstaller/pyinstaller/pull/7414/files
Author
Owner

@brentvollebregt commented on GitHub (Feb 12, 2023):

Fixed in v2.29.1 (0917de3655)

<!-- gh-comment-id:1426953696 --> @brentvollebregt commented on GitHub (Feb 12, 2023): Fixed in v2.29.1 (0917de365526304a6f2309b0d23fe63e05f089bd)
Author
Owner

@victorhramos-dev commented on GitHub (Feb 15, 2023):

not fixed, still happening
auto-py-to-exe: v.2.30.0
pyinstaller: 5.8.0
python: 3.7.9

<!-- gh-comment-id:1431373033 --> @victorhramos-dev commented on GitHub (Feb 15, 2023): not fixed, still happening auto-py-to-exe: v.2.30.0 pyinstaller: 5.8.0 python: 3.7.9
Author
Owner

@brentvollebregt commented on GitHub (Feb 15, 2023):

@victorhramos-dev are you still getting the exact same issue? Please take a screenshot of the error in DevTools and paste it here.

<!-- gh-comment-id:1431848045 --> @brentvollebregt commented on GitHub (Feb 15, 2023): @victorhramos-dev are you still getting the **exact** same issue? Please take a screenshot of the error in DevTools and paste it here.
Author
Owner

@TalkLounge commented on GitHub (Feb 23, 2023):

Can confirm, still happening

  • Master Branch
  • Python 3.10.5
  • Windows 10 Home

grafik

<!-- gh-comment-id:1442277151 --> @TalkLounge commented on GitHub (Feb 23, 2023): Can confirm, still happening * Master Branch * Python 3.10.5 * Windows 10 Home ![grafik](https://user-images.githubusercontent.com/26689633/221003281-297674cd-4026-4bfd-b449-982e5d446038.png)
Author
Owner

@brentvollebregt commented on GitHub (Feb 23, 2023):

@TalkLounge the call o.choices.map doesn't exist on the current master branch - this commit removed it.

When you execute auto-py-to-exe --version, what do you get back?

<!-- gh-comment-id:1442322476 --> @brentvollebregt commented on GitHub (Feb 23, 2023): @TalkLounge the call `o.choices.map` doesn't exist on the current master branch - [this commit removed it](https://github.com/brentvollebregt/auto-py-to-exe/commit/0917de365526304a6f2309b0d23fe63e05f089bd). When you execute `auto-py-to-exe --version`, what do you get back?
Author
Owner

@TalkLounge commented on GitHub (Feb 23, 2023):

Seemed to be an cache issue. Reinstalling python fixed it for me

<!-- gh-comment-id:1442344279 --> @TalkLounge commented on GitHub (Feb 23, 2023): Seemed to be an cache issue. Reinstalling python fixed it for me
Author
Owner

@AnonymousCoderArtist commented on GitHub (Dec 4, 2024):

image
Getting the same error again

<!-- gh-comment-id:2516301527 --> @AnonymousCoderArtist commented on GitHub (Dec 4, 2024): ![image](https://github.com/user-attachments/assets/e8a9f04b-1dc4-4e6e-9aa5-0b9e92648a31) Getting the same error again
Author
Owner

@brentvollebregt commented on GitHub (Dec 4, 2024):

@AnonymousCoderArtist, from what I can see, this is not happening on the latest auto-py-to-exe and pyinstaller. Please check you are using the latest versions.

If this is still happening on the latest versions for you, please create a new issue and list the versions you are using in the issue template.

<!-- gh-comment-id:2516609197 --> @brentvollebregt commented on GitHub (Dec 4, 2024): @AnonymousCoderArtist, from what I can see, this is not happening on the latest auto-py-to-exe and pyinstaller. Please check you are using the latest versions. If this is still happening on the latest versions for you, please create a new issue and list the versions you are using in the issue template.
Author
Owner

@AnonymousCoderArtist commented on GitHub (Dec 4, 2024):

ok

<!-- gh-comment-id:2517848903 --> @AnonymousCoderArtist commented on GitHub (Dec 4, 2024): ok
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#302
No description provided.