- Posts: 425
- Thank you received: 0
qtdragon_hd development issues
- auto-mation-assist
- Topic Author
- Offline
- Platinum Member
-
Less
More
4 years 1 month ago #252210
by auto-mation-assist
qtdragon_hd development issues was created by auto-mation-assist
I have been working on the python code to interface qtdragon hd version to my milling machine and later building a custom .ui for it. My configurtaion files will need to migrate from gmoccapy requirements. It is starting to work but I'm hung up on the tool data base and can't find much info. I'm using Debian 11.
My present problem is this error:
[QTvcp][CRITICAL] Aborted from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0~pre0
Traceback (most recent call last):
File "/home/cnc/linuxcnc-dev/configs/QtDragon_hd/qtdragon/tool_database.py", line 99, in <lambda>
STATUS.connect('periodic', lambda w: self.update_status())
File "/home/cnc/linuxcnc-dev/configs/QtDragon_hd/qtdragon/tool_database.py", line 262, in update_status
checked = self.w.tooloffsetview.get_checked_pockets()
AttributeError: 'ToolOffsetView' object has no attribute 'get_checked_pockets'
I'm thinking that this may refer to pockets in the tool data base that I have no knowledge off. There is a tool data base file but have not looked at what it contains. I do not use a auto tool loader and thus have no other potential tool pockets.
A second but minor problem that I have seen before and I think not related qtdragon :
[QTvcp.QTVCP.WIDGETS.VERSA_PROBE][DEBUG] Saving Versa probe data to preference file. (versa_probe.py:187)
/home/cnc/linuxcnc-dev/scripts/linuxcnc: line 963: 22764 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
My present problem is this error:
[QTvcp][CRITICAL] Aborted from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0~pre0
Traceback (most recent call last):
File "/home/cnc/linuxcnc-dev/configs/QtDragon_hd/qtdragon/tool_database.py", line 99, in <lambda>
STATUS.connect('periodic', lambda w: self.update_status())
File "/home/cnc/linuxcnc-dev/configs/QtDragon_hd/qtdragon/tool_database.py", line 262, in update_status
checked = self.w.tooloffsetview.get_checked_pockets()
AttributeError: 'ToolOffsetView' object has no attribute 'get_checked_pockets'
I'm thinking that this may refer to pockets in the tool data base that I have no knowledge off. There is a tool data base file but have not looked at what it contains. I do not use a auto tool loader and thus have no other potential tool pockets.
A second but minor problem that I have seen before and I think not related qtdragon :
[QTvcp.QTVCP.WIDGETS.VERSA_PROBE][DEBUG] Saving Versa probe data to preference file. (versa_probe.py:187)
/home/cnc/linuxcnc-dev/scripts/linuxcnc: line 963: 22764 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Please Log in to join the conversation.
4 years 1 month ago #252219
by cmorley
Replied by cmorley on topic qtdragon_hd development issues
What qtdragon_hd are you using?
The segfault in an ongoing qt issue that we have not been able to fix.
The segfault in an ongoing qt issue that we have not been able to fix.
Please Log in to join the conversation.
- auto-mation-assist
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 425
- Thank you received: 0
4 years 1 month ago #252225
by auto-mation-assist
Replied by auto-mation-assist on topic qtdragon_hd development issues
Please Log in to join the conversation.
4 years 1 month ago #252227
by cmorley
Replied by cmorley on topic qtdragon_hd development issues
This is Jim's (The author) personal version of qtdragon_hd.
I intend to integrate it on linuxcnc after the 2.9 release.
He just added work for linuxcnc's database tool table - it's experimental.
He may see your post and help.
if you choose to use linuxcnc's version of qtdragon_hd - I can help further.
I intend to integrate it on linuxcnc after the 2.9 release.
He just added work for linuxcnc's database tool table - it's experimental.
He may see your post and help.
if you choose to use linuxcnc's version of qtdragon_hd - I can help further.
Please Log in to join the conversation.
- auto-mation-assist
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 425
- Thank you received: 0
4 years 1 month ago #252228
by auto-mation-assist
Replied by auto-mation-assist on topic qtdragon_hd development issues
I actually wanted the supported linuxcnc's version of qtdragon_hd. I don't know were its hiding and my search on git hub appears to have led me to the wrong source.
Please Log in to join the conversation.
- auto-mation-assist
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 425
- Thank you received: 0
4 years 1 month ago #252229
by auto-mation-assist
Replied by auto-mation-assist on topic qtdragon_hd development issues
I see: /configs/sim/qtvcp_screens/qtdragon/ but it does not say 'hd' and does not look complete.
Please Log in to join the conversation.
4 years 1 month ago #252232
by cmorley
Replied by cmorley on topic qtdragon_hd development issues
sample would be found here:
sim/qtvcp_screens/qtdragon/qtdragon_hd.ini
github.com/LinuxCNC/linuxcnc/tree/master.../screens/qtdragon_hd
There is a screen copy dialog for qtvcp ('qtvcp copy' in teminal) but it seems I need to fix it.
sim/qtvcp_screens/qtdragon/qtdragon_hd.ini
github.com/LinuxCNC/linuxcnc/tree/master.../screens/qtdragon_hd
There is a screen copy dialog for qtvcp ('qtvcp copy' in teminal) but it seems I need to fix it.
Please Log in to join the conversation.
4 years 1 month ago #252237
by persei8
Replied by persei8 on topic qtdragon_hd development issues
Like Chris said, the github version is highly experimental and in fact, I am scrapping the tool database thing and going another direction. If you wanted to use that version without the tool database function, it's rather easy to remove. Simply delete all references to self.tool_db and for completeness, remove the layout_tooldb layout in the UI file. Also remove any lines with get_checked_pockets. (there should only be one) I will push a sanitized version in the next day or two.
Jim
Jim
Please Log in to join the conversation.
- auto-mation-assist
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 425
- Thank you received: 0
4 years 1 month ago #252282
by auto-mation-assist
Replied by auto-mation-assist on topic qtdragon_hd development issues
Thanks for the info.
I found it very easy to make some of my required pins in your version. In the qtdragon version supplied with LinuxCnc my pins are not produced.
I did notice that in your version some lower case letters are used for setting up pins vice upper case and I'm looking into why there is a difference in producing and not producing pins between the two versions of LinuxCnc qtdragon and your qtdragon_hd .
I found it very easy to make some of my required pins in your version. In the qtdragon version supplied with LinuxCnc my pins are not produced.
I did notice that in your version some lower case letters are used for setting up pins vice upper case and I'm looking into why there is a difference in producing and not producing pins between the two versions of LinuxCnc qtdragon and your qtdragon_hd .
Please Log in to join the conversation.
Time to create page: 0.090 seconds
