Version .46 saves corrupt dxf file

Bug #342145 reported by gelliebean
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

I'm using version .46 and it was working perfectly when I would save a svg file into a dxf. For some reason Inkscape will no longer save the file correctly in dxf format. Nothing has changed on my computer. A file will be created with the dxf format but it's corrupted and won't open in other programs. When I save the svg file into dxf, this message appears-

Traceback (most recent call last): File "C:\Program Files\Inkscape\share\extensions\dxf_outlines.py", line 69, in <module> e.affect() File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 154, in affect self.effect() File "C:\Program Files\Inkscape\share\extensions\dxf_outlines.py", line 56, in effect p = cubicsuperpath.CubicSuperPath(sim) File "C:\Program Files\Inkscape\share\extensions\cubicsuperpath.py", line 148, in CubicSuperPath csp[subpath].append([lastctrl[:],last[:],last[:]]) IndexError: list index out of range

I've attached the file that I was trying to save in dxf and then tried to open in RoboMaster software but it locks the program up every time. I'm a new user of Inkscape and I really love it but I need it to save files in dxf so I can cut the files with the RoboMaster software.

Thank you for a great program, I hope this can be fixed!

Tags: dxf exporting
Revision history for this message
gelliebean (gelliebean) wrote :
description: updated
Revision history for this message
Zdeněk Dlauhý (zdlauhy) wrote :

Hi, i am using inkscape .46 on ubuntu.
i tried your file and save to dxf and it works, qcad/bleneder/AutoCAD opened it without problems

but, you should use line thickness (hand + heart) in your drawings, instead of merging couple of line together.

and I am attached dxf file, which was produced by Inkscape

Revision history for this message
gelliebean (gelliebean) wrote : Re: [Bug 342145] Re: Version .46 saves corrupt dxf file

Thank you for the file. I don't know why it's not working for me in
Inkscape. I'm still getting the error when I save to dxf.

Zdeněk Dlauhý wrote:
> Hi, i am using inkscape .46 on ubuntu.
> i tried your file and save to dxf and it works, qcad/bleneder/AutoCAD opened it without problems
>
> but, you should use line thickness (hand + heart) in your drawings,
> instead of merging couple of line together.
>
> and I am attached dxf file, which was produced by Inkscape
>
> ** Attachment added: "DXF exported file from Inkscape"
> http://launchpadlibrarian.net/23821113/bookmark.dxf
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.12/1998 - Release Date: 03/12/09 18:23:00
>
>

Revision history for this message
Zdeněk Dlauhý (zdlauhy) wrote :

Have you tried import mine file to the program? if this works, you should try to reinstall inkscape or download a new package and install it.

Revision history for this message
gelliebean (gelliebean) wrote :

Yes, I was able to import your file just fine. I was going to uninstall
Inkscape today and reinstall it to see if that fixes whatever the
problem is. Thank you.

Vicki

Zdeněk Dlauhý wrote:
> Have you tried import mine file to the program? if this works, you
> should try to reinstall inkscape or download a new package and install
> it.
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.13/2001 - Release Date: 03/14/09 06:54:00
>
>

Revision history for this message
Alvin Penner (apenner) wrote :

    there have been a number of changes in the dxf output since the release of Inkscape 0.46, see Bug 192923 and Bug 255157. If you are interested in ROBOMaster output, you may want to download some newer code from these bug reports and try it out, or use a recent development version for Windows.
    attached is a dxf file produced using the ROBO output option on the latest development version. This file will load into ROBO Master without crashing on my machine.

Revision history for this message
gelliebean (gelliebean) wrote :

Thank you for the information. I was able to solve the problem by
copying the contents of my inkscape design and pasting it into a new
inkscape document. Then I was able to save it as a dxf with no error.
Robomaster then opened it up just fine.

Vicki Nimmo

Alvin Penner wrote:
> there have been a number of changes in the dxf output since the release of Inkscape 0.46, see Bug 192923 and Bug 255157. If you are interested in ROBOMaster output, you may want to download some newer code from these bug reports and try it out, or use a recent development version for Windows.
> attached is a dxf file produced using the ROBO output option on the latest development version. This file will load into ROBO Master without crashing on my machine.
>
> ** Attachment added: "C:\WINDOWS\Temp\bookmark_Robo.dxf"
> http://launchpadlibrarian.net/24134983/C%3A%5CWINDOWS%5CTemp%5Cbookmark_Robo.dxf
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.20/2013 - Release Date: 03/19/09 19:03:00
>
>

Revision history for this message
Alvin Penner (apenner) wrote :

Good to hear.
In that case, if there is no objection, I'll mark this as fix released so that it gets removed from the list of things to do.

Changed in inkscape:
status: New → Fix Released
su_v (suv-lp)
tags: added: dxf exporting
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.