- Posts: 12170
- Thank you received: 4153
Error message when closing qtplasmac
- rodw
- Offline
- Platinum Member
-
Less
More
3 years 9 months ago #263070
by rodw
Replied by rodw on topic Error message when closing qtplasmac
I can't see anything has changed in that commit. All I could see was an additional logging call.
what does LOG.debug do?
what does LOG.debug do?
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
-
Less
More
- Posts: 2581
- Thank you received: 907
3 years 9 months ago - 3 years 9 months ago #263088
by snowgoer540
It's at the very bottom. Changed sys.exit(_qtvcp) to sys.exit(_app)
github.com/LinuxCNC/linuxcnc/blob/8890c4.../qtvcp/qtvcp.py#L509
It passes the string following it ('Exiting HAL') to the logger at the level indicated (debug in this case, the levels are: debug, info, warning, error, critical, verbose).
Worth noting - the default level is "warning", so you will only see log messages at warning level and above in the terminal. If you want to see lower than that, you can use a one of the options that is set in the display section of the ini file after "qtvcp".
DISPLAY = qtvcp -d qtplasmac
Would set logging to the debug level for qtplasmac.
Replied by snowgoer540 on topic Error message when closing qtplasmac
I can't see anything has changed in that commit. All I could see was an additional logging call.
It's at the very bottom. Changed sys.exit(_qtvcp) to sys.exit(_app)
github.com/LinuxCNC/linuxcnc/blob/8890c4.../qtvcp/qtvcp.py#L509
Line 427: LOG.debug('Exiting HAL')what does LOG.debug do?
It passes the string following it ('Exiting HAL') to the logger at the level indicated (debug in this case, the levels are: debug, info, warning, error, critical, verbose).
Worth noting - the default level is "warning", so you will only see log messages at warning level and above in the terminal. If you want to see lower than that, you can use a one of the options that is set in the display section of the ini file after "qtvcp".
DISPLAY = qtvcp -d qtplasmac
Would set logging to the debug level for qtplasmac.
Last edit: 3 years 9 months ago by snowgoer540.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
3 years 9 months ago #263134
by rodw
Replied by rodw on topic Error message when closing qtplasmac
Thanks for clayifying. I missed that!
I just pulled the 2.9 branch and it does seem to work running a Woodpecker sim which is QTVCP based.
I always wondered why it affected QTVCP and not QTPYVCP yet we were told it was out of our control so live with it.
I just pulled the 2.9 branch and it does seem to work running a Woodpecker sim which is QTVCP based.
I always wondered why it affected QTVCP and not QTPYVCP yet we were told it was out of our control so live with it.
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
3 years 9 months ago #263135
by rodw
Replied by rodw on topic Error message when closing qtplasmac
And the qtplasmac sim exits cleanly too!
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
-
Less
More
- Posts: 2581
- Thank you received: 907
3 years 9 months ago #263138
by snowgoer540
Thanks for the extra data point. I tried qtplasmac, qtaxis, qtdragon_hd and a few others, but not woodpecker.
Fingers crossed it stays fixed...
Replied by snowgoer540 on topic Error message when closing qtplasmac
Chris did the heavy lifting, I just found that last little bit.Thanks for clayifying. I missed that!
I just pulled the 2.9 branch and it does seem to work running a Woodpecker sim which is QTVCP based.
Thanks for the extra data point. I tried qtplasmac, qtaxis, qtdragon_hd and a few others, but not woodpecker.
Fingers crossed it stays fixed...
The following user(s) said Thank You: paulsao
Please Log in or Create an account to join the conversation.
- paulsao
- Offline
- Elite Member
-
Less
More
- Posts: 233
- Thank you received: 22
3 years 8 months ago #263724
by paulsao
Replied by paulsao on topic Error message when closing qtplasmac
Is there a way to fix it, maybe if I install other versions?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.379 seconds