Trouble installing from a backup

More
1 year 9 months ago #319871 by Vector
I live near the winds and the fires in Pasadena, California, and after the sudden power failures (several trees made spectacular messes all over our neighborhood, so it was a sudden spike-outage: also fried my fridge) my CNC mini-computer has taken to randomly rebooting.

So I ordered a replacement mini computer, and repeated all my installation steps, except for a scratch re-make of pncconf.

Instead, I copied back all the config files, directories and symbolic links from the old computer (it still runs, just inconsistently).

But at the end of everything, I get this error report and I'm stuck.

I was able to get a version of QtDragon interface to run (as far as actually displaying on the screen, haven't run the machine yet) by going through the pncconf process...
... but I will have to make a lot of changes to get back where I was, so I was hoping to make that restore route work.

If anyone can take a peek at this error report and have an insight into what I've screwed up, it would save me a bunch of time.

If not, then time is what it will take ;-/

Thank you all!

Vector

Please Log in to join the conversation.

More
1 year 9 months ago #319902 by Aciera
Looks like a problem with QTVCP:
Code:
[QTvcp.QTVCP.WIDGETS.DRO_WIDGET][[34mDEBUG[0m] axis number 3 not found in available-axis to joint conversion dict {0: 0, 1: 1, 2: 2, 4: 3, 5: 4} of widget: dro_axis_a (dro_widget.py:72) [QTvcp.QTVCP.WIDGETS.STATUS_LABEL][[33mWARNING[0m] lbl_maxv_percent : no option recognised (status_label.py:162) [QTvcp.QTVCP.WIDGETS.STATUS_LABEL][[33mWARNING[0m] lbl_max_rapid : no option recognised (status_label.py:162) [QTvcp.QTVCP.WIDGETS.STATUS_LABEL][[33mWARNING[0m] lbl_runtime : no option recognised (status_label.py:162) [QTvcp][[34mDEBUG[0m] Calling the handler file's initialized__ function (qtvcp:283) [QTvcp][[41mCRITICAL[0m] Retry from Error Dialog Qtvcp encountered an error. The following information may be useful in troubleshooting: LinuxCNC Version : 2.9.0~pre1+git20230208.f1270d6ed7 Traceback (most recent call last): File "/usr/bin/qtvcp", line 508, in <module> _qtvcp = QTVCP() ^^^^^^^ File "/usr/bin/qtvcp", line 284, in __init__ window.handler_instance.initialized__() File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 148, in initialized__ self.init_widgets() File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 324, in init_widgets self.adjust_stacked_widgets(TAB_MAIN) File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 1220, in adjust_stacked_widgets self.w['dro_button_stack_%s'%i.lower()].setCurrentIndex(num) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 493, in __getitem__ return getattr(self, item) ^^^^^^^^^^^^^^^^^^^ AttributeError: 'VCPWindow' object has no attribute 'dro_button_stack_b'

Not sure but did you maybe update the original installation on the old PC at some point and have not done so on the new setup?

Please Log in to join the conversation.

More
1 year 9 months ago #319903 by Aciera
Do you want me to move this over to the QTVCP section to have it more exposed to cmorley?

Please Log in to join the conversation.

More
1 year 9 months ago #319907 by Vector
Entirely possible. I updated the old installation several times, but then I installed fresh with:
apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
I would have thought that would be equivalent.
And, I didn't make any screen changes to the QtDragon, at least not that I was aware of.

Please Log in to join the conversation.

More
1 year 9 months ago #319919 by Vector
Thank you Aciera,

I think so, if there's a better section of the forums. I very much appreciate it. I'm trying to go step-by-step through the working default .ini file generated by pncconf, but weirdly when I make innocuous changes, like adding a remark line, suddenly I'm getting errors when it shuts down.

Just when I think I figure out what kind of .ini change is causing an error screen on exit, then I can't reproduce it anymore ... at this point I'm just confused.

So more expert help would be great. Thank you!

Please Log in to join the conversation.

More
1 year 9 months ago #319923 by Vector
Doh, Aciera, I think you were pointing me to the right place, and I just needed to kick myself with inane errors before realizing what I missed:

My old machine was installing from the buildbot2.highlab.com repository, and therefore getting a newer version (updated, as you said).

Once I fixed that step, the restored implementation is working (with some slight screen changes, but I can manage that).

Hooray, I'm better/good (for now) thank you.

Please Log in to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum