Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9

More
25 Oct 2021 03:35 #224176 by rodw
ModuleNotFoundError: No module named 'qtpyvcp_conversational_gcode'

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

More
25 Oct 2021 03:44 - 25 Oct 2021 03:45 #224178 by spumco
Thanks for taking a look Rod.

I did install the conversational-gcode git.  Running it again:

mill@MILL:~/probe_basic
$ git clone git://github.com/kcjengr/qtpyvcp.conversational-gcode.git
fatal: destination path 'qtpyvcp.conversational-gcode' already exists and is not an empty directory.


Do I need to add something to a path?
Last edit: 25 Oct 2021 03:45 by spumco.

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

More
25 Oct 2021 03:56 #224185 by rodw
You arlready have stuff in that folder so git will fail like that so you should do a Git Pull instead.

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

More
25 Oct 2021 04:04 #224188 by spumco

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

More
25 Oct 2021 04:29 - 25 Oct 2021 04:38 #224194 by spumco
Got it.

Not really sure how, but I think the conversational repo in the original post was pointing to the older python2 version.  Once I cloned the python3 branch directly from the github page and re-ran the python3 pip install everything cleared right up.

-R

EDIT - I knew this was too easy.  Now I'm getting an unexpected realtime delay error 5 seconds after probe basic starts up.

I hate clogging up an installation guide thread, but here's the terminal output:

Unexpected realtime delay on task 0 with period 100000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
[qtpyvcp.plugins.notifications][ERROR]  Unexpected realtime delay on task
 0 with period 100000
This Message
 will only display once per
 session.
Run the Latency Test and
 resolve before continuing. (notifications.py:139)
Last edit: 25 Oct 2021 04:38 by spumco.

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

More
25 Oct 2021 05:59 - 25 Oct 2021 06:05 #224214 by spi
Like you've already noticed it's important to check out python3 branch. I included it as a separate git checkout python3 command so that it's cleaner to remove once the master branch is Python 3.

Judging by the error message "ModuleNotFoundError: No module named 'qtpyvcp_conversational_gcode'"

Please check you haven't missed these steps:

cd ~
git clone git://github.com/kcjengr/qtpyvcp.conversational-gcode.git
git checkout python3
python3 -m pip install --editable .

You can also run 'pip3 list' to check conversational gcode is installed.

Note that in my guide cd ~ is missing as it's better to clone conversational gcode to home directory.
Last edit: 25 Oct 2021 06:05 by spi.

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

More
25 Oct 2021 06:02 #224216 by spi
I also see the same error with realtime delay on task 0. Unclear why that would be.

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

More
25 Oct 2021 09:14 #224241 by davidimurray
Thanks SPI for this - it's great.

I found the issue with Probe-basic not showing up in the start list. It is because linuxcnc installs into a folder called linuxcnc-dev but probe-basic installs into a floder called linuxcnc. Copying the config files from linuxcnc to linuxcnc-dev fixed the issue.

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

More
25 Oct 2021 09:30 #224242 by spi
One more difference that I found is that in LinuxCNC help the configure step is run adding the parameter:

--with-realtime=uspace

That might explain the error and be more correct anyway. I'll add to the guide once I get the formatting sorted out.

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

More
25 Oct 2021 11:36 #224247 by spumco

I also see the same error with realtime delay on task 0. Unclear why that would be.
 


Have you tried running a machine or the latency tests while getting the error?  I am reluctant to just ignore it, as I suspect it's something to do with this MX21/LCNC2.9/qtpyvcp/probe basic installation.  I never had a latency error after under 2.8 and the older versions of qtpyvcp and probe basic.

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

Moderators: KCJLcvette
Time to create page: 0.095 seconds
Powered by Kunena Forum