Skip to content

[Problem] During initialization the error "No module named 'Assembly_rc'" occurred... #11034

@luzpaz

Description

@luzpaz

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Upon running FreeCAD, report view shows

During initialization the error "No module named 'Assembly_rc'" occurred in /tmp/.mount_FreeCACDuV2e/usr/Mod/Assembly/InitGui.py
Please look into the log file for further information

This has been reported in the forum but has stagnated, see thread: https://forum.freecad.org/viewtopic.php?t=80902

Per @chennes in the forum thread:

we're probably missing an installation step for that RC file, I'll give the cMake setup a look.

I think it may be from this import statement:

import Assembly_rc

Here is the Assmebly subdirectory cmake file:

https://github.com/FreeCAD/FreeCAD/blob/main/src/Mod/Assembly/CMakeLists.txt

Full version info

OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.34651 (Git) AppImage
Build type: Release
Branch: main
Hash: aa5bea4e2e8089bf00f61075a0860dacda42dc8b
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Freecad-Built-in-themes-beta 1.2.2

Subproject(s) affected?

Other (specify in description)

Anything else?

Currently I have no access to the forum so can someone x-post this ticket to said forum thread? TIA

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mod: AssemblyRelated to the Integrated Assembly WorkbenchType: BugThis issue or PR is related to a bug

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions