Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError in bootstrap script #1918

Closed
tjstum opened this issue Apr 1, 2016 · 2 comments
Closed

NameError in bootstrap script #1918

tjstum opened this issue Apr 1, 2016 · 2 comments

Comments

@tjstum
Copy link

tjstum commented Apr 1, 2016

This has been mentioned in a couple of other issues (#1891, #1871, #1863), but I don't think it's gotten its own issue.

7933cbb (related to #1847) appears to break the bootstrap process at least on Windows. A trivial PyInstaller program named test.py:

def main():
    print "success!"

if __name__ == "__main__":
    main()

Built as pyinstaller --clean -y test.py.
Runs fine from PyInstaller installed at dc88bfd. Breaks on 7933cbb:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'c' is not defined
pyiboot01_bootstrap returned -1

I do not speak the CPython API all that well, so it's not super clear to me where the exact problem is. I'm happy to try various things if people have ideas but not a great way to (e.g.) test on Windows.

Thanks in advance!

@htgoebel
Copy link
Member

htgoebel commented Apr 2, 2016

When using the current development version on Windows, you need to compiler the bootloader.

@matysek
Copy link
Member

matysek commented Apr 2, 2016

@tjstum Thaks for reporting. I just pushed some changes that also recompile windows bootloader.

This should be fixed in 6c0c40f

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants