| Summary: | Export to SVG fails with error message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrig Miller <andrig.t.miller> | ||||
| Component: | freecad | Assignee: | Richard Shaw <hobbes1069> | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 26 | CC: | cz172638, hobbes1069, john | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-05-29 11:50:39 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
One thing I forgot to mention. If you select "Flattened SVG" as the format, you get the above error and a blank SVG file. If you select drawing, which SVG is one of the extensions, you get a different error, that says """" in File. The result of that error is an SVG file that gives an error message in the image viewer, which looks like this: Error domain 1 code 5 on line 4 column 76 of file:///home/andrigtmiller/Documents/Andrig's%20Aircooled%20Technology/CAD/FanShroudFrontVersion2.svg: Extra content at the end of the document There seems to be content in the SVG file, and its not blank, but still is bad. This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. I open these bugs, and they never get worked on, then they get closed when that version of Fedora becomes EOL. The issue still remains, and no one ever looked at this, and the issue was opened almost exactly a year ago. It's to the point that I will have to probably start building this package from source myself, and not depend on the Fedora package for it. If FreeCAD is going to be in Fedora, then someone needs to start looking at the bugs reported against it. Can you run FreeCAD from a terminal and get the full error message? It's truncated in the screenshot. Here is what is in the terminal when exporting to a Drawing:
** (FreeCAD:16768): WARNING **: invalid source position for horizontal gradient
** (FreeCAD:16768): WARNING **: invalid source position for horizontal gradient
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No space left on device
Traceback (most recent call last):
File "<string>", line 4, in <module>
<type 'exceptions.TypeError'>: Export of this object type is not supported by Drawing module
Stack Trace: Traceback (most recent call last):
File "<string>", line 4, in <module>
Here is what is in the terminal when export to a Flattened SVG:
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/usr/lib64/freecad/Mod/Draft/importSVG.py", line 1272, in export
svg.write(Draft.getSVG(ob))
File "/usr/lib64/freecad/Mod/Draft/Draft.py", line 2202, in getSVG
(obj.Name,i))
File "/usr/lib64/freecad/Mod/Draft/Draft.py", line 1790, in getPath
raise ValueError('edges not ordered')
<type 'exceptions.ValueError'>: edges not ordered
Stack Trace: Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/usr/lib64/freecad/Mod/Draft/importSVG.py", line 1272, in export
svg.write(Draft.getSVG(ob))
File "/usr/lib64/freecad/Mod/Draft/Draft.py", line 2202, in getSVG
(obj.Name,i))
File "/usr/lib64/freecad/Mod/Draft/Draft.py", line 1790, in getPath
raise ValueError('edges not ordered')
Are you by chance running 3rd party video drivers like nvidia? I have the binary nvidia driver installed, but because it doesn't work with Wayland, its not being loaded. I still don't completely understand it but in looking through the forums, it looks like this problem (and the PDF issue because it renders an SVG first) is that it's rendered in the graphics subsystem. There is a workaround posted I think but I'm not sure how easy it is to implement. I have tried some things, and I did get PDF's to come out correctly, but it still doesn't do the SVG correctly. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 1231289 [details] A Screen shot of the error message at the bottom of the UI. Description of problem: When exporting a 3D CAD model to SVG, it fails to write the file, and gives an error at the bottom of the screen. Version-Release number of selected component (if applicable): OS: "Fedora release 25 (Twenty Five)" Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.Unknown Build type: Unknown Python version: 2.7.11 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 6.8.0.oce-0.17 How reproducible: Everytime. Steps to Reproduce: 1. Open 3D CAD Model. 2. Select the model components for export. 3. Select File->Export 4. Select the SVG format, and enter the name and save. Actual results: Error displayed at the bottom of the screen. Expected results: SVG file with the selected components as a 2D image. Additional info: I have attached a screenshot of the error, as it disappears after a bit, or if you do anything in the UI.