View Issue Details

IDProjectCategoryView StatusLast Update
0004110ArchBugpublic2019-10-14 03:56
ReporterylcH89 Assigned Tokkremitzki  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19 
Target VersionFixed in Version 
Summary0004110: No such file or directory: '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC4.jso (duplicate of closed ticket 0004092)
DescriptionUsing the freecad-daily PPA on Ubuntu 18.04 the tool is missing the following file:

/usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC4.json

This renders the Arch workbench useless, as the rest of the script fails to load.
This looks like a duplicate of the closed ticked 0004092 that I failed to re-open/update (is that possible for a reporter?).

Thanks.

Mod Edit: No it's currently possible for a regular reporter to modify a bug report.
Steps To ReproduceLoad the Arch module in a system that lacks the mentioned file.
Additional InformationOS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
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/UnitedStates (en_US)
TagsArch, duplicate, IFC, packaging
FreeCAD Information

Relationships

related to 0004092 closedberndhahnebach Ubuntu-FreeCAD-Daily ifc_contexts_IFC4.json is missing 

Activities

Kunda1

2019-09-01 16:21

administrator   ~0013508

Darn the version.h 0004014 (https://forum.freecadweb.org/viewtopic.php?f=42&t=37216) issue is still not fixed so I'm not sure what revision of 0.19 you're running.

0004092 was fixed a few weeks ago, the PPA should've updated several times since.

Kunda1

2019-09-01 16:25

administrator   ~0013509

@ylcH89 as a workaround can you go in to you installation and add the file manually


$ cd /usr/share/freecad-daily/Mod/Arch/Presets/
$ wget  https://raw.githubusercontent.com/FreeCAD/FreeCAD/master/src/Mod/Arch/Presets/ifc_contexts_IFC4.json
and recompile manually ?

ylcH89

2019-09-15 16:15

reporter   ~0013604

Last edited: 2019-09-15 16:17

View 3 revisions

Hi,
Thanks for the WA, but I was actually looking for a solution, so after some investigation I got the following (Hope it helps):

I think the attached patch fixes the issue when applied to the file (maintained by kkremitzki):

https://salsa.debian.org/science-team/freecad/blob/ppa/daily/debian/freecad-daily-common.install

That file is missing the ifc_contexts_* files that are causing the error when the 0.19 freecad-daily deb is used on ubuntu.


diff --git a/freecad-daily-common.install b/freecad-daily-common.install
index d41b204..072d10e 100644
--- a/freecad-daily-common.install
+++ b/freecad-daily-common.install
@@ -217,4 +217,6 @@ usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC2X3.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC4.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC4.json
+usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC2X3.json
+usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC4.json
 usr/share/freecad-daily/Mod/Material/Templatematerial.yml

Thanks!



ifc_contexts.patch (641 bytes)
diff --git a/freecad-daily-common.install b/freecad-daily-common.install
index d41b204..072d10e 100644
--- a/freecad-daily-common.install
+++ b/freecad-daily-common.install
@@ -217,4 +217,6 @@ usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC2X3.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC4.json
 usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC4.json
+usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC2X3.json
+usr/share/freecad-daily/Mod/Arch/Presets/ifc_contexts_IFC4.json
 usr/share/freecad-daily/Mod/Material/Templatematerial.yml
ifc_contexts.patch (641 bytes)

Kunda1

2019-09-16 14:24

administrator   ~0013608

@kkremitzki heads up

kkremitzki

2019-10-14 03:56

administrator   ~0013756

Should be fixed now

Issue History

Date Modified Username Field Change
2019-09-01 16:06 ylcH89 New Issue
2019-09-01 16:06 ylcH89 Tag Attached: 0.19
2019-09-01 16:06 ylcH89 Tag Attached: Arch
2019-09-01 16:06 ylcH89 Tag Attached: duplicate
2019-09-01 16:06 ylcH89 Tag Attached: file problem
2019-09-01 16:06 ylcH89 Tag Attached: IFC
2019-09-01 16:06 ylcH89 Tag Attached: packaging
2019-09-01 16:21 Kunda1 Note Added: 0013508
2019-09-01 16:21 Kunda1 Relationship added related to 0004092
2019-09-01 16:22 Kunda1 Description Updated View Revisions
2019-09-01 16:25 Kunda1 Note Added: 0013509
2019-09-01 16:26 Kunda1 Tag Detached: 0.19
2019-09-15 16:15 ylcH89 File Added: ifc_contexts.patch
2019-09-15 16:15 ylcH89 Note Added: 0013604
2019-09-15 16:16 ylcH89 Note Edited: 0013604 View Revisions
2019-09-15 16:17 ylcH89 Note Edited: 0013604 View Revisions
2019-09-16 14:24 Kunda1 Note Added: 0013608
2019-09-16 14:25 Kunda1 Tag Detached: file problem
2019-09-16 14:25 Kunda1 Assigned To => kkremitzki
2019-09-16 14:25 Kunda1 Status new => assigned
2019-10-14 03:56 kkremitzki Status assigned => closed
2019-10-14 03:56 kkremitzki Resolution open => fixed
2019-10-14 03:56 kkremitzki Note Added: 0013756