A2Plus: error at including file

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!
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: A2Plus: error at including file

Post by Syres »

kisolre wrote: Tue Mar 26, 2019 6:57 pm Latest windows - 0.18.16093
But from your screenshot "This addon is already installed" shows that there is no update.
The statement "This addon is already installed" does not indicate on my Windows box that I've the latest update as I've just backed my A2Plus Wb to a version from 23/12/2018 and it states "This addon is already installed" without making any indication that it's actually 3 months out of date and that's using the 0.18 RC build:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
kisolre
Veteran
Posts: 4164
Joined: Wed Nov 21, 2018 1:13 pm

Re: A2Plus: error at including file

Post by kisolre »

Syres wrote: Tue Mar 26, 2019 7:10 pm The statement "This addon is already installed" does not indicate on my Windows box that I've the latest update
Looks like there is something wrong with how addon manager checks for a2plus update. Here I had 0.4.0 and it did not show available update. I removed a2plus, restarted FreeCAD, installed a2plus again and after restart it shows 0.4.10.

So my suggestion to OP - restart FreeCAD, remove a2plus, restart FreeCAD, install a2plus, restart FreeCAD, try to import endstop.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: A2Plus: error at including file

Post by NormandC »

For me it's not mentioned in the list next to the addon name, but at the bottom of the window.

FC018_AddonManager_udapte_01.png
FC018_AddonManager_udapte_01.png (77.65 KiB) Viewed 620 times

Edit: I get the message "An update is available for this addon" with FreeCAD/Python 2, but not with FreeCAD/Python 3.

Works:
OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)

Doesn't:
OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16207 (Git)
Build type: Release
Branch: master
Hash: 741533941c67da2f721bf1b7c2d55c987fd22a0c
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
koluna
Posts: 338
Joined: Thu Sep 20, 2018 12:36 pm

Re: A2Plus: error at including file

Post by koluna »

roerich_64 wrote: Tue Mar 26, 2019 6:48 pm On which place comes the error?
When I press a button "Open" in a dialog.
Guys, I had updated my A2plus and the error went away... My version is 0.4.10 now :)
And I want to tell you a very strange thing. I had deleted all Part containers in endstop1.fcstd and included it again (before updating). It works!
The Part containers influenced on the process.
Can you make a screenshot?
I cannot make this because I have already updated.
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: A2Plus: error at including file

Post by roerich_64 »

Hi,

I have make a test file with the 'original' Endstop file:
endstop1.FCStd
(76.79 KiB) Downloaded 12 times
Test_endstop1.FCStd
(92.62 KiB) Downloaded 13 times
No Problem:
printer_II.jpg
printer_II.jpg (144.94 KiB) Viewed 600 times
Do you add parts with the right bottom see above?

BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
alberich
Posts: 77
Joined: Thu Aug 17, 2017 2:09 pm
Location: Texas

Re: A2Plus: error at including file

Post by alberich »

It seems this is basically solved by updating A2P but I have a question. In the OP's error dump, the first line is

Code: Select all

A3 not available
From where does this reference to A3 come if A2P is the WB being used? I've looked in the a2p_importpart.py and can't find it?
kisolre
Veteran
Posts: 4164
Joined: Wed Nov 21, 2018 1:13 pm

Re: A2Plus: error at including file

Post by kisolre »

alberich wrote: Wed Mar 27, 2019 10:32 am It seems this is basically solved by updating A2P but I have a question. In the OP's error dump, the first line is

Code: Select all

A3 not available
From where does this reference to A3 come if A2P is the WB being used? I've looked in the a2p_importpart.py and can't find it?
I think it is not related to Assembly3 because I have seen in some other logs. But was also wandering what is refered there...
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: A2Plus: error at including file

Post by roerich_64 »

alberich wrote: Wed Mar 27, 2019 10:32 am It seems this is basically solved by updating A2P
It is not solved ;)

The point was:
And I want to tell you a very strange thing. I had deleted all Part containers in endstop1.fcstd and included it again (before updating). It works!
The Part containers influenced on the process.
BR ;)
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
alberich
Posts: 77
Joined: Thu Aug 17, 2017 2:09 pm
Location: Texas

Re: A2Plus: error at including file

Post by alberich »

roerich_64 wrote: Wed Mar 27, 2019 10:53 am
It is not solved ;)

Well, a workaround at least. But I take your finer point.
koluna
Posts: 338
Joined: Thu Sep 20, 2018 12:36 pm

Re: A2Plus: error at including file

Post by koluna »

roerich_64 wrote: Wed Mar 27, 2019 9:36 am Do you add parts with the right bottom see above?
Yes, I do.
Post Reply