Bug#895865: dxf2gcode: Infinite spin attempting to load DXF file
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
Tue Apr 17 01:32:25 BST 2018
Package: dxf2gcode
Version: 20170925-3
Severity: normal
dxf2gcode never successfully loads the attached file; instead it
CPU-spins.
By hitting Ctrl-C I obtain the following traceback:
$ dxf2gcode top.dxf
Creating configuration window
Creating configuration window
Loading file: top.dxf
Reading DXF Structure
Reading Block *MODEL_SPACE; Nr: 0
Reading Block *PAPER_SPACE; Nr: 1
^CTraceback (most recent call last):
File "/usr/bin/dxf2gcode", line 1198, in <module>
window.load()
File "/usr/bin/dxf2gcode", line 844, in load
self.valuesDXF = ReadDXF(self.filename)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/importer.py", line 85, in __init__
self.entities = self.Read_Entities(sections_pos)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/importer.py", line 345, in Read_Entities
sections[section_nr - 1].end - 1)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/importer.py", line 360, in Get_Geo
entitie_geo = self.get_geo_entitie(len(geos), name)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/importer.py", line 407, in get_geo_entitie
geo = GeoentSpline(geo_nr, self)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/geoent_spline.py", line 63, in __init__
Weights=self.Weights, CPoints=self.CPoints, tol=tol, check=check)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/spline_convert.py", line 65, in __init__
self.Curve = self.analyse_and_compress(BiarcCurves)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/spline_convert.py", line 81, in analyse_and_com
press
Curve = self.compress_biarcs(Curve)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/spline_convert.py", line 129, in compress_biarc
s
diff = self.check_diff_to_pts(Pts, Arc1, Arc0)
File "/usr/lib/python3/dist-packages/dxf2gcode/dxfimport/spline_convert.py", line 300, in check_diff_to_
pts
w0 = Arc0.O.norm_angle(Pt)
KeyboardInterrupt
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dxf2gcode depends on:
ii poppler-utils 0.61.1-2
ii pstoedit 3.70-5+b1
ii python3 3.6.4-1
ii python3-opengl 3.1.0+dfsg-1
ii python3-pyqt5 5.9.2+dfsg-1+b1
dxf2gcode recommends no packages.
dxf2gcode suggests no packages.
-- no debconf information
--
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk | https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: top.dxf
Type: image/vnd.dxf
Size: 167856 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180417/9491a126/attachment-0001.bin>
More information about the debian-science-maintainers
mailing list