Bug #4197 - TechDraw Balloon crash FC

Discussions about the development of the TechDraw workbench
renatorivo
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Bug #4197 - TechDraw Balloon crash FC

Postby renatorivo » Sun Nov 17, 2019 4:36 pm

When I try to use the Partslist data in Balloon, FreeCAD crashes.
balloon.PNG
balloon.PNG (65.88 KiB) Viewed 435 times
A.FCStd
(42.98 KiB) Downloaded 7 times
OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18738 (Git)
Build type: Release
Branch: master
Hash: f65a72deb71e8b2a18c849adc9a900c3d113d51b
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
Last edited by Kunda1 on Fri Nov 22, 2019 11:30 pm, edited 1 time in total.
Reason: Added ticket number to thread title
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: TechDraw Balloon crash FC

Postby wandererfan » Mon Nov 18, 2019 1:06 am

renatorivo wrote:
Sun Nov 17, 2019 4:36 pm
When I try to use the Partslist data in Balloon, FreeCAD crashes.
This happens even in the attached minimal example. Try to use expression to change the Cube's Label from a Spreadsheet cell and you get the same behaviour.

Might need to pass this to the Expression or Spreadsheet people.


Do you get any messages back?
I get this pop-up:
DependencyCycles.png
DependencyCycles.png (17.2 KiB) Viewed 401 times

and these messages in the report view:

Code: Select all

<Exception> basic_string::_M_construct null not valid in property binding 'Text'
1.16e-07 <App> Document.cpp(3440): Failed to recompute PartsListCrash_A#Balloon: basic_string::_M_construct null not valid in property binding 'Text'
Recompute failed! Please check report view.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
<class 'SystemError'>: <built-in method recompute of App.Document object at 0x561801073b48> returned a result with an error set
<Exception> basic_string::_M_construct null not valid in property binding 'Text'
OS: Linux Mint 19 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
Attachments
ExpressionRefToSpreadsheet.FCStd
minimal example of failure
(4.06 KiB) Downloaded 10 times
renatorivo
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: TechDraw Balloon crash FC

Postby renatorivo » Mon Nov 18, 2019 8:57 am

wandererfan wrote:
Mon Nov 18, 2019 1:06 am
Do you get any messages back?
I get this pop-up:
wandererfan wrote:
Mon Nov 18, 2019 1:06 am
and these messages in the report view:
I confirm. I receive the same messages
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: TechDraw Balloon crash FC

Postby wandererfan » Mon Nov 18, 2019 12:28 pm

renatorivo wrote:
Mon Nov 18, 2019 8:57 am
I confirm. I receive the same messages
request for assistance here
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: TechDraw Balloon crash FC

Postby wandererfan » Tue Nov 19, 2019 12:22 pm