dwgmapconvert import failed

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
gysong
Newbie Member
Posts: 4
Joined: Tue Sep 28, 2021 2:49 am

dwgmapconvert import failed

Post by gysong » Fri Nov 26, 2021 6:57 am

operating system: Linux 755fd4f3c41d 5.10.47-linuxkit #1 SMP PREEMPT Sat Jul 3 21:50:16 UTC 2021 x86_64 GNU/Linux
QCAD version: 3.26.4 ( qcad-3.26.4-pro-linux-qt5.14-x86_64.run )

Command

Code: Select all

dwgmapconvert -retain-texts -segment-length=0.1 -crs-in=EPSG:5186 -crs-out=EPSG:3857 -platform offscreen -o /something/converted_5186_sample.dxf /something/sample.dxf
Output

Code: Select all

QCAD version  3.26.4
Warning:  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
05:15:37: Debug:    Input file:  /something/sample.dxf
05:15:37: Debug:    Output file:  /something/converted_5186_sample.dxf
05:15:37: Debug:    calling odInitialize
Warning:  RDwgImporter::importFile: 3: OdError:
05:15:40: Debug:    "RDwgServices::printErrorStackTrace: Invalid input"
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(1224407.051594, -101195.333185, 0.000000, 1)") does not connect to start ("RVector(1224407.925877, -101180.999567, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(1482832.967754, 234242.005367, 0.000000, 1)") does not connect to start ("RVector(1482832.974207, 234242.004906, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(445700.000005, 2532750.000031, 0.000000, 1)") does not connect to start ("RVector(446100.000006, 2532750.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(1453700.000489, 1463550.000363, 0.000000, 1)") does not connect to start ("RVector(1454100.000491, 1463550.000362, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(445700.000005, 2176350.000031, 0.000000, 1)") does not connect to start ("RVector(446100.000006, 2176350.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(445700.000005, 1463550.000031, 0.000000, 1)") does not connect to start ("RVector(446100.000006, 1463550.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(949700.000489, 1463550.000031, 0.000000, 1)") does not connect to start ("RVector(950100.000491, 1463550.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(445700.000005, 394350.000031, 0.000000, 1)") does not connect to start ("RVector(446100.000006, 394350.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(445700.000005, 750750.000031, 0.000000, 1)") does not connect to start ("RVector(446100.000006, 750750.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(430200.000000, 2526600.000000, 0.000000, 1)") does not connect to start ("RVector(429700.000000, 2537400.000000, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-794848.349461, 750750.000031, 0.000000, 1)") does not connect to start ("RVector(-794448.349460, 750750.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-794848.349461, 1463550.000031, 0.000000, 1)") does not connect to start ("RVector(-794448.349460, 1463550.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-810348.349465, 2526600.000000, 0.000000, 1)") does not connect to start ("RVector(-810848.349466, 2537400.000000, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-794848.349461, 394350.000031, 0.000000, 1)") does not connect to start ("RVector(-794448.349460, 394350.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-794848.349461, 2176350.000031, 0.000000, 1)") does not connect to start ("RVector(-794448.349460, 2176350.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-794848.349461, 2532750.000031, 0.000000, 1)") does not connect to start ("RVector(-794448.349460, 2532750.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(-290848.348976, 1463550.000031, 0.000000, 1)") does not connect to start ("RVector(-290448.348975, 1463550.000030, 0.000000, 1)")
Warning:  RHatchData::getBoundaryPath: loop not closed:  end ( "RVector(213151.651024, 1463550.000363, 0.000000, 1)") does not connect to start ("RVector(213551.651025, 1463550.000362, 0.000000, 1)")
Warning:  "Import for file /something/sample.dxf failed"
Cannot import file: /something/sample.dxf
File
It's a confidential file, so I think I can only forward it by e-mail.

Question
I made sure that the file was in that location.
Only certain files seem to have errors.
How can I solve this problem?

Even if there is an error, the exit code seems to be falling to zero.

Post Reply

Return to “QCAD Troubleshooting and Problems”