2.8 beta gmoccapy Issues

More
30 Dec 2016 20:24 - 30 Dec 2016 20:38 #84929 by bevins
In Axis, when it is running and you change somethin in configs and want to restart, you can just start via shorcut on desktop. it wil ask you it is ruunning already, Do you want to restart Linuxcnc. If you say yes, it will shutdown and restart.

In Gmoccapy it throws errors everytime, and you cannot close the errors, plus I cannot find the pid it is running to kill it, so I have to restart.

Is it in the plans to fix this?

Bob

Attachments:
Last edit: 30 Dec 2016 20:38 by bevins.

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

More
31 Dec 2016 08:18 #84949 by newbynobi
Replied by newbynobi on topic 2.8 beta gmoccapy Issues
Hallo,

is there a way to reproduce that error?
What happen if you start from a terminal?
Why does linuxcnc not shutdown correctly?

Norbert

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

More
31 Dec 2016 13:28 #84955 by bevins
Replied by bevins on topic 2.8 beta gmoccapy Issues

Hallo,

is there a way to reproduce that error?
What happen if you start from a terminal?
Why does linuxcnc not shutdown correctly?

Norbert


I didnt try starting from a terminal but will today.

It happens everytime I click on the shortcut to start LCNC when it is already running.

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

More
01 Jan 2017 14:10 #85008 by newbynobi
Replied by newbynobi on topic 2.8 beta gmoccapy Issues
I just tested to start two configs from terminal
I just get the message, that LinuxCNC is already running.

So all OK here.
I have not checked with shortcuts, as I have not installed master.

Do you start from a bash script? May be that is the reason you do not see the error message.

Norbert

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

More
01 Jan 2017 14:24 #85011 by bevins
Replied by bevins on topic 2.8 beta gmoccapy Issues

I just tested to start two configs from terminal
I just get the message, that LinuxCNC is already running.

So all OK here.
I have not checked with shortcuts, as I have not installed master.

Do you start from a bash script? May be that is the reason you do not see the error message.

Norbert


I get the message also. It asks if you want to restart anyway. I say yes and thats where the problem is. Not the error message.

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

More
01 Jan 2017 14:35 - 01 Jan 2017 14:38 #85013 by newbynobi
Replied by newbynobi on topic 2.8 beta gmoccapy Issues
You should't say YES!

I just checked that.
I got a similar behavior:

I opened two terminals,
started one config from terminal 1
started the same config from the second terminal
got the message "still running, restart"
Said yes
I got error messages like your screenshot, and I was also not able to close them, but killing the first terminal solved the problem.

I have to chek if that can be avoided.

Check the terminal output! A lot of errors. But also the PID of the Process

Norbert
Last edit: 01 Jan 2017 14:38 by newbynobi.

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

More
01 Jan 2017 14:43 #85014 by bevins
Replied by bevins on topic 2.8 beta gmoccapy Issues

You should't say YES!

I just checked that.
I got a similar behavior:

I opened two terminals,
started one config from terminal 1
started the same config from the second terminal
got the message "still running, restart"
Said yes
I got error messages like your screenshot, and I was also not able to close them, but killing the first terminal solved the problem.

I have to chek if that can be avoided.

Check the terminal output! A lot of errors. But also the PID of the Process

Norbert



Yes means Yes...... lol

IT works in Axis, and I use it all the time when configuring and retrofitting a machine. It is faster to restart LinuxCNC that way.

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

More
05 Jan 2017 08:30 #85274 by newbynobi
Replied by newbynobi on topic 2.8 beta gmoccapy Issues
Hallo bevins,

I found the solution, changing the linuxcnc start script. I also added some more testing to some other filed to avoid the errors you mentioned.
I just pushed 2.2.1, please test, if that suit your needs.

Norbert

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

More
05 Jan 2017 12:11 #85281 by bevins
Replied by bevins on topic 2.8 beta gmoccapy Issues

Hallo bevins,

I found the solution, changing the linuxcnc start script. I also added some more testing to some other filed to avoid the errors you mentioned.
I just pushed 2.2.1, please test, if that suit your needs.

Norbert


WOW, that was fast. Thanks..

Is it pushed to branch or how do I obtain the new release?

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

More
05 Jan 2017 13:00 #85283 by newbynobi
Replied by newbynobi on topic 2.8 beta gmoccapy Issues
@bevins,

that was slow normally I am faster ;)
I pushed to master, so just do a update from git.

If you are using buildbot, it might take a day to be in there.

Norbert

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

Time to create page: 0.178 seconds
Powered by Kunena Forum