Crash when opening a DXF file.
Git commit: c403e9db0fb3f73f835a1d470a34351b65130ecd
Qt version: 5.7.0 (Arch Linux packages 5.7.0-1)
Python 2.7 version: 2.7.12
18:03 [master] git/dxf2gcode-sourcecode/source % ./dxf2gcode.py
KSambaShare: Could not find smb.conf!
Traceback (most recent call last):
File "/home/mcv/git/dxf2gcode-sourcecode/source/gui/treeview.py", line 280, in selectionChanged
self.selectionChangedcallback(self, selected, deselected)
File "/home/mcv/git/dxf2gcode-sourcecode/source/gui/treehandling.py", line 1104, in actionOnSelectionChange
selectionLayer.select(itemLayerSelection, QItemSelectionModel.Deselect | QItemSelectionModel.Rows)
AttributeError: 'NoneType' object has no attribute 'select'
zsh: abort (core dumped) ./dxf2gcode.py
I haven't used dxf2gcode in a while, so I can't really recall when was the last time it was working and what Qt version was used there.
The "offending" dxf file is attached.
Hi this one is also reported in the user forum. It has to do with a change in Qt. If you use version 5.6 it would still work. Probably I'm the one that will fix it (I actualy hope someone else helps me out), but it will be fixed ;)
I'm not a qt specialist but tell me if I can support. Will be back in 1
week ...
But I expect you wait for someone in the qt forum 😉
Regards Christian
Am 23.08.2016 18:06 schrieb "Michał Gawron" mcvsama@users.sf.net:
Related
Tickets:
#83souceforge sucks, can't even paste anything.
treehandling.py line 217 , similar error about "rowCount".
It turns out that I did not have qt5 only qt4. Can't this kind of thing be tested for on start up rather than just waiting for stuff to crash with obscure error msgs?
Using Fedora I get
PyQt4-4.11.4
qt 4.8.7 and qt 5.7.1
Just to clarify, I still get the error with qt5 installed.
This is on first run, when I press "Apply" having made trivial change to configuration dialogue.
QT is not going backwards on any platform. This needs attention otherwise no distro will be able to run dxf2gocde any more.
Change bdd80df6cb32999b907042f391e2bc4af9db6202 on develop branch contain fix for this issue.