FREECAD 0.20.29177 AppImage Path Workbench "'_TempObject' object has no attribute 'InList'"

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
tokyodrip
Posts: 1
Joined: Wed Jun 22, 2022 1:10 pm

FREECAD 0.20.29177 AppImage Path Workbench "'_TempObject' object has no attribute 'InList'"

Post by tokyodrip »

Upon attempting to postprocess a job, I receive the following error.

Code: Select all

post: KineticNCBeamicon2(/home/drip/FreeCAD/ExtrusionCutting/demo.nc, )
09:19:26  Show editor = 1
09:19:26  postprocessing...
09:19:26  Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAzgsvit/usr/Mod/Path/PathScripts/PathPost.py", line 437, in Activated
    (fail, rc, filename) = self.exportObjectsWith(slist, job)
  File "/tmp/.mount_FreeCAzgsvit/usr/Mod/Path/PathScripts/PathPost.py", line 216, in exportObjectsWith
    gcode = processor.export(objs, filename, postArgs)
  File "/tmp/.mount_FreeCAzgsvit/usr/Mod/Path/PathScripts/PathPostProcessor.py", line 105, in export
    return self.script.export(obj, filename, args)
  File "/tmp/.mount_FreeCAzgsvit/usr/Mod/Path/PathScripts/post/KineticNCBeamicon2_post.py", line 227, in export
    job = PathUtils.findParentJob(obj)
  File "/tmp/.mount_FreeCAzgsvit/usr/Mod/Path/PathScripts/PathUtils.py", line 405, in findParentJob
    for i in obj.InList:

'_TempObject' object has no attribute 'InList'
Steps to recreate:
  • Open part design bench
  • Square sketch in XY
  • 20mm pad into Z
  • Open the Path bench
  • Create a new job with default options
  • Update setup sheet to fill in speeds and feeds
  • Update tool to fill in speeds and feeds
  • Create profile operation on entire model
  • Path -> Post Process, enter file name, hit ok
  • View error message in console
I'm not able to post process any any jobs since updating. Please let me know if there's any further information I can provide.

Code: Select all

OS: Ubuntu 20.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
This was attempted in the latest edge build last night, but that build failed to load the Path bench at all.
Attachments
demo.FCStd
(21.29 KiB) Downloaded 11 times
bmsaus4ax
Posts: 258
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: FREECAD 0.20.29177 AppImage Path Workbench "'_TempObject' object has no attribute 'InList'"

Post by bmsaus4ax »

tokyodrip wrote: Wed Jun 22, 2022 1:27 pm Upon attempting to postprocess a job, I receive the following error.


I'm not able to post process any any jobs since updating. Please let me know if there's any further information I can provide.


This was attempted in the latest edge build last night, but that build failed to load the Path bench at all.
Maybe an old version of the post processor has crept in, it would not post for me either. I don't normally use this myself.

Attached is a modification of the processor using the details of this old forum post:
https://forum.freecadweb.org/viewtopic. ... 58#p490458
you may need to read more of the thread to follow it but it does solve the issue.

Check the commented sections of the post processor code against your current file.
I have tested the attachment as working.
.
.

Code: Select all

OS: Ubuntu 20.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29126 (Git) AppImage
Build type: Release
Branch: master
Hash: 6c1c63cffebe6a9d55bd9b1d8ca6b741a4d16548
Python 3.10.4, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/Australia (en_AU)
Installed mods: 
  * fcgear 1.0.0
  * Curves 0.4.4
  * Lithophane
  * CurvedShapes 1.0.3
Attachments
KineticNCBeamicon2_post.py
(14.65 KiB) Downloaded 26 times
Post Reply