Files don't open after today's software update!

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
cahlfors
Posts: 61
Joined: Tue Jan 24, 2012 8:27 pm
Location: Sweden

Re: Files don't open after today's software update!

Postby cahlfors » Sun Feb 12, 2017 11:08 am

*.stl files open nicely.
*.fcsd and *.step do not, if it is of any help.

/C
FreeCAD-daily/Ubuntu or Mint
Mendel 3d-printer/pronterface
HeeksCAM
LinuxCNC
Optimum BF20L mill
ulrich1a
Posts: 1872
Joined: Sun Jul 07, 2013 12:08 pm

Re: Files don't open after today's software update!

Postby ulrich1a » Sun Feb 12, 2017 11:35 am

I can confirm, that step files do not open.
FreeCAD-files with FCSTD do work.

Ulrich

OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10065 (Git) (extra commit for Debian VTK-issue)
Build type: Release
Branch: Rueck6
Hash: 1cec205531828b44156dff7b655d72ee10119529
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
jmaustpc
Posts: 8851
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Files don't open after today's software update!

Postby jmaustpc » Sun Feb 12, 2017 12:15 pm

I wonder if this has anything to do with locals settings. Since Ulrich uses German with a comma as the decimal separator, Bejant and Norm I think both use a decimal point separator locals.
wmayer
Site Admin
Posts: 13747
Joined: Thu Feb 19, 2009 10:32 am

Re: Files don't open after today's software update!

Postby wmayer » Sun Feb 12, 2017 12:28 pm

cahlfors wrote:Files no longer open on my daily build either...
All I get is 100% CPU.

Cheers, /Christoffer
This might be caused by some recent locale specific changes. Depending on locale settings floating point numbers are saved with a comma as decimal separator in the usr.cfg.
With the required fix these numbers are probably saved with a point as decimal separator now. The problem is that the new version cannot interpret the comma separated numbers any more and set them all to 0.0. Especially for the tessellation deviation value this leads to problems because the default of 0.05 is set to 0.0 and thus the meshing takes forever.

To fix this issue start FreeCAD and go to the settings and reset to the default value.Alternatively, just delete the user.cfg file.
cahlfors
Posts: 61
Joined: Tue Jan 24, 2012 8:27 pm
Location: Sweden

Re: Files don't open after today's software update!

Postby cahlfors » Sun Feb 12, 2017 1:38 pm

Unable to find any "settings" (do you mean edit ->preferences - if so, where is "default"?), so deleted ~/.FreeCAD/user.cfg as suggested.
Still 100% CPU. :?
I am using Swedish locale, but unable to find those settings in FreeCAD. Merely changing language does not seem to change the decimal character.

/Chris
FreeCAD-daily/Ubuntu or Mint
Mendel 3d-printer/pronterface
HeeksCAM
LinuxCNC
Optimum BF20L mill
sebimweb
Posts: 7
Joined: Sat Feb 11, 2017 12:34 pm

Re: Files don't open after today's software update!

Postby sebimweb » Sun Feb 12, 2017 1:54 pm

Hi bejant,

thanks for your effort. I tried your file, but the problem remains unchanged. 0.16 opens it shortly - I can see my drawing for about 0.5 seconds - and then closes the file with an error message. As for 0.17 I get a freeze.

The error message in 0.16 reads literally:
"Traceback (most recent call last): File "", line 1, in : Property not found"

Best regards
Jonathan
ulrich1a
Posts: 1872
Joined: Sun Jul 07, 2013 12:08 pm

Re: Files don't open after today's software update!

Postby ulrich1a » Sun Feb 12, 2017 1:58 pm

I did delete user.cfg and system.cfg. I can now again open step files.

Ulrich

OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10067 (Git) (extra commit for Debian VTK issue)
Build type: Release
Branch: Rueck6
Hash: d59bc42082d40dddb27beb9eb141be10ed4401fd
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
sebimweb
Posts: 7
Joined: Sat Feb 11, 2017 12:34 pm

Re: Files don't open after today's software update!

Postby sebimweb » Sun Feb 12, 2017 2:10 pm

Hello,

I deleted both system.cfd and user.cfd (located in ~/.FreeCAD), restarted 0.16 and tried again - no difference, problem remains.

Regards
Jon
ulrich1a
Posts: 1872
Joined: Sun Jul 07, 2013 12:08 pm

Re: Files don't open after today's software update!

Postby ulrich1a » Sun Feb 12, 2017 2:59 pm

The file schacht5.fcstd is now a FreeCAD Version 0.17R9822 file. It seems to have properties, not supported in FreeCAD 0.16. I am not an expert, what kind of properties did change, but I do expect, it will not open in 0.16 anymore.
There may be a chance by manually editing the xml-files included in the document, but others have to say, what changes are possible.

I tried another method and started both Versions of FreeCAD in parallel. It was possible to open Schacht5 in FreeCAD version 0.17. I was able to select all features in 0.17 and copy and paste them in 0.16. It gave some error messages, but at last I could save a document. You may test it.

By the way, you seems to work mostly with Draft in FreeCAD. Did you have a look at the Sketcher? This is a much more modern method to construct parts.

Ulrich
Attachments
Schacht5_FC0.16.fcstd
(510.96 KiB) Downloaded 17 times
User avatar
NormandC
Posts: 18145
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Files don't open after today's software update!

Postby NormandC » Sun Feb 12, 2017 4:52 pm

jmaustpc wrote:Bejant and Norm I think both use a decimal point separator locals.
No, I use a comma just like in the German language.

This may be related: https://forum.freecadweb.org/viewtopic. ... 37#p158895

I opened a bunch of files I created in 0.17 from last January and December. No problem doing so.