Update 2.8.0 to 2.8.1 with qtvcp issue

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #192145 by cmorley
are you using a custom cam_align handler ?

Please Log in to join the conversation.

More
5 years 10 months ago #192149 by partec
thanks, the message comes in the original configuration, strange

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #192154 by partec
but - interestingly - sim.axis.qtvcp with qtvcp_tab works now exactly as requested

Please Log in to join the conversation.

More
5 years 10 months ago #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

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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.

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum