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

fbs freeze throws AttributeError: 'NoneType' object has no attribute 'groups' #236

Closed
bicarlsen opened this issue Jun 24, 2021 · 5 comments

Comments

@bicarlsen
Copy link

Note: This is an issue with PyInstaller not fbs, but it seemed relevant to the community, so I wanted to share it here.

The issue is addressed in Issue #5540 of PyInstaller, and is resolved by bwoodsend's 5540 patch.

@mherrmann
Copy link
Owner

Thank you for sharing!

@Kastakin
Copy link

Kastakin commented Jun 24, 2021

The problem seems to be relevant only on Arch-Linux machines due to a glibc incompatibility. On Windows, Mac or Ubuntu the issue doesn't appear to be relevant. I have a GitHub Actions based pipeline to compile installers for the aforementioned OSs as targets and the runners complete their jobs without any issues.

As a workaround on my local machine I had to download the last source for PyInstaller, manually edit the paackage version to 3.4 (since it's the highest version supported by fbs that doesn't throw an error when running fbs freeze) and then in the virtual environment uninstall pyinstaller and install the locally modified version instead.

It's not pretty but it works for the time being... @mherrmann What are the main issues that limit the possibility to use newer releases of the pyinstaller package? I might look into it and make a pull request for it if it's something I can help with!

@bicarlsen
Copy link
Author

@Kastakin , I’m on Ubuntu 21 and got this error, too.

@Kastakin
Copy link

@Kastakin , I’m on Ubuntu 21 and got this error, too.

My Github Runner is running on Ubuntu-18.04 to have an higher compatibility, it probably still runs an older version of glibc. Thanks for pointing it out!

@bicarlsen
Copy link
Author

@Kastakin , I’m on Ubuntu 21 and got this error, too.

My Github Runner is running on Ubuntu-18.04 to have an higher compatibility, it probably still runs an older version of glibc. Thanks for pointing it out!

I believe the change occured with Ubuntu 21, my Ubuntu 20 machine seems to be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants