A couple of errors during update 2.8.2-130-g87f66feaf
17 Jul 2022 22:57 #247602
by JohnnyCNC
Replied by JohnnyCNC on topic A couple of errors during update 2.8.2-130-g87f66feaf
I'll see what I can get when I get back to my machine. Earlier today I had it happen right after hitting the MDI button and running a G28. I had just done the home all which leaves the tool at the front left corner of the table. I then issued a G28 and it move the tool to center of the table when I do most work. At this point I could no longer put the machine back in manual or jog.
Please Log in or Create an account to join the conversation.
17 Jul 2022 23:14 #247605
by spumco
Replied by spumco on topic A couple of errors during update 2.8.2-130-g87f66feaf
I'm fiddling in a virtual machine now. If JohnnyCNC's examples aren't enough to reproduce, let me know and I'll fire up my real machine.
Please Log in or Create an account to join the conversation.
17 Jul 2022 23:32 #247609
by JohnnyCNC
Replied by JohnnyCNC on topic A couple of errors during update 2.8.2-130-g87f66feaf
Attachments:
Please Log in or Create an account to join the conversation.
17 Jul 2022 23:46 #247610
by dgarrett
Replied by dgarrett on topic A couple of errors during update 2.8.2-130-g87f66feaf
Repeating request:
@spumco :
1) post the output from:
$ linuxcnc_info
2) post a tar or zip file of the configuration directory
3) post details on the steps needed to produce the error
4) when the error occurs, execute (in a separate shell):
$ halcmd show pin|grep active
and post the result
Also
4) Please try to duplicate in an included distribution sim
config (qtdragon?) and post detailed steps to reproduce the error.
@spumco :
1) post the output from:
$ linuxcnc_info
2) post a tar or zip file of the configuration directory
3) post details on the steps needed to produce the error
4) when the error occurs, execute (in a separate shell):
$ halcmd show pin|grep active
and post the result
Also
4) Please try to duplicate in an included distribution sim
config (qtdragon?) and post detailed steps to reproduce the error.
Please Log in or Create an account to join the conversation.
18 Jul 2022 01:24 #247618
by spumco
Replied by spumco on topic A couple of errors during update 2.8.2-130-g87f66feaf
Files attached, along with screenshot of error message.
LCNC 2.9 RIP, qtpyvcp (master), Probe Basic (py3)
Steps to reproduce:
Could not reproduce on included sim QtDragon_hd.
LCNC 2.9 RIP, qtpyvcp (master), Probe Basic (py3)
Steps to reproduce:
- Start machine & home all axis
- jogging works
- load ngc file
- switch back to manual mode - jogging works
- run ngc file using cycle start GUI button
- file completes
- select manual mode GUI button
- jogging works
- run ngc file again
- file completes
- select manual mode GUI button
- attempt to jog => error message + jogging not responsive
- close error message
- jogging still not responsive
- select manual mode GUI button => error message + jogging not responsive
- select auto mode GUI button => error message + jogging not responsive
Could not reproduce on included sim QtDragon_hd.
Please Log in or Create an account to join the conversation.
18 Jul 2022 02:15 - 18 Jul 2022 02:17 #247622
by dgarrett
Replied by dgarrett on topic A couple of errors during update 2.8.2-130-g87f66feaf
@spumco
The ini file PBtestATC.ini contained in HAL_rev33_ATC.zip
uses:
[DISPLAY]
DISPLAY = probe_basic
The probe_basic executable is not part of the LinuxCNC
git tree or distribution and i don't have the time or
energy to build or test executables from outside projects.
Can you
1) reproduce problem using in-tree guis?
or better:
2) reproduce problem using an in-tree SIMULATION config
like qtdragon?
Ref: configs/sim/qtvcp_screens/qtdragon/qtdragon.ini
I have some ideas, but ... the hardware configs showing
the problem are complicated to test as they include
specific hardware (hm2_eth, vc-p4s) that i do not have
so simplifying to a sim config would be helpful.
Alternatively, making a modified config to test without
use of the vc-p4s component could help to isolate
the problem as it may be related to halui plus/minus
jogging implemented therein.
The ini file PBtestATC.ini contained in HAL_rev33_ATC.zip
uses:
[DISPLAY]
DISPLAY = probe_basic
The probe_basic executable is not part of the LinuxCNC
git tree or distribution and i don't have the time or
energy to build or test executables from outside projects.
Can you
1) reproduce problem using in-tree guis?
or better:
2) reproduce problem using an in-tree SIMULATION config
like qtdragon?
Ref: configs/sim/qtvcp_screens/qtdragon/qtdragon.ini
I have some ideas, but ... the hardware configs showing
the problem are complicated to test as they include
specific hardware (hm2_eth, vc-p4s) that i do not have
so simplifying to a sim config would be helpful.
Alternatively, making a modified config to test without
use of the vc-p4s component could help to isolate
the problem as it may be related to halui plus/minus
jogging implemented therein.
Last edit: 18 Jul 2022 02:17 by dgarrett.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
18 Jul 2022 03:15 #247626
by spumco
Replied by spumco on topic A couple of errors during update 2.8.2-130-g87f66feaf
[don't blame for not wanting to delve in to edge-case GUI's]
I'm unable to reproduce the error in qtdragon or qtdragon_hd sims
I turned off the vc-p4s MPG component (commented out both HALFILE and POSTGUI_HALFILE) and the error is not occurring, regardless how many times I run an NGC file and switch back and forth between manual/auto modes.
I think that narrows it down, yes?
This wasn't an issue as of few months ago and I haven't changed anything in either of the vc-p4s hal files.
I'm unable to reproduce the error in qtdragon or qtdragon_hd sims
I turned off the vc-p4s MPG component (commented out both HALFILE and POSTGUI_HALFILE) and the error is not occurring, regardless how many times I run an NGC file and switch back and forth between manual/auto modes.
I think that narrows it down, yes?
This wasn't an issue as of few months ago and I haven't changed anything in either of the vc-p4s hal files.
Please Log in or Create an account to join the conversation.
18 Jul 2022 03:29 #247627
by dgarrett
Replied by dgarrett on topic A couple of errors during update 2.8.2-130-g87f66feaf
@spumco :
It appears you are running a self-built Run-in-place
install for the master branch at commit 8da3ed4f04 (Jun 9 2022)
I've made a test branch with a potential fix based
on the current master branch that you can test by
checking out and building the branch:
dgarr/master_testa
Example:
$ cd your_LinuxCNC_git_top_directory
$ git fetch
$ git checkout dgarr/master_testa
$ cd src
$ make && sudo make setuid
$ test_your_hardware_config
Please test and report
===========================================================
@johnnyCNC :
It appears you are running a deb install for the 2.8 branch
commit 87f66feaf (27 may 2022)
I've made a test branch dgarr/2.8testa based on current
2.8 branch that you can get from the buildbot as a 'scratch' deb
Instructions for using a scratch deb at:
buildbot.linuxcnc.org/
Please test and report
It appears you are running a self-built Run-in-place
install for the master branch at commit 8da3ed4f04 (Jun 9 2022)
I've made a test branch with a potential fix based
on the current master branch that you can test by
checking out and building the branch:
dgarr/master_testa
Example:
$ cd your_LinuxCNC_git_top_directory
$ git fetch
$ git checkout dgarr/master_testa
$ cd src
$ make && sudo make setuid
$ test_your_hardware_config
Please test and report
===========================================================
@johnnyCNC :
It appears you are running a deb install for the 2.8 branch
commit 87f66feaf (27 may 2022)
I've made a test branch dgarr/2.8testa based on current
2.8 branch that you can get from the buildbot as a 'scratch' deb
Instructions for using a scratch deb at:
buildbot.linuxcnc.org/
Please test and report
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
18 Jul 2022 03:34 - 18 Jul 2022 03:38 #247628
by spumco
Minor hiccup on my end.
I have some changes to carousel.comp Andy gave me and I did a local halcompile to install them. How do I "commit my changes or stash them" before switching branches to your test?
Nevermind - internet to the rescue. Will report back after testing.
Replied by spumco on topic A couple of errors during update 2.8.2-130-g87f66feaf
I have some changes to carousel.comp Andy gave me and I did a local halcompile to install them. How do I "commit my changes or stash them" before switching branches to your test?
Nevermind - internet to the rescue. Will report back after testing.
Last edit: 18 Jul 2022 03:38 by spumco.
Please Log in or Create an account to join the conversation.
18 Jul 2022 03:51 #247629
by dgarrett
Replied by dgarrett on topic A couple of errors during update 2.8.2-130-g87f66feaf
@spumco :
> How do I "commit my changes or stash them" before switching branches
==========================================
Example 1) commit first:
$ cd top_directory
$ git branch | grep \* # show what branch you are on (master)
$ git diff # show what files you have changed
$ git add each_changed_file # add files for commit
$ git commit # make commit with message
$ git fetch # refresh
$ git checkout some_new_branch
$ ...
Note: your git tree will not agree with master since you committed changes
For more info search the web or study:
$ git help commit
==========================================
Example 2) stash
$ cd top_directory
$ git branch | grep \* # show what branch you are on (master)
$ git diff # show what files you have changed
$ git stash # stash in-tree changes
$ git fetch # refresh
$ git checkout some_new_branch
$ ...
$ # when finished testing new branch:
$ git checkout master # (master)
$ git stash show # show what you stashed
$ git stash pop # restore stashed changes
Note: your git tree restored
For more info search the web or study:
$ git help stash
> How do I "commit my changes or stash them" before switching branches
==========================================
Example 1) commit first:
$ cd top_directory
$ git branch | grep \* # show what branch you are on (master)
$ git diff # show what files you have changed
$ git add each_changed_file # add files for commit
$ git commit # make commit with message
$ git fetch # refresh
$ git checkout some_new_branch
$ ...
Note: your git tree will not agree with master since you committed changes
For more info search the web or study:
$ git help commit
==========================================
Example 2) stash
$ cd top_directory
$ git branch | grep \* # show what branch you are on (master)
$ git diff # show what files you have changed
$ git stash # stash in-tree changes
$ git fetch # refresh
$ git checkout some_new_branch
$ ...
$ # when finished testing new branch:
$ git checkout master # (master)
$ git stash show # show what you stashed
$ git stash pop # restore stashed changes
Note: your git tree restored
For more info search the web or study:
$ git help stash
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.093 seconds