Assembly 4 Error: Bill of Materials

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
ericb0422
Posts: 3
Joined: Tue Jan 24, 2023 10:33 pm

Assembly 4 Error: Bill of Materials

Post by ericb0422 »

Hello. When I try to create a Bill of Materials in Assembly, I get the following error:

[Errno 2] No such file or directory: 'C:\\Users\\**USER**\\AppData\\Roaming\\FreeCAD\\Templates\\Asm4_infoPartConf.json'

My version:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Assembly4 0.12.5
  * fasteners 0.4.54
  * Help 1.0.3

After further looking, I found that I do not have the Templates folder:

Code: Select all

 Directory of C:\Users\**USER**\AppData\Roaming\FreeCAD

01/19/2023  01:19 PM    <DIR>          .
01/19/2023  10:46 AM    <DIR>          ..
01/19/2023  01:19 PM    <DIR>          AdditionalPythonPackages
01/24/2023  05:39 PM    <DIR>          Macro
01/24/2023  05:25 PM    <DIR>          Mod
01/24/2023  05:39 PM               922 system.cfg
01/25/2023  08:35 AM            51,775 user.cfg
01/19/2023  01:02 PM    <DIR>          webdata
Maybe I can just copy/paste the templates into this path? Can anyone direct me to the location of the templates folders or suggest other ways to fix this issue?

Any help is greatly appreciated! Thanks!
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Assembly 4 Error: Bill of Materials

Post by onekk »

Most probably is a Directory permission problems, with Windows is not unusual.

Regards.

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Assembly 4 Error: Bill of Materials

Post by GeneFC »

ericb0422 wrote: Thu Jan 26, 2023 10:43 pm Maybe I can just copy/paste the templates into this path?
Won't hurt to try. Just create "Templates" in that folder structure.

It is unlikely to be a permissions problem, since even ordinary (non-Administrator) users should have full access to that location.

Gene
ericb0422
Posts: 3
Joined: Tue Jan 24, 2023 10:33 pm

Re: Assembly 4 Error: Bill of Materials

Post by ericb0422 »

Thanks. Where could I find the templates?
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 Error: Bill of Materials

Post by Zolko »

ericb0422 wrote: Fri Jan 27, 2023 10:04 pm Thanks. Where could I find the templates?
The BOM and PartInfo are mostly broken currently (too many cooks spoil the broth). But I think you can create a template by using PartInfo on a part and that will do the job.

This is next on the todo list but currently I have little time.
try the Assembly4 workbench for FreCAD — tutorials here and here
ericb0422
Posts: 3
Joined: Tue Jan 24, 2023 10:33 pm

Re: Assembly 4 Error: Bill of Materials

Post by ericb0422 »

Thanks for the clarification and thanks for your work on this. I'll wait patiently!
Post Reply