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

Initialization of FreeCAD failed for non-root user #1

Open
Muerio opened this issue Jan 8, 2021 · 0 comments
Open

Initialization of FreeCAD failed for non-root user #1

Muerio opened this issue Jan 8, 2021 · 0 comments

Comments

@Muerio
Copy link

Muerio commented Jan 8, 2021

Hi,

I'm trying to use your container to generate CAD models.
Since I don't have root permissions on the host system I'm trying to generate the CAD files with ownership set to my user id.

I run the container with the option -u UID:GID. id reports the right IDs for the user.

But when starting python, I get the following output

I have no name!@75d087d8d5b6:/home$ python3.8
Python 3.8.5 (default, Jul 20 2020, 19:48:14)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Initialization of FreeCAD failed:
While initializing FreeCAD the following exception occurred: 'Getting HOME path from system failed!'


Please contact the application's support team for more information.

Traceback (most recent call last):
  File "/.startup.py", line 1, in <module>
    import FreeCAD
ImportError: Failed to load FreeCAD module!
>>>

I looked around the forum, but didn't find any solutions.
Do you know of a way to fix this?

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

1 participant