Author Topic: Inkscape crashes converting PDF to DXF  (Read 3297 times)

October 06, 2016, 02:28:46 AM
Read 3297 times

AlanWright

  • Sr. Newbie

  • Offline
  • **

  • 2
Hi
I'm new to Inkscape, and have successfully converted 7 files from PDF to DXF. However I have a problem with two others.

On one, Inkscape will not open the PDF, it just closes down.

In the second, Inkscape opens the PDF, and I can save the file as SVG, but if I try to save as DXF, I get a popup with "Inkscape has received additional data from the script executed.  The script did not return an error, but this may indicate the results will not be as expected."
The dialogue box has a long log file, which ends with "RuntimeError: maximum recursion depth exceeded".
When I click "OK" I get a popup saying "File C:\... (path and file name listed)... could not be saved."

I am using Win10 64bit.

Any advice is welcome.

October 06, 2016, 04:20:35 AM
Reply #1

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
Hi.

Not an expert on that but it sounds like your system maxed out the resources on that file.
Like I'm not sure of your pdf but in general if it was made with a cad software, all the hatched/pattern fill is converted to thousands of small objects and can even prevent the pdf from printing -because the printer's rip fails on the load of data.
Similarly if that was the case, converting to dxf may fail.

Can you share the source file?
Would suggest cleaning it up first.

October 06, 2016, 04:46:48 AM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Another possible reason is if the file is simply too large.

If it looks like neither large size of millions of tiny paths, we could show the developers that error log (or whatever that was).
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 06, 2016, 06:33:24 AM
Reply #3

AlanWright

  • Sr. Newbie

  • Offline
  • **

  • 2
Thanks Brynn and Lazur for your prompt responses.

The two that failed are 449KB and 474KB, and the largest that converted successfully was 585KB, so I think the pure file size is not the issue.

The two that failed were building sections, with the concrete marked with lots of dots, so Lazur's explanation sounds most likely. Although some of the other files that converted successfully also had the concrete fill pattern, but maybe not so much.

I've now converted the two "bad" files using Cloudconvert, so all is well.

Unless you want to investigate further, I will close the post.

Thanks
Alan

October 06, 2016, 04:25:09 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I can't speak for Lazur, but if you're happy with the solution, I'm happy.  I'm glad you solved it  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann