[Fixed]Can't load example files from start page since 0.19.18194

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

[Fixed]Can't load example files from start page since 0.19.18194

Post by UR_ »

For example DrawingExample.FCStd from start page:

I got this tree view:

Screenshot 012.png
Screenshot 012.png (6.07 KiB) Viewed 723 times

and this report view:


Part::Feature has no view provider specified
Loading Drawing module... done
Drawing::FeaturePage has no view provider specified
Drawing::FeatureViewPart has no view provider specified
Drawing::FeatureViewPart has no view provider specified
Drawing::FeatureViewPart has no view provider specified
Drawing::FeatureViewPart has no view provider specified

:open_mouth:


version:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18194 (Git)
Build type: Release
Branch: master
Hash: f312878452bd25036f499b19bf0a9b6ea486e86a
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't load example files from start page since 0.19.18194

Post by chrisb »

The Drawing example should really be removed; or even better be replaced by a TechDraw example.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Can't load example files from start page since 0.19.18194

Post by kisolre »

Where do you get 0.19.18194 windows build? Latest dev released is 0.19.18024.
Example files were resaved with 0.18.16131 windows for proper generated thumbnais.
Example files in 0.19.18024 are saved with 0.19R17171 (Git). Can you check version of example files in 0.19.18194?
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: Can't load example files from start page since 0.19.18194

Post by UR_ »

DrawingExample.FCStd
Version was updated from Git some hours ago

Code: Select all

<Document SchemaVersion="4" ProgramVersion="0.19R17171 (Git)" FileVersion="1">
kisolre wrote: Thu Sep 12, 2019 1:53 pm Where do you get 0.19.18194 windows build?
DIY build, powered by conda :wink:


no problem with:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18142 (Git)
Build type: Release
Branch: master
Hash: 256f85678fef73807f479de19b4e3dcfd6fd1c89
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Can't load example files from start page since 0.19.18194

Post by bernd »

for me it is even worse. All old files have an empty tree view ... If I create new files save them and reload them everything is fine. Most tests run fine because they create the objects itself.

OS: Debian GNU/Linux 10 (buster) (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18195 (Git)
Build type: Unknown
Branch: femtmp
Hash: d0d395f54a513ec21fec017860c949db351f54ec
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Can't load example files from start page since 0.19.18194

Post by bernd »

the objects are loaded just the tree view is empty. It can be easily tested by Python. See screen.

Screenshot_20190912_180120.png
Screenshot_20190912_180120.png (128.15 KiB) Viewed 686 times
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: Can't load example files from start page since 0.19.18194

Post by UR_ »

console should give (for example):

Code: Select all

Python 3.6.8 (v3.6.8:3c6b436a57, Mar 26 2019, 15:45:44) [MSC v.1916 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> doc = App.getDocument("Stamp")
>>> obj = doc.Objects[0]
>>> obj.ViewObject
<View provider object at 00000288F3E2C1A0>
>>> 

but gives:

Code: Select all

Python 3.7.3 | packaged by conda-forge | (default, Jul  1 2019, 22:01:29) [MSC v.1900 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> doc = App.getDocument("Stamp")
>>> obj = doc.Objects[0]
>>> obj.ViewObject
>>> 

Same with looo's azure build win-64/freecad-0.19.pre-py37ha28476b_46.tar.bz2

https://dev.azure.com/sppedflyer/feedst ... nitionId=1
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Can't load example files from start page since 0.19.18194

Post by bernd »

same here on Linux Debian build as in version info of my first post ... No view providers loaded from old files. OK at least we know why the tree view is empty. :mrgreen:

Screenshot_20190912_211918.png
Screenshot_20190912_211918.png (74.45 KiB) Viewed 658 times
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Can't load example files from start page since 0.19.18194

Post by sgrogan »

Same problem here with

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18198 (Git)
Build type: Release
Branch: master
Hash: eae86ea3268cfd92ac88d29f201f64aa2d359145
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

I also get some Path errors when running self tests from the gui.
"fight the good fight"
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Can't load example files from start page since 0.19.18194

Post by sgrogan »

Files created with 0.18.18024 open correctly in current master
Files created with 0.18.17515 open with the empty tree in current master.
Files created with 0.18.17515 open correctly in 0.18.18024

What's the latest version pre Link?
I see a difference in Document.xml in the .FCStd files.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18198 (Git)
Build type: Release
Branch: master
Hash: eae86ea3268cfd92ac88d29f201f64aa2d359145
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
"fight the good fight"
Post Reply