NativeCam raspberry Pi 4

More
8 years 11 months ago #102529 by FernV
If you are having this problem, someone else might have it too. So help me solve this by answering ALL my questions.

Fern

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

  • Weiler810T
  • New Member
  • New Member
More
8 years 10 months ago #102581 by Weiler810T
Replied by Weiler810T on topic Use NativeCAM as a deb package now
Hallo
What's that, Bug or Feature? ;)


task: main loop took 0.013716 seconds
Xlib.protocol.request.QueryExtension
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()

Linuxcnc 2.7.11 Config:

**** GMOCCAPY INFO : postgui halfile = gmoccapy_postgui.hal ****:
gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py
/usr/bin/gladevcp:185: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
builder.add_from_file(xmlname)
**** probe_screen GETINIINFO ****
Preference file path: /home/chiron/linuxcnc/configs/sim.gmoccapy/gmoccapy_4_axis.pref
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py

NativeCAM info:
inifile = /home/chiron/linuxcnc/configs/sim.gmoccapy/gmoccapy_4_axis.ini
NCAM_DIR = /home/chiron/linuxcnc/configs/sim.gmoccapy/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py


[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities:ncam/lib/mill:ncam/lib/utilities:macros
Real paths:
/home/chiron/linuxcnc/configs/sim.gmoccapy/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities
/home/chiron/linuxcnc/configs/sim.gmoccapy/macros

Benutze default mill/menu.xml, kein mill/menu-custom.xml gefunden

task: main loop took 0.013716 seconds
Xlib.protocol.request.QueryExtension
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Voheriger Zustand nicht als aktuell abgespeichert
task: main loop took 0.011793 seconds
Xlib.protocol.request.QueryExtension
task: main loop took 0.011890 seconds
task: main loop took 0.017384 seconds
/usr/lib/pymodules/python2.7/gmoccapy/notification.py:168: GtkWarning: Invalid icon size 48



Current status NativeCam:

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

More
8 years 10 months ago #102599 by FernV
Hi,

Since you do not mention what worries you, I will just comment what I see

Weiler810T wrote: What's that, Bug or Feature?

/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()

This is a pygtk warning of a bug that affect keyboard accelerators. In File menu, you do not see the accelerators but you can still use what I implemented for File->Open with <ctrl>O, File->Save with <ctrl>S and File->New with <ctrl>N
I had no other way to work around this pygtk bug

[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities:ncam/lib/mill:ncam/lib/utilities:macros

Edit SUBROUTINE_PATH in your ini. Replace it with
ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities:macros

It was doubled probably because NCam was executed twice stand alone on this ini

Everything else looks OK

Regards
Fern

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

More
8 years 10 months ago #103246 by Gene1934
Your messages are strange, have you used the deb package or you cloned from GitHub ?

Cloning is NOT supported and if it is what you have done, delete everything related to NativeCAM and install with the script found here :
forum.linuxcnc.org/40-subroutines-and-ng...as-a-deb-package-now

that script is the one that squawked. And I don't have any idea what message I am replying to. It did install your site to /etc/apt/sources.list.d before it died.

Cheers, Gene1934

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
8 years 10 months ago #103248 by Gene1934
If cloning doesn't work. and the zip git makes isn't good, how do I install it correctly?

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
8 years 10 months ago #103271 by FernV

Gene1934 wrote: If cloning doesn't work. and the zip git makes isn't good, how do I install it correctly?


What is your Linux distribution ?

Fern

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

Time to create page: 0.246 seconds
Powered by Kunena Forum