[Resolved] Possible bug in new split output

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

[Resolved] Possible bug in new split output

Post by GeneFC »

I am getting the following error message when I try to output g-code with various post-processors.

Code: Select all

Traceback (most recent call last):

File "D:\Applications\FreeCAD\FreeCAD_0.20\Mod\Path\PathScripts\PathPost.py", line 416, in Activated

if split:

name 'split' is not defined
If I modify the PathPost.py file by adding

Code: Select all

split = False
right before the error line everything works fine.

There may be a missing import or an incorrect variable name. I have not selected "split" in the Job setup.

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.24986 (Git)
Build type: Release
Branch: master
Hash: ff6845e2f31988cc714027980e0100bb5521843e
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

Gene
User avatar
sliptonic
Veteran
Posts: 3459
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Possible bug in new split output

Post by sliptonic »

I introduced that bug last week and then reverted the PRs.
Are you building from currrent master branch?
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Possible bug in new split output

Post by GeneFC »

sliptonic wrote: Mon Jun 07, 2021 3:09 pm Are you building from currrent master branch?
No, I was being lazy and used the precompiled binary (24986).

I just updated to 25025 and everything looks good.

Thanks.
Gene
Post Reply