Debian Buster is not running Ncam

More
12 Jan 2021 00:08 #194993 by Barry
I have been using NativeCam for a couple of years and have successfully installed it on 8 machines all running Debian; however, when I upgraded my operating system to Debian Buster, NativeCam no longer worked. Please help.

To find the bugs, I opened a terminal and imported ncam.py into Python3. It looked like Buster did not load the following modules and their dependencies as part of it's basic installation package,

Pango.py
python-gobject
gtk
pygtk
cStringIO
Tkinter
configparser
and there may have been more.

Is there an easy way to upload these modules and all of their dependencies into Debain Buster. The Synaptic Package Manager did not appear to have these listed and I researched Forums, but got overwhelmed by what appeared to be a very lengthy and time consuming process for doing this. Please help.

Thank you,

Barry

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

More
12 Jan 2021 06:51 #195016 by pdxalz
Take a look at this post: NativeCAM deb package for BUSTER

The post by russtuff has a solution that works.

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

More
12 Jan 2021 22:36 #195136 by Barry
Thank you. I followed the instructions exactly; however, ncam is still not running in Buster, I am getting the error message:

no module named gtk

Any thoughts on what to do next?

Thank you,

Barry

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

More
12 Jan 2021 23:47 #195149 by andypugh
Maybe try installing gtk2?

At a guess: sudo apt-get install gtk2

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

More
12 Jan 2021 23:48 #195151 by andypugh
Did you install standard Buster or the LinuxCNC disto? I would expect the LinuxCNC version to be compatible. Or, at least, more compatible.

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

More
13 Jan 2021 05:28 #195174 by Barry
You are definitely pointing me in the right direction and thought that I was there...but then OMGosh, I ran ncam and got the error....No module named linuxcnc. I then looked under the Applications pull down menu and sure enough linuxcnc was not installed. So as you suspected, obviously I must have downloaded the wrong iso but where do I go to get the right iso? I downloaded DVD-1 from the address below. I assumed that this was the standard Buster and not the LinuxCNC distro.

cdimage.debian.org/debian-cd/current/amd64/iso-dvd/
[ISO] debian-10.7.0-amd64-DVD-1.iso

Anyway this may not matter now since I don't have the linuxcnc module installed, but to successfully clear all of earlier error messages I did the following.

Open Applications > System > Synaptic Package Manager
Select everything starting with "gtk" for install (I agree this was obsessive but hey it worked! :))

Opened a terminal and typed
sudo apt-get install python-tk
sudo apt update -y
sudo apt upgrade -y
ncam

then the error message....No module named linuxcnc....darn it!

With just a little more coaching & help I know I can get this working in Buster.

Can you please point me in the right direction for the right iso download for both the AMD64 format and the i386 format?

Thank you for helping me with this.

Barry

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

More
13 Jan 2021 07:20 #195191 by pdxalz
When I installed NativeCAM on Buster and followed the steps russtuff described, the only issue I ran into was step #8 where he said: Click OK (Reload when prompted).

I didn't get the prompt, so I hit the Reload button in the upper left of synaptics and then it worked ok after that.

Alan

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

More
13 Jan 2021 08:37 #195195 by andypugh

No module named linuxcnc.


I think that, if you solve that, the other dependencies will be automatically installed.

linuxcnc.org/docs/2.8/html/getting-start...th_preempt_rt_kernel

Start at step 4.

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

More
13 Jan 2021 15:57 #195223 by Barry
Success! Yah ncam is running under Buster. You guys are the best!!! Thank you! Thank you! :)

From the link you provided to the "Getting LinuxCNC" document I followed the instructions under section 7.1. "Installing on Debian Buster (with Preempt-RT kernel). Once I made it through those steps, ncam and LinuxCNC worked perfectly.

Thank you again. I REALLY appreciate every ones' help with this.

Have a great day,

Barry

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

Time to create page: 0.081 seconds
Powered by Kunena Forum