FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Forum destiné aux questions et discussions en français
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
jp-willm
Veteran
Posts: 1104
Joined: Sat Feb 06, 2016 4:11 pm
Location: France (Alsace)
Contact:

FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by jp-willm »

Bonjour,

Actuellement, au travail, j'utilise freecad 0.16.6712-4 sur Manjaro-Linux.

Récemment, à la maison j'ai mis à jour FreeCAD vers la version 0.17 sur Manjaro-Linux également depuis les dépôts AUR.
Cette version 0.17 fonctionne bien et j'ai retrouvé ma barre d'outils perso avec mes deux icônes Drawstyle et CenterAlign que j'utilise souvent.

https://www.freecadweb.org/wiki/Macro_T ... awstyle/fr
https://www.freecadweb.org/wiki/Macro_C ... s_or_Edges

Or, FreecAD 0.17 n'arrive pas à ouvrir les gros fichiers en général créés avec la version 0.16 : j'ai un message furtif m'indiquant qu'une exeception s'est produite...

Ci-après, le lien vers un de ces fichiers pas trop volumineux qui pose problème :
https://www.cjoint.com/c/HDmfrydKVOC

Vous verrez que le groupe "Barre-supp" est importé depuis un fichier STEP, mais je ne pense pas que ce soit le problème.

Si quelqu'un peut m'aider à trouver ce qui bloque, cela m'arrangerait évidemment.
fran6t
Posts: 354
Joined: Tue Jul 15, 2014 9:29 am
Location: Montauban
Contact:

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by fran6t »

Erreur aussi chez moi avec ton fichier et ma version de freecad suivante :

OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: None
Branch: master
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: French/France (fr_FR)


En lançant avec la console voici le message qui apparait :
Traceback (most recent call last):
File "<string>", line 1, in <module>
<type 'exceptions.IOError'>: Invalid project file /home/fran6t/Bureau/HDmfrydKVOC_a192-foulon-essai.fcstd: basic_string::_M_construct null not valid

Sur le forum il y a cela https://forum.freecadweb.org/viewtopic. ... 7&start=20 mais sans solution il me semble pour l'instant.
jp-willm
Veteran
Posts: 1104
Joined: Sat Feb 06, 2016 4:11 pm
Location: France (Alsace)
Contact:

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by jp-willm »

Bonjour,
fran6t wrote: Thu Apr 12, 2018 6:41 am En lançant avec la console voici le message qui apparait :
Traceback (most recent call last):
File "<string>", line 1, in <module>
<type 'exceptions.IOError'>: Invalid project file /home/fran6t/Bureau/HDmfrydKVOC_a192-foulon-essai.fcstd: basic_string::_M_construct null not valid
Bon, je vais essayer ce soir, de créer un dossier profil tout neuf, pour voir si cela ne provient pas d'un module bancal.

fran6t wrote: Thu Apr 12, 2018 6:41 am Sur le forum il y a cela https://forum.freecadweb.org/viewtopic. ... 7&start=20 mais sans solution il me semble pour l'instant.
Oui, et je n'ai rien trouvé d'autre :(

Merci !
User avatar
blonblon
Posts: 253
Joined: Sat Sep 24, 2016 6:06 pm
Location: Uzes (Gard), France

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by blonblon »

Bonjour

Je viens de tester chez moi, ça s'ouvre avec une erreur et il faut corriger tous les sketchs.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)
jp-willm
Veteran
Posts: 1104
Joined: Sat Feb 06, 2016 4:11 pm
Location: France (Alsace)
Contact:

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by jp-willm »

Bonjour,
blonblon wrote: Thu Apr 12, 2018 7:51 am Je viens de tester chez moi, ça s'ouvre avec une erreur et il faut corriger tous les sketchs.
Ok, j'ai lu la page de publication de la version 0.17 et d'autres discussions à ce sujet et tu me le confirme !

Bon, c'est pas gagné, il faudra que je garde une version 0.16 sous le coude.

Merci !
User avatar
blonblon
Posts: 253
Joined: Sat Sep 24, 2016 6:06 pm
Location: Uzes (Gard), France

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by blonblon »

J'utilise cette version 0.16

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6712 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: da2d364457257a7a8c6fb2137cea12c45becd71a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

les fichiers que je crée passe sous la toute dernière version 0.17, pas de problème de Scketch corrompu
fran6t
Posts: 354
Joined: Tue Jul 15, 2014 9:29 am
Location: Montauban
Contact:

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by fran6t »

Et si tu ouvres son fichier avec ta 0.16 puis tu l’enregistres sous un autre nom et l’ouvres en 0.17 ça marche chez toi ?
Chez moi non.
J’ai fait aussi un essai en copiant coller son premier sketch003 dans une 0.16 puis fais le pad et enfin re-ouvert dans 0.17 pas d'erreur !
Doit y avoir un sac dans les .xml contenu dans le fichier .fcstd mais pas d'anomalie visible en les parcourants rapidement.

Aurais tu un fichier moins complexe, qui serait plus facile a decortiquer ?
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by mario52 »

Bonjour

moi aussi erreurs pour tous mes gros fichiers ouverts dans la version officielle
(récupérés par un copier/collé ou ouvert avec une version 0.17 release et sauvé sous un autre nom (pour conserver l'original))

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0

Gui::Command::activated(0): Unknown C++ exception thrown
Cannot compute Inventor representation for the shape of Compound035.
Cannot compute Inventor representation for the shape of Compound032.
Cannot compute Inventor representation for the shape of Compound033.
Cannot compute Inventor representation for the shape of Compound034.
Cannot compute Inventor representation for the shape of Compound030.
Cannot compute Inventor representation for the shape of Compound031.
Cannot compute Inventor representation for the shape of Compound027.
Cannot compute Inventor representation for the shape of Compound025.
Cannot compute Inventor representation for the shape of Compound052002025.
Cannot compute Inventor representation for the shape of Compound052002026.
Cannot compute Inventor representation for the shape of Compound019.
Cannot compute Inventor representation for the shape of Compound014.
Cannot compute Inventor representation for the shape of Compound018.
Cannot compute Inventor representation for the shape of Compound017.
Cannot compute Inventor representation for the shape of Compound015.
Cannot compute Inventor representation for the shape of Compound020.
Cannot compute Inventor representation for the shape of Compound026.
Cannot compute Inventor representation for the shape of Compound024.
Cannot compute Inventor representation for the shape of Compound028.
Cannot compute Inventor representation for the shape of Compound052002023.
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Cannot compute Inventor representation for the shape of Compound038.
Cannot compute Inventor representation for the shape of Compound036.
Cannot compute Inventor representation for the shape of Compound043.
Cannot compute Inventor representation for the shape of Compound042.
Exception (Sat Apr 07 19:58:07 2018): Not enough shape objects linked
Cannot compute Inventor representation for the shape of Compound052002020.
Cannot compute Inventor representation for the shape of Compound050.
Cannot compute Inventor representation for the shape of Compound048.
Cannot compute Inventor representation for the shape of Compound052002022.
Cannot compute Inventor representation for the shape of Compound052002021.
Cannot compute Inventor representation for the shape of Compound052002002.
Cannot compute Inventor representation for the shape of Compound051.
Cannot compute Inventor representation for the shape of Compound049.
Cannot compute Inventor representation for the shape of Compound052002024.
Cannot compute Inventor representation for the shape of Compound052002028.
Cannot compute Inventor representation for the shape of Compound052002027.
Cannot compute Inventor representation for the shape of Compound052002029.
Cannot compute Inventor representation for the shape of Compound046.
Cannot compute Inventor representation for the shape of Compound045.
Cannot compute Inventor representation for the shape of Compound047.
Cannot compute Inventor representation for the shape of Compound044.
Cannot compute Inventor representation for the shape of Compound004.
Cannot compute Inventor representation for the shape of Compound.
Cannot compute Inventor representation for the shape of Compound005.
Cannot compute Inventor representation for the shape of Compound002.
Cannot compute Inventor representation for the shape of Compound003.
Cannot compute Inventor representation for the shape of Compound008.
Cannot compute Inventor representation for the shape of Compound007.
Cannot compute Inventor representation for the shape of Compound009.
Cannot compute Inventor representation for the shape of Compound013.
Cannot compute Inventor representation for the shape of Compound006.


mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by Vincent B »

jp-willm wrote: Thu Apr 12, 2018 5:22 am Or, FreecAD 0.17 n'arrive pas à ouvrir les gros fichiers en général créés avec la version 0.16 : j'ai un message furtif m'indiquant qu'une exeception s'est produite...
Si quelqu'un peut m'aider à trouver ce qui bloque, cela m'arrangerait évidemment.
Moi je suis désolé de vous annoncer qu'il faut refaire le dessin complétement à partir des sketchs existants. :roll:
Mais voila qui peut être un bon exercice.
Ou alors il faut récupérer la forme, mais on perd tout l'historique.
jp-willm
Veteran
Posts: 1104
Joined: Sat Feb 06, 2016 4:11 pm
Location: France (Alsace)
Contact:

Re: FreeCAD 0.17 n'ouvre pas tous les fichiers FreeCAD 0.16

Post by jp-willm »

Bonjour,

Je tiens à remercier les différentes personnes qui se sont penchées sur mon probème et ont trouvé où le bât blesse !
GlouGlou wrote: Thu Apr 12, 2018 12:17 pm Moi je suis désolé de vous annoncer qu'il faut refaire le dessin complétement à partir des sketchs existants. :roll:
Mais voilà qui peut être un bon exercice.
Les exercices, ce n'est pas ce qui manque :)
GlouGlou wrote: Thu Apr 12, 2018 12:17 pm Ou alors il faut récupérer la forme, mais on perd tout l'historique.
Si cela fonctionne, je vais faire des copies de ces fichiers et sur les copies je supprimerai les sketch.
Comme je garde une version 0.16 sous le coude, je pourrai toujours éditer les fichiers d'origine.

L'essentiel pour moi, est de pouvoir ouvrir les anciens fichiers dans la version 0.17, même s'il ne reste que les formes.

Je vous tiens au courant bien évidemment.

@+
Post Reply