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

More
5 years 6 days ago #224176 by rodw
ModuleNotFoundError: No module named 'qtpyvcp_conversational_gcode'

Please Log in to join the conversation.

More
5 years 6 days ago #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?

Please Log in to join the conversation.

More
5 years 6 days ago #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 to join the conversation.

More
5 years 6 days ago #224188 by spumco

Please Log in to join the conversation.

More
5 years 6 days ago #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)

Please Log in to join the conversation.

More
5 years 6 days ago #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.

Please Log in to join the conversation.

More
5 years 6 days ago #224216 by spi
I also see the same error with realtime delay on task 0. Unclear why that would be.

Please Log in to join the conversation.

More
5 years 6 days ago #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 to join the conversation.

More
5 years 6 days ago #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 to join the conversation.

More
5 years 6 days ago #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 to join the conversation.

Time to create page: 0.199 seconds
Powered by Kunena Forum