Time and date on Gmoccapy

More
11 years 1 month ago #62256 by LAIR82
Replied by LAIR82 on topic Time and date on Gmoccapy
It looks like 1.5.5, I can't open my config, but a current ( as of last friday ) sim config shows 1.5.5, I looked at ,

newbynobi wrote: Or you do the changes directly on the file

Code:
/usŕ/bin/gmoccapy

do not change owner or mode. That is the way you will not need the source or to remake linuxcnc.

For gmoccapy 1.5.3.1 the corresponding line to make the changes is 1364

Norbert


And didn't find the " self.widgets.lbl_time.set_label( strftime( "%H:%M:%S" ) + "\n" + strftime( "%d.%m.%Y" ) )" line any where, I searched the whole file, and couldn't find it all.

Thanks

Rick

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

More
11 years 4 weeks ago #63402 by newbynobi
Replied by newbynobi on topic Time and date on Gmoccapy
Hallo Rick, sorry for the late answer.

It must be there ;-)

in gmoccapy 1.5.5.2 it is in line 1370,

just searche for

def _periodic

and some lines down you will find the line ;-)

Norbert

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

More
11 years 3 weeks ago #63445 by LAIR82
Replied by LAIR82 on topic Time and date on Gmoccapy
Yeah, I'm not sure what I had going on, but after I did a fresh pull, and re-compiled, it was there and I changed it.

I had a few things fouled up on the machine, but we're back to making chips now :)

Thanks

Rick

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

Moderators: newbynobi, HansU
Time to create page: 0.288 seconds
Powered by Kunena Forum