NativeCam raspberry Pi 4

More
28 Nov 2017 15:07 #102435 by FernV

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

More
28 Nov 2017 19:55 - 28 Nov 2017 19:56 #102453 by Geshka
Fern.

Here is startup sequence of the LinuxCNC

gyakubov@LinuxCNC:~/Desktop/my-mill$ linuxcnc my-mill.ini
LINUXCNC - 2.7.0
Machine configuration directory is '/home/gyakubov/Desktop/my-mill'
Machine configuration file is 'my-mill.ini'
Starting LinuxCNC...
.
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal

(gladevcp:5772): libglade-WARNING **: Expected <glade-interface>. Got <interface>.

(gladevcp:5772): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP ERROR: With xml file: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui : could not create GladeXML object


I also attached ini file.
Thanks a lot
Attachments:
Last edit: 28 Nov 2017 19:56 by Geshka.

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

More
28 Nov 2017 22:30 #102460 by Geshka
Forgot to mention - I have fresh Debian install and applied nativecam with DEB package.

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

More
29 Nov 2017 03:40 #102466 by FernV
Hi,

Your ini file is OK
Try this : delete '/home/gyakubov/Desktop/my-mill/ncam'
Then restart lcnc

Also run ncam standalone and show me the terminal screen result.

Fern

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

More
29 Nov 2017 05:01 #102469 by FernV
Can you also check if 'python-lxml v2.3.2' or better and 'truetype-tracer v 4.1-4' or better are installed on your pc

Fern

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

More
29 Nov 2017 22:26 #102513 by Geshka
Python lxml version is

Python 2.7.3 (default, Mar 14 2014, 11:57:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
>>> etree.LXML_VERSION
(2, 3, 2, 0)
>>>

Don't know how to get version of truetype-tracer :(

below is output of ncam from terminal.

gyakubov@LinuxCNC:~/linuxcnc/configs/my-mill$ ncam -i my-mill.ini

NativeCAM info:
inifile = /home/gyakubov/linuxcnc/configs/my-mill/my-mill.ini
NCAM_DIR = /home/gyakubov/linuxcnc/configs/my-mill/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py

Created 9 files in /home/gyakubov/linuxcnc/configs/my-mill/ncam/catalogs
Updated 1 files in /home/gyakubov/linuxcnc/configs/my-mill/ncam/my-stuff

[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
Real paths:
/home/gyakubov/linuxcnc/configs/my-mill/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities

Using default mill/menu.xml, no mill/menu-custom.xml found

/usr/bin/ncam: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()
Previous work not saved as current work
^CTraceback (most recent call last):
File "/usr/bin/ncam", line 4621, in get_col_icon
def get_col_icon(self, column, cell, model, itr) :



Thanks for your help, Fern

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

More
30 Nov 2017 04:56 #102521 by FernV

...Don't know how to get version of truetype-tracer

Open Synaptic and search for 'truetype-tracer'. If installed, you will see the version number.
Without 'truetype-tracer', you will not be able to do engraving of TT Fonts.


...below is output of ncam from terminal.
.
.
.
File "/usr/bin/ncam", line 4621, in get_col_icon
def get_col_icon(self, column, cell, model, itr) :

Is this all ? It should give more details about the problem. I do not know if an icon file is missing or the' Preferences' was not read or what ...

Does NativeCAM run well in stand alone mode ? Or does it print lots of message like this one in the terminal ? You should recognize info from error messages.

What is the version installed ? It shows in 'About' dialog or you can find it in Synaptic searching 'nativecam'. Latest published version is 0.1.14b, update if you have an older version.

Fern

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

More
30 Nov 2017 11:35 #102526 by Geshka
Yes, it runs just fine. Generated G-code passed to the LCNC and refreshes.

I think I can live with that... and I probably like it better. Lat's not waste our time. Thanks for you help and great utility.

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

More
30 Nov 2017 13:54 #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
The following user(s) said Thank You: Weiler810T

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

More
02 Dec 2017 05:47 #102581 by Weiler810T
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:

Attachments:

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

Time to create page: 0.289 seconds
Powered by Kunena Forum