Original Gmoccopy setting all gone
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
27 Nov 2024 18:52 #315400
by Aciera
Indeed a python2 vs python3 issue. If you have not customized 'stdglue.py' you can try and replace stdglue.py in your config/python directory with the current file:
'configs/sim/gmoccapy/python/stdglue.py'
Replied by Aciera on topic Original Gmoccopy setting all gone
File "/home/raychar/linuxcnc/configs/my_LinuxCNC_machine/python/stdglue.py", line 59
print "change_prolog: Toolchanger soft fault %d" % int(self.params[5601])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Indeed a python2 vs python3 issue. If you have not customized 'stdglue.py' you can try and replace stdglue.py in your config/python directory with the current file:
'configs/sim/gmoccapy/python/stdglue.py'
Please Log in or Create an account to join the conversation.
- raychar
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 2
28 Nov 2024 12:41 #315459
by raychar
Replied by raychar on topic Original Gmoccopy setting all gone
After deleting stdglue.py in those folders, please see as attachment, and replacing with the one in sim/gmoccapy/python/ for them, when opening LinuxCNC, the Gmoccapy screen still not o.k. (there are stdglue.pyc files, I think they won't have effect, I haven't do anything on them)
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
28 Nov 2024 12:52 #315460
by Aciera
Replied by Aciera on topic Original Gmoccopy setting all gone
Run from terminal again and post the output as there are likely other python2/gtk2 issues..
Please Log in or Create an account to join the conversation.
- raychar
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 2
28 Nov 2024 13:51 #315468
by raychar
Replied by raychar on topic Original Gmoccopy setting all gone
Also, by running linuxcnc -l in terminal, the message found as listed in attachment. However, if I replace the old mSATA drive which has with old version Linuxcnc on this same computer, everything works fine. Don't know why everything goes wrong now including the latency test
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
28 Nov 2024 14:31 #315470
by Aciera
Replied by Aciera on topic Original Gmoccopy setting all gone
New operating system and new Linuxcnc version are expected to give you different behavior.
As for the config not starting, uncomment these lines in your ini and try again:
You will likely need to update 'gvcp-panel.ui', opening the file in glade and saving again might already do the trick.
As for the config not starting, uncomment these lines in your ini and try again:
EMBED_TAB_NAME = Center_panel
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -c gladevcp -H gvcp_call_list.hal -x {XID} gvcp-panel.ui
You will likely need to update 'gvcp-panel.ui', opening the file in glade and saving again might already do the trick.
Please Log in or Create an account to join the conversation.
- raychar
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 2
28 Nov 2024 17:26 #315477
by raychar
Replied by raychar on topic Original Gmoccopy setting all gone
After doing the lines' uncommenting, still not work, as shown in attached error message. Furthermore, i don't know how to opening the file in glade to do upgrading the 'gvcp-panel.ui' file? where is glade ? Also, i don't know why my hardware now runs with the latency problem, this showed in error message and also when I run latency test, previously this did'nt happen.
(my mini computer is of :
Intel Celeron(R) CPU J1800 @ 2.41Ghz
RAM: 2G, Storage: 512 mSATA drive)
(my mini computer is of :
Intel Celeron(R) CPU J1800 @ 2.41Ghz
RAM: 2G, Storage: 512 mSATA drive)
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
28 Nov 2024 17:46 #315478
by Aciera
Replied by Aciera on topic Original Gmoccopy setting all gone
Re: Latency issues with new os:
forum.linuxcnc.org/ethercat/54144-perfor...-9-3-bookworm#312257
Re: glade
It's a program to build glade user interfaces. If you don't want to install it just post the file here and I'll try to update it for you.
forum.linuxcnc.org/ethercat/54144-perfor...-9-3-bookworm#312257
Re: glade
It's a program to build glade user interfaces. If you don't want to install it just post the file here and I'll try to update it for you.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19615
- Thank you received: 6610
28 Nov 2024 18:47 #315482
by tommylight
Replied by tommylight on topic Original Gmoccopy setting all gone
Does the 7i76E have field power ?
Please Log in or Create an account to join the conversation.
- raychar
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 2
29 Nov 2024 14:07 #315543
by raychar
Replied by raychar on topic Original Gmoccopy setting all gone
Attached the ui file, please help to update. Also, after running linuxcnc -l in terminal, the error message is as in attachmentRe: Latency issues with new os:
forum.linuxcnc.org/ethercat/54144-perfor...-9-3-bookworm#312257
Re: glade
It's a program to build glade user interfaces. If you don't want to install it just post the file here and I'll try to update it for you.
Please Log in or Create an account to join the conversation.
- raychar
- Offline
- Premium Member
Less
More
- Posts: 100
- Thank you received: 2
29 Nov 2024 14:09 #315544
by raychar
Replied by raychar on topic Original Gmoccopy setting all gone
Missed in last message, the gvcp-panel.ui here
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds