dxf2gcode does not run on devuan daedalus/debian testing, but you just need to change 2 lines to get it going:
1) source/dxf2gcode/gui/messagebox.py, line 80: change "1e9" to something big like "100000". If you don't do it, you get "TypeError: setValue(self, int): argument 1 has unexpected type 'float'"
2) source/dxf2gcode/gui/routetext.py, line 59: change "10/self.sc" to "13", otherwise you get "TypeError: arguments did not match any overloaded call", again complaining over a float.
These 2 sed lines make the changes for you:
sed 's#self.verticalScrollBar().setValue(1e9)#self.verticalScrollBar().setValue(1000000)#g' -i $(find . -name messagebox.py)
sed 's#QFont("Arial", 10/self.sc)#QFont("Arial", 13)#g' -i $(find . -name routetext.py)
Following 2 changes have been implemented already by @spicer. I think this should also solve the issue.
source/dxf2gcode/gui/messagebox.py, line 80
source/dxf2gcode/gui/routetext.py, line 59
Last edit: chrisko 2023-02-02