crash when doing Python-driven export to a read-only file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
theAdib |
Bug Description
to reproduce :
- save a file using Python export extension (file type .dxf, .hpgl, .gpl)
- after saving, mark the file as read-only
- save the file again, choose the option to "Replace" the file
- Inkscape crashes with the message (Win32):
C:\Python25\
return code: 3
terminate called after throwing an instance of 'Glib::FileError'
Emergency save activated!
- Note that this crash does not occur if a "native" export such as .svg or .ps is performed. In this case the read-only file will not be updated, but there is no crash.
The origin of this report is that AutoCAD apparently locks the .dxf file that it reads, which can lead to an Inkscape crash if both are running, see https:/
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Not reproduced on Ubuntu 9.04, Inkscape rev. 21851.
Inkscape doesn't crash, but doesn't return any warning box (see Bug #353847).
Tested with DXF and HPGL file formats.