[solved] Unable to save texts on linux

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
madmek
Newbie Member
Posts: 5
Joined: Tue Feb 24, 2015 11:02 pm

[solved] Unable to save texts on linux

Post by madmek » Tue Feb 24, 2015 11:13 pm

Since two weeks ago I am unable to save any text to drawing.
I have tried also Save As > dws w/o success.
All other objects are properly saved.

QCAD:
Version: 3.7.5.0 (3.7.5)
Build Date: Dec 3 2014
Qt Version: 4.8.4
Compiler: gcc 4.4.3

running on debian wheezy:
Linux deb 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

It seems a problem of system (kernel?), it strated after last upgrade.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Unable to save texts on linux

Post by andrew » Mon Mar 02, 2015 1:49 pm

Please attach your file for testing and indicate how to reproduce the problem (what text do you add, what font do you use, what format do you use to save to, etc).

madmek
Newbie Member
Posts: 5
Joined: Tue Feb 24, 2015 11:02 pm

Re: Unable to save texts on linux

Post by madmek » Sun Mar 08, 2015 9:23 pm

attached screenshot simple square and circle, 2x text "test"
saved as test.dxf
If I open test.dxf file no texts visible.
qcad_Screenshot.png
qcad_Screenshot.png (111.44 KiB) Viewed 6956 times
Attachments
test.dxf
(98.99 KiB) Downloaded 403 times

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Unable to save texts on linux

Post by andrew » Mon Mar 09, 2015 9:18 am

Thanks. What font do you use for these texts? Can you try a different font (e.g. 'standard')?

madmek
Newbie Member
Posts: 5
Joined: Tue Feb 24, 2015 11:02 pm

Re: Unable to save texts on linux

Post by madmek » Mon Mar 09, 2015 7:32 pm

Doesn't work with neither TT nor Unicode.
I have tested all available fonts.

:-(

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Unable to save texts on linux

Post by andrew » Wed Mar 11, 2015 1:33 pm

Can you check if you are getting any kind of warning or error printed to the terminal when saving a file? You can launch QCAD in a terminal as follows:

Code: Select all

cd /path/to/qcad/installation
./qcad

madmek
Newbie Member
Posts: 5
Joined: Tue Feb 24, 2015 11:02 pm

Re: Unable to save texts on linux

Post by madmek » Thu Mar 12, 2015 9:23 pm

Sure. Some random lines, circle and text.

mad@deb:~/opt/qcad-3.7.5-pro-linux-x86_64$ ./qcad
Debug: RDwgPlugin::init
Debug: RDxfPlugin::init
Debug: RHelpPlugin::init
Debug: RProScriptsPlugin::init
Debug: loading patterns from file: "/home/mad/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/metric/qcadiso.lin"
Debug: shape found: "ZIG"
Debug: shape found: "BAT"
Debug: shape found: "TRACK1"
Debug: shape found: "BOX"
Debug: shape found: "CIRC1"
Debug: shape found: "RIGHT_ARROW"
Debug: loading patterns from file: "/home/mad/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/imperial/qcad.lin"
Debug: TIMER: 51 ms - "loading add-ons"
Debug: TIMER: 295 ms - "initializing add-ons"
Debug: RPluginBase: postInit: "DWG"
Debug: RPluginBase: postInit: "Pro Tools"
Debug: "RDwgServices::printErrorStackTrace: Invalid input"
Warning: RDwgExporter::exportEntity: Exception occurred. Entity NOT saved:
RTextEntity(RTextBasedEntity(REntity(RObject(id: 64, handle: "0x40", document: "0x5388b50", address: "0xae29080", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 11 , selectionStatus: false , boundingBoxes: (RBox(RVector(55.2817, 157, 0) - RVector(92.7183, 170.336, 0)) ) ) , alignmentPoint: RVector(74, 157, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Warning: RTextEntity(RTextBasedEntity(REntity(RObject(id: 64, handle: "0x40", document: "0x5388b50", address: "0xae29080", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 11 , selectionStatus: false , boundingBoxes: (RBox(RVector(55.2817, 157, 0) - RVector(92.7183, 170.336, 0)) ) ) , alignmentPoint: RVector(74, 157, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Debug: "RDwgServices::printErrorStackTrace: Invalid input"
Warning: RDwgExporter::exportEntity: Exception occurred. Entity NOT saved:
RTextEntity(RTextBasedEntity(REntity(RObject(id: 65, handle: "0x41", document: "0x5388b50", address: "0xb20a720", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 12 , selectionStatus: false , boundingBoxes: (RBox(RVector(11.2817, 115, 0) - RVector(48.7183, 128.336, 0)) ) ) , alignmentPoint: RVector(30, 115, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Warning: RTextEntity(RTextBasedEntity(REntity(RObject(id: 65, handle: "0x41", document: "0x5388b50", address: "0xb20a720", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 12 , selectionStatus: false , boundingBoxes: (RBox(RVector(11.2817, 115, 0) - RVector(48.7183, 128.336, 0)) ) ) , alignmentPoint: RVector(30, 115, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Debug: "RDwgServices::printErrorStackTrace: Invalid input"
Warning: RDwgExporter::exportEntity: Exception occurred. Entity NOT saved:
RTextEntity(RTextBasedEntity(REntity(RObject(id: 66, handle: "0x42", document: "0x5388b50", address: "0xb230050", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 13 , selectionStatus: false , boundingBoxes: (RBox(RVector(36.2817, 76, 0) - RVector(73.7183, 89.3359, 0)) ) ) , alignmentPoint: RVector(55, 76, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Warning: RTextEntity(RTextBasedEntity(REntity(RObject(id: 66, handle: "0x42", document: "0x5388b50", address: "0xb230050", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 13 , selectionStatus: false , boundingBoxes: (RBox(RVector(36.2817, 76, 0) - RVector(73.7183, 89.3359, 0)) ) ) , alignmentPoint: RVector(55, 76, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Debug: "RDwgServices::printErrorStackTrace: Invalid input"
Warning: RDwgExporter::exportEntity: Exception occurred. Entity NOT saved:
RTextEntity(RTextBasedEntity(REntity(RObject(id: 67, handle: "0x43", document: "0x5388b50", address: "0xb26a9c0", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 14 , selectionStatus: false , boundingBoxes: (RBox(RVector(97.2817, 122, 0) - RVector(134.718, 135.336, 0)) ) ) , alignmentPoint: RVector(116, 122, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Warning: RTextEntity(RTextBasedEntity(REntity(RObject(id: 67, handle: "0x43", document: "0x5388b50", address: "0xb26a9c0", undone: 0, protected: 0), type: 17, layerId: 3, blockId: 4, parentId: -1, childIds: QSet() , lineweight: -1 , linetypeId: 0 , linetypeScale: 1 , color: RColor(ByLayer) , drawOrder: 14 , selectionStatus: false , boundingBoxes: (RBox(RVector(97.2817, 122, 0) - RVector(134.718, 135.336, 0)) ) ) , alignmentPoint: RVector(116, 122, 0), position: RVector(0, 0, 0), text: "test", textHeight: 15, textWidth: 0, drawingDirection: 1))
Debug: done
mad@deb:~/opt/qcad-3.7.5-pro-linux-x86_64$

madmek
Newbie Member
Posts: 5
Joined: Tue Feb 24, 2015 11:02 pm

Re: Unable to save texts on linux

Post by madmek » Wed Sep 23, 2015 7:09 pm

After recent upgrade to debian jessie (8.2.0. kernel 3.16.0-4-amd64) everything works fine. Problem solved.

Post Reply

Return to “QCAD Troubleshooting and Problems”