Update 2.8.0 to 2.8.1 with qtvcp issue

More
16 Dec 2020 17:19 #192144 by partec
at the Update 2.8.0 to 2.8.1 - only to try it - following qtvcp issue

/home/user/linuxcnc/configs/sim.axis.qtvcp/
*.INI
EMBED_TAB_NAME= qtscreen
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align

Traceback (most recent call last):
File "/home/user/linuxcnc/configs/sim.axis.qtvcp/cam_align_handler.py", line 94, in nextFrame
self.pin_.set(360 - self.w.camview.rotation)
AttributeError: HandlerClass instance has no attribute 'pin_'

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 17:28 #192145 by cmorley
are you using a custom cam_align handler ?
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 17:39 #192149 by partec
thanks, the message comes in the original configuration, strange

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 18:34 #192153 by partec
Chris,
I quickly reinstalled from the CD, then in 2.8.0 started qtdefault_mm and Cam View worked perfectly,
then dist-upgrade done directly, then qtdefault_mm started and Cam View no longer works

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 18:45 #192154 by partec
but - interestingly - sim.axis.qtvcp with qtvcp_tab works now exactly as requested

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 23:29 #192210 by cmorley
It must be pulling out a custom handler file somehow - as none of the branches have 94 lines
nor self.pin_.set
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

More
17 Dec 2020 12:12 #192242 by partec
for quick and easy customization of the QTvcp Cam View Dialog it would be good if somewhere be set

self.w.camview.diameter = 400

Please Log in or Create an account to join the conversation.

More
17 Dec 2020 23:31 #192283 by cmorley
you can.
copy the cam_align_handler.py into your configuration folder (same name)
Modify that file as you like.
Qtvcp will use the local file in your config folder.
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

More
19 Dec 2020 13:50 #192454 by partec
Chris, I would like to confirm again, as further up in the log, I installed from the Buster CD 2.8.0 on different motherboards several times and started qtdefault_mm with Cam View working perfectly, then always after dist-upgrade 2.8.1 qtdefault_mm where Cam View no longer works

Please Log in or Create an account to join the conversation.

More
19 Dec 2020 19:43 #192474 by cmorley
Thanks for putting the effort into checking different versions.

On a system that fails, could you run linuxcnc from a terminal and post all the debug messages here?

Chris
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.275 seconds
Powered by Kunena Forum