Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatiblity with Assembly4? #458

Closed
johnsonm opened this issue Jun 28, 2022 · 1 comment
Closed

Incompatiblity with Assembly4? #458

johnsonm opened this issue Jun 28, 2022 · 1 comment

Comments

@johnsonm
Copy link

When I created a single-document Assembly4 collection in which all the bodies were in a single document, it works fine. For example, see https://gitlab.com/mcdanlj/KeywayCutter

However, if I create individual parts, and add Link to Part. it works only within that session. After saving all the files, though, if I try to re-open the Assembly4 document, I get errors and broken links:

<App> PropertyContainer.cpp(479): Document parsing error
In context: |Bracket|ExpressionEngine while parsing SnatchBlock#Bracket.ExpressionEngine
<Base> Reader.cpp(811): Reading failed: /.../Documents/Machining/SnatchBlock/SnatchBlock/Bracket.xml
<App> PropertyContainer.cpp(479): Document parsing error
In context: |BracketMirror|ExpressionEngine while parsing SnatchBlock#BracketMirror.ExpressionEngine
<Base> Reader.cpp(811): Reading failed: /.../Documents/Machining/SnatchBlock/SnatchBlock/BracketMirror.xml
<App> PropertyContainer.cpp(479): Document parsing error

image

This happens whether the target files are "Save as Directory" or FCStd files.

Here's the associated saved files in directories.
https://gitlab.com/mcdanlj/SnatchBlock/-/tree/a9b53a69f1d417b80e2ea6eaafa2525fdfa79983

Same in FCStd files for all the referenced parts:
https://gitlab.com/mcdanlj/SnatchBlock/-/tree/91641923d9234fbb8c59752e895c9675b717a2ef

However, if I save the assembly as a FCStd file and rebuild it in the current 0.20 appimage from upstream FreeCAD, it works:
https://gitlab.com/mcdanlj/SnatchBlock/-/tree/fd77a71c5b5fa9448f3c55ad82842237643f430a

Is this just "need to merge LinkStage up to 0.20 and do a new release"?

@johnsonm
Copy link
Author

johnsonm commented Jul 5, 2022

This problem persists with the latest update to FreeCAD-asm3-Daily-Conda-Py3-Qt5-20220704-glibc2.12-x86_64.AppImage only when using "Save to Directory" — it reads an FCStd file correctly, at least at the latest version of that part.

OS: Fedora Linux 36 (Thirty Six) (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 2022.704.26244 +4971 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: a87320cc64699a8e4226bad2e9b37ac3a1296ab9
Python version: 3.9.13
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant