asm3 spamming console and comboview

Report observations made with the new Toponaming branch.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

asm3 spamming console and comboview

Post by freman »

Hi,

just came back to asm3 on master and dragging a Part into the Assembly object in comboview is spamming console and reportview with traceback errors.

It seems that every time the drap op passes over a target where it cannot drop , instead of just changing the cursor it is making a mess.

Someone may need to look at this.

Cheers.

Code: Select all

Traceback (most recent call last):                                                                                                                       
  File "~/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/assembly.py", line 4605, in canDropObjectEx                                               
    return partGroup.canDropObject(obj,owner,subname)                                                                                                    
<class 'TypeError'>: argument 2 must be App.DocumentObject, not None                                                                                     
Traceback (most recent call last):                                                                                                                       
  File "~/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/assembly.py", line 4605, in canDropObjectEx                                               
    return partGroup.canDropObject(obj,owner,subname)                                                                                                    
<class 'TypeError'>: argument 2 must be App.DocumentObject, not None                                                                                     
Traceback (most recent call last):                                                                                                                       
  File "~/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/assembly.py", line 4605, in canDropObjectEx                                               
    return partGroup.canDropObject(obj,owner,subname)                                                                                                    
<class 'TypeError'>: argument 2 must be App.DocumentObject, not None                                                                                     
Traceback (most recent call last):                                                                                                                       
  File "~/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/assembly.py", line 4605, in canDropObjectEx                                               
    return partGroup.canDropObject(obj,owner,subname)                                                                                                    
<class 'TypeError'>: argument 2 must be App.DocumentObject, not None           

Code: Select all

OS: Fedora Linux 35 (Thirty Five) (LXQt//usr/share/xsessions/lxqt)
Word size of FreeCAD: 64-bit
Version: 0.21.30265 (Git)
Build type: Release
Branch: master
Hash: c35244e74f326a04c5bcab31e984742db582ac78
Python 3.10.6, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.3, OCC 7.5.0
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * FreeCAD_Assembly4 0.11.10
  * FreeCAD_assembly3
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: asm3 spamming console and comboview

Post by adrianinsaval »

is your assembly3 up to date?
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: asm3 spamming console and comboview

Post by freman »

User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: asm3 spamming console and comboview

Post by adrianinsaval »

please don't double post, also here you posted a question about master branch on the link branch subforum
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: asm3 spamming console and comboview

Post by freman »

You will see the first reply I got on that thread was to tell me to post here !

Code: Select all

Probably posting in the dedicated thread you will receive more "focused answers".
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: asm3 spamming console and comboview

Post by adrianinsaval »

well @onekk was wrong there unfortunately, sadly many people see asm3 and directly assume linkbranch while you are clearly using master branch. The assembly forum was the right place to post.
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: asm3 spamming console and comboview

Post by onekk »

freman wrote: Wed Sep 21, 2022 3:30 am ...

Sorry for the nuisance.

Thanks @adrianinsaval for the correction, I will amend the post to avoid future misunderstandings.

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/
Post Reply