Py3.8.5 PyQt5.14.1: $Revision: ea806256290acd618583f25d449c731b404dc3b5 $
Last change: $Date: Mon Sep 25 13:57:11 2017 +0200 $
Changed by: $Author: Damian Wrobel $
This is a new install and it crashes when I try to open a dfx file. I have also tried a dxf file that I have previously opened successfully.
If I run from a terminal this is what I see -
mick@Mint20Desk:~$ dxf2gcode
qt5ct: using qt5ct plugin
Creating configuration window
qt5ct: D-Bus global menu: no
Creating configuration window
File: /home/mick/Documents/Drawings/RJ45/RJ45x7v10.dxf selected
Loading file: /home/mick/Documents/Drawings/RJ45/RJ45x7v10.dxf
Reading DXF Structure
Reading Block *Model_Space; Nr: 0
Reading Block *Paper_Space; Nr: 1
Found unsupported geometry type: TEXT !
Found unsupported geometry type: TEXT !
Creating Contours of Block Nr: 0
Creating Contours of Block Nr: 1
Creating Contours of Entities
Loaded layers: 5
Loaded blocks: 2
Block 0 includes 0 Geometries, reduced to 0 Contours, used layers: []
Block 1 includes 0 Geometries, reduced to 0 Contours, used layers: []
Loaded 145 entity geometries; reduced to 145 contours; used layers: [0, 1, 2, 3, 4]; number of inserts 0
Drawing units: millimeters
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 609, in abs_iter
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/dxf2gcode", line 727, in open
self.load()
File "/usr/bin/dxf2gcode", line 874, in load
self.makeShapes()
File "/usr/bin/dxf2gcode", line 922, in makeShapes
self.makeEntityShapes(self.entityRoot)
File "/usr/bin/dxf2gcode", line 996, in makeEntityShapes
tmp_shape.AnalyseAndOptimize()
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 175, in AnalyseAndOptimize
self.setNearestStPoint(Point())
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 190, in setNearestStPoint
min_geo_nr, _ = min(enumerate(self.geos.abs_iter()),
RuntimeError: generator raised StopIteration
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_dxf2gcode.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 609, in abs_iter
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/dxf2gcode", line 727, in open
self.load()
File "/usr/bin/dxf2gcode", line 874, in load
self.makeShapes()
File "/usr/bin/dxf2gcode", line 922, in makeShapes
self.makeEntityShapes(self.entityRoot)
File "/usr/bin/dxf2gcode", line 996, in makeEntityShapes
tmp_shape.AnalyseAndOptimize()
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 175, in AnalyseAndOptimize
self.setNearestStPoint(Point())
File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 190, in setNearestStPoint
min_geo_nr, _ = min(enumerate(self.geos.abs_iter()),
RuntimeError: generator raised StopIteration
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python3.8/logging/__init__.py", line 2114, in shutdown
h.flush()
File "/usr/lib/python3.8/logging/__init__.py", line 1064, in flush
if self.stream and hasattr(self.stream, "flush"):
RuntimeError: wrapped C/C++ object of type MessageBox has been deleted
mick@Mint20Desk:~$
DXF2GCODE may have problems with your python version you use. Please check the Readme for the compatible versions you need ….
Regards
Christian
--
--
You received this message because you subscribed to the Google
Groups-group "dxf2gcode-users".
To post a message, send mail to dxf2gco...@googlegroups.com
To unsubscribe, send mail to dxf2gcode-use...@googlegroups.com
See http://groups.google.de/group/dxf2gcode-users?hl=en for more options
and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/
---
You received this message because you are subscribed to the Google Groups "dxf2gcode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dxf2gcode-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/3c0916fb-c090-4136-b018-443422a0ab42n%40googlegroups.com.
Hi Christian, I checked the readme and that looks OK to me.
- Runtime dependencies:
- /usr/bin/python3 (>=3.5), I have 3.8.5
- PyQt5 (>=5.7), I have 5.14.1
- PyOpenGL (>=3.1), I have 3.1.0
- configobj (>=5.0.6), I have python3-configobj
5.06-4
- /usr/bin/pdftops (>=0.45), I have 0.86.1
- /usr/bin/pstoedit (>=3.70). I have 3.75
Is there anything else that may be wrong?
Thanks
Mick
You received this message because you are subscribed to a topic in the Google Groups "dxf2gcode-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dxf2gcode-users/JvzSae3OmAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dxf2gcode-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/001c01d72208%24c70f2420%24552d6c60%24%40googlemail.com.
Within the Readme there is also:
Note: Please do not install python3 version 3.7.x as at the time of writing
there is no pyqt5-tools package available for this version of the python.
I know it’s not 100% clear. But I am sure its not working with python > 3.6
Regards
Christian
Von: dxf2gco...@googlegroups.com [mailto:dxf2gco...@googlegroups.com] Im Auftrag von mi...@sulley.info
Gesendet: Sonntag, 28. März 2021 11:25
An: dxf2gcode-users <dxf2gco...@googlegroups.com>
Betreff: Re: [dxf2gcode-users] Crash on Opening File
Apologies, I thought I had replied to this a couple of days ago. I have checked the readme and that does not seem to be the issue, this is what I have compared to readme
- Runtime dependencies:
- /usr/bin/python3 (>=3.5) I have 3.8.5
- PyQt5 (>=5.7) I have 5.14.1
- PyOpenGL (>=3.1) I have 3.1.0
- configobj (>=5.0.6) I have 5.0.6
- /usr/bin/pdftops (>=0.45) I have 0.86.1
- /usr/bin/pstoedit (>=3.70) I have 3.75
Any idea what could be wrong?
Thanks
Mick
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/db39bbb7-346d-435a-8ae7-a97f67bb7c68n%40googlegroups.com.
I just check different environments. With 3.6 and 3.9 ist running on my windowns 64 machine. I cann’t say it about 3.7 or 3.8 since I didn’t try it with your mentioned environment. The failure which you get may be also linked to the dxf. If you like, you can forward it to me so I can check it ….
Regards
Christian
Von: Christian Kohlöffel [mailto:christian....@googlemail.com]
Gesendet: Dienstag, 30. März 2021 09:58
An: 'dxf2gco...@googlegroups.com' <dxf2gco...@googlegroups.com>
Betreff: AW: [dxf2gcode-users] Crash on Opening File
Within the Readme there is also:
Note: Please do not install python3 version 3.7.x as at the time of writing
there is no pyqt5-tools package available for this version of the python.
I know it’s not 100% clear. But I am sure its not working with python > 3.6
Regards
Christian
Von: dxf2gco...@googlegroups.com [mailto:dxf2gco...@googlegroups.com] Im Auftrag von mi...@sulley.info
Gesendet: Sonntag, 28. März 2021 11:25
An: dxf2gcode-users <dxf2gco...@googlegroups.com>
Betreff: Re: [dxf2gcode-users] Crash on Opening File
Apologies, I thought I had replied to this a couple of days ago. I have checked the readme and that does not seem to be the issue, this is what I have compared to readme
- Runtime dependencies:
- /usr/bin/python3 (>=3.5) I have 3.8.5
- PyQt5 (>=5.7) I have 5.14.1
- PyOpenGL (>=3.1) I have 3.1.0
- configobj (>=5.0.6) I have 5.0.6
- /usr/bin/pdftops (>=0.45) I have 0.86.1
- /usr/bin/pstoedit (>=3.70) I have 3.75
Any idea what could be wrong?
Thanks
Mick
On Friday, March 26, 2021 at 6:25:15 AM UTC christian....@googlemail.com wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/db39bbb7-346d-435a-8ae7-a97f67bb7c68n%40googlegroups.com.
I tested it with 3.9 already and it should work. Strange thing …
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/2c4d16b4-7382-4e00-bfbd-151dfab87b7fn%40googlegroups.com.