PD hole: <Exception> Linked shape object is empty (Issue #6260)

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!
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

PD hole: <Exception> Linked shape object is empty (Issue #6260)

Post by M4x »

Hey everybody,

one of my recent models started to show this error message on startup (only on startup, not while recomputing):

Code: Select all

22:12:47  No profile linked
22:12:47  Linked shape object is empty
22:12:47  Linked shape object is empty
22:12:47  <Exception> Linked shape object is empty
I first thought I made a mistake and started to strip down my model.

not working -> example_PD_hole_Link_shape_object_empty_v1
My example file looks like this:
example_PD_hole_Link_shape_object_empty_v1
example_PD_hole_Link_shape_object_empty_v1
Snip macro screenshot-43a5eb.png (15.71 KiB) Viewed 3049 times
example_PD_hole_Link_shape_object_empty_v1 - object tree
example_PD_hole_Link_shape_object_empty_v1 - object tree
Snip macro screenshot-7edc01.png (11.95 KiB) Viewed 3049 times

working -> example_PD_hole_Link_shape_object_empty_v2
If I delete the hole feature, I'm able to open the example file (v2) without an error message. The model looks like this:


example_PD_hole_Link_shape_object_empty_v2
example_PD_hole_Link_shape_object_empty_v2
Snip macro screenshot-71926a.png (9.54 KiB) Viewed 3049 times

example_PD_hole_Link_shape_object_empty_v2 - object tree
example_PD_hole_Link_shape_object_empty_v2 - object tree
Snip macro screenshot-96fe93.png (10.84 KiB) Viewed 3049 times
I've tested this with these versions:

Code: Select all

OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.25429 (Git) AppImage
Build type: Release
Branch: master
Hash: acce57a25d82b0408fa07b9452ed31c8a06c7a1b
Python version: 3.9.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

Code: Select all

OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git) AppImage
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)
I've no idea what this means and I'm seeking for help :lol:
Last edited by Kunda1 on Tue Apr 18, 2023 2:01 pm, edited 1 time in total.
Reason: Added github issue to title
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: PD hole: <Exception> Linked shape object is empty

Post by M4x »

And here are the example files:

not working -> example_PD_hole_Link_shape_object_empty_v1
example_PD_hole_Link_shape_object_empty_v1.FCStd
not working -> example_PD_hole_Link_shape_object_empty_v1
(16.2 KiB) Downloaded 66 times

working -> example_PD_hole_Link_shape_object_empty_v2
example_PD_hole_Link_shape_object_empty_v2.FCStd
working -> example_PD_hole_Link_shape_object_empty_v2
(14.05 KiB) Downloaded 61 times
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: PD hole: <Exception> Linked shape object is empty

Post by chrisb »

It is the "Through all" option. The message occurs on reload as soon as you change the type from "Dimension" to "Through all".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: PD hole: <Exception> Linked shape object is empty

Post by M4x »

Great, thanks for nailing it down even further! 8-)
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: PD hole: <Exception> Linked shape object is empty

Post by chrisb »

There was already a discussion about this, but I couldn't find the cause then. Maybe it's time to create a ticket.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: PD hole: <Exception> Linked shape object is empty

Post by M4x »

Thank you! I'm going to create the ticket after work.
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: PD hole: <Exception> Linked shape object is empty

Post by chrisb »

Edi, can you have a look if there is something more serious behind this message?
edi wrote: ping
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: PD hole: <Exception> Linked shape object is empty

Post by M4x »

I've created a ticket: issue #4747

edit: Used the bug tag instead of the plain URL
Last edited by M4x on Wed Sep 22, 2021 3:36 am, edited 2 times in total.
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: PD hole: <Exception> Linked shape object is empty

Post by chrisb »

M4x wrote: Tue Sep 21, 2021 7:44 pm I've created a ticket
Thanks. For your next ticket you can use the bug tag as so:

Code: Select all

[bug]4747[/bug]
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
M4x
Veteran
Posts: 1479
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: PD hole: <Exception> Linked shape object is empty

Post by M4x »

Nice, I've changed it :)
Post Reply