View Issue Details

IDProjectCategoryView StatusLast Update
0001991FreeCADBugpublic2015-03-12 18:38
Reporterpfirszt Assigned Toyorik  
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Platformgnu/linuxOSfedoraOS Version21
Product Version0.14 
Summary0001991: DXF import shows an error message only once and shows a misleading message in the console.
DescriptionCurrent importDXF.py logic doesn't let FreeCAD download libraries if that's not allowed in Preferences, but FreeCAD anyway shows message in the terminal "DXF libraries not found. Downloading..."[1]. That's a minor problem, but for some reason window telling how to allow downloadingd DXF libraries is shown only during the first try to import a dxf file. Second and next tries does nothing.

[1] https://github.com/5263/FreeCAD/blob/master/src/Mod/Draft/importDXF.py#L67
Steps To Reproduce1. Open FreeCAD, open a new model
2. Try to import a DXF file -> error window is shown
3. Close the error window
4. Try to import a dxf file again -> nothing happens

Additional InformationI think it would be handy to have additional button to switch on downloading of DXF libraries immediately or allow an one time download. I did a simple test by overriding dxfAllowDownload in [2] and it works fine. I might try to code that if the idea gets approved.

[2] https://github.com/5263/FreeCAD/blob/master/src/Mod/Draft/importDXF.py#L76
TagsNo tags attached.
FreeCAD Information

Activities

Related Changesets

FreeCAD: master 10aa881f

2015-03-12 18:47:48

rockn


Committer: yorik Details Diff
fix 0001991 : display message for dxf library missing

at the import of importDXF and open, insert and export functions.
Also the message allow user to enabled FreeCAD to download the library.
Affected Issues
0001991
mod - src/Mod/Draft/importDXF.py Diff File

Issue History

Date Modified Username Field Change
2015-03-03 20:25 pfirszt New Issue
2015-03-12 17:51 rockn Assigned To => rockn
2015-03-12 17:51 rockn Status new => assigned
2015-03-12 18:09 rockn Note Added: 0005864
2015-03-12 18:09 rockn Status assigned => resolved
2015-03-12 18:09 rockn Resolution open => fixed
2015-03-12 18:29 rockn Status resolved => closed
2015-03-12 18:38 yorik Changeset attached => FreeCAD Master master 10aa881f
2015-03-12 18:38 yorik Assigned To rockn => yorik