Possible bug in A2+ when opening file.

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Possible bug in A2+ when opening file.

Post by dan-miel »

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git)
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Assembly4 0.11.12
  * fasteners 0.4.3
  * Manipulator 1.4.3
  * QuickMeasure bak 2022-10-16am810.zip
  * QuickMeasure just before push.zip
  * QuickMeasure-main
  * QuickMeasure-main (1).zip
When I open an A2plus file but I don’t have A2+ installed I get the following error

Code: Select all

08:36:40  Traceback (most recent call last):
  File "C:\Freecad 20-1\FreeCAD_weekly-builds-30492-2022-10-16-conda-Windows-x86_64-py38\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'a2p_importedPart_class'
Has anyone else noticed this?
Steps to reproduce:
Delete A2plus folder from FreeCAD/Mod.
Start FreeCAD.
Open A2+ file.
Dan
User avatar
onekk
Veteran
Posts: 6222
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Possible bug in A2+ when opening file.

Post by onekk »

dan-miel wrote: Sun Oct 16, 2022 4:02 pm... [/code]

Hello,
Did you notice that you have duplicated the post?
Last edited by onekk on Sun Oct 16, 2022 4:56 pm, edited 1 time in total.
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/
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: Possible bug in A2+ when opening file.

Post by dan-miel »

onekk wrote: Sun Oct 16, 2022 4:55 pm Did you notice that you have duplicated the post?
Thanks onekk. I deleted the other post.
User avatar
onekk
Veteran
Posts: 6222
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Possible bug in A2+ when opening file.

Post by onekk »

dan-miel wrote: Wed Oct 19, 2022 5:15 pm ...
Thanks onekk. I deleted the other post.
thanks you to have reduced noise. :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/
Post Reply