Frecad 0.19 Possible bug in assembly4
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Frecad 0.19 Possible bug in assembly4
Playing with Assembly 4 workbench found the following:
If in a file FA a link to spreadsheet in another file FB is made, Assembly4 model fail when inserting a link to external part, skipping the step of placing linked part and in the report view the message:
"
created object
Running the Python command 'Asm4_placeLink' failed:
Traceback (most recent call last):
File "~/FreeCAD/Mod/Assembly4/placeLinkCmd.py", line 111, in Activated
if hasattr(obj,'LinkedObject') and obj.LinkedObject.isDerivedFrom('App::Part'):
'tuple' object has no attribute 'isDerivedFrom'
"
appears.
If the spreadsheet link is deleted, Assembly4 works as expected.
Regards,
OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19107 (Git) AppImage
Build type: Release
Branch: master
Hash: ad952191297fe53593c4d4b0ac80b43fd6664b22
Python version: 3.7.6
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Venezuela (es_VE)
If in a file FA a link to spreadsheet in another file FB is made, Assembly4 model fail when inserting a link to external part, skipping the step of placing linked part and in the report view the message:
"
created object
Running the Python command 'Asm4_placeLink' failed:
Traceback (most recent call last):
File "~/FreeCAD/Mod/Assembly4/placeLinkCmd.py", line 111, in Activated
if hasattr(obj,'LinkedObject') and obj.LinkedObject.isDerivedFrom('App::Part'):
'tuple' object has no attribute 'isDerivedFrom'
"
appears.
If the spreadsheet link is deleted, Assembly4 works as expected.
Regards,
OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19107 (Git) AppImage
Build type: Release
Branch: master
Hash: ad952191297fe53593c4d4b0ac80b43fd6664b22
Python version: 3.7.6
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Venezuela (es_VE)
I have uploaded many FreeCAD video tutorials to my YouTube channel
Re: Frecad 0.19 Possible bug in assembly4
hello, thank-you for your bug report, but I'm not sure to completely understand what you do: is there a third file FC involved, where you do the linking of FA ? Could-you provide a screenshot of your model tree with all parts and links ?
Re: Frecad 0.19 Possible bug in assembly4
Nope.is there a third file FC involved...?
In FA I make a link to the spreadsheet of FBwhere you do the linking of FA ?
Hope that the attached (sequence of) images let me explain better that my poor english ...
- Attachments
-
- 1.png (174.31 KiB) Viewed 1805 times
-
- 2.png (272.78 KiB) Viewed 1805 times
-
- 3.png (232.74 KiB) Viewed 1805 times
-
- 4.png (235.84 KiB) Viewed 1805 times
I have uploaded many FreeCAD video tutorials to my YouTube channel
Re: Frecad 0.19 Possible bug in assembly4
so you have a file FB with a spreadsheet and a part. Then, in file FA you make an empty link, you assign the spreadsheet of FB to it, and then in FA you create an Assembly4 Model and you link the part from FB using Assembly4 tools ...
1) you shouldn't do horrible things like that
2) it's still a bug, and Assembly4 shouldn't fall for it
I made an update to the workbench (v0.7.10), can you please update (through the Addon Manager) and check again whether it works better now ?
Re: Frecad 0.19 Possible bug in assembly4
Just wondering. Could you order things as you see their ugliness increase?1) you shouldn't do horrible things like that
Do you realize that your comment is highly subjective?
Assembly4 I am using is updated to version v0.7.102) it's still a bug, and Assembly4 shouldn't fall for it
I made an update to the workbench (v0.7.10), can you please update (through the Addon Manager) and check again whether it works better now ?
Last edited by jruiz on Tue Jan 21, 2020 10:50 pm, edited 2 times in total.
I have uploaded many FreeCAD video tutorials to my YouTube channel
Re: Frecad 0.19 Possible bug in assembly4
Yes.
Since my first post here i was using version v0.7.10 of Assembly4.
Since my first post here i was using version v0.7.10 of Assembly4.
I have uploaded many FreeCAD video tutorials to my YouTube channel
Re: Frecad 0.19 Possible bug in assembly4
that's obvious BS because I uploaded that version 30 minutes ago. See the Release Notes.
Re: Frecad 0.19 Possible bug in assembly4
What exactly you mean with "BS"?
After a quick use of the addon manager for updating Assembly4. I got a message I did not understand (as you could note, english is not my spoken language) and I assumed it was updated, (Very first time I got that behavior from the addon manager).Zolko wrote: ↑Tue Jan 21, 2020 3:57 pm ...because I uploaded that version 30 minutes ago. See the Release Notes.
It is very curious that you use the word random in the release notes
https://github.com/Zolko-123/FreeCAD_As ... ease-notes
when the behavior we got from Assembly4 is completely deterministic.2020.01.21 (version 0.7.10) :
bug-fix to not fall for random criss-cross linking of objects
I have uploaded many FreeCAD video tutorials to my YouTube channel
- adrianinsaval
- Veteran
- Posts: 5544
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Frecad 0.19 Possible bug in assembly4
What message did you get? Did you manage to update? Is the bug solved?
Also, what is your native language? If it's spanish I speak it and can help you out.