Trouble installing from a backup
- Vector
- Topic Author
- Away
- Premium Member
Less
More
- Posts: 92
- Thank you received: 22
26 Jan 2025 06:31 - 26 Jan 2025 06:46 #319871
by Vector
Trouble installing from a backup was created 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
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
Last edit: 26 Jan 2025 06:46 by Vector. Reason: Attach the .ini and .hal files
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4045
- Thank you received: 1748
26 Jan 2025 17:54 - 26 Jan 2025 17:59 #319902
by Aciera
Replied by Aciera on topic Trouble installing from a backup
Looks like a problem with QTVCP:
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?
[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?
Last edit: 26 Jan 2025 17:59 by Aciera.
The following user(s) said Thank You: Vector
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4045
- Thank you received: 1748
26 Jan 2025 18:01 - 26 Jan 2025 18:02 #319903
by Aciera
Replied by Aciera on topic Trouble installing from a backup
Do you want me to move this over to the QTVCP section to have it more exposed to cmorley?
Last edit: 26 Jan 2025 18:02 by Aciera.
The following user(s) said Thank You: tommylight, Vector
Please Log in or Create an account to join the conversation.
- Vector
- Topic Author
- Away
- Premium Member
Less
More
- Posts: 92
- Thank you received: 22
26 Jan 2025 19:08 #319907
by Vector
Replied by Vector on topic Trouble installing from a backup
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.
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 or Create an account to join the conversation.
- Vector
- Topic Author
- Away
- Premium Member
Less
More
- Posts: 92
- Thank you received: 22
26 Jan 2025 23:41 - 26 Jan 2025 23:56 #319919
by Vector
Replied by Vector on topic Trouble installing from a backup
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!
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!
Last edit: 26 Jan 2025 23:56 by Vector. Reason: Clarity
Please Log in or Create an account to join the conversation.
- Vector
- Topic Author
- Away
- Premium Member
Less
More
- Posts: 92
- Thank you received: 22
27 Jan 2025 00:52 #319923
by Vector
Replied by Vector on topic Trouble installing from a backup
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.
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 or Create an account to join the conversation.
Time to create page: 0.070 seconds