Hidden Gmoccapy dependencies
- tuxcnc
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 5
09 Aug 2020 08:57 - 09 Aug 2020 09:11 #177739
by tuxcnc
(It means gscreen launchs and works, but I don't now if properly.)
By the check of gscreen I found lack of onboard and installed it, but it is not the solution of main problem too.
Replied by tuxcnc on topic Hidden Gmoccapy dependencies
I don't know gscreen and never use, but it seems works.does gscreen load properly?
(It means gscreen launchs and works, but I don't now if properly.)
By the check of gscreen I found lack of onboard and installed it, but it is not the solution of main problem too.
Last edit: 09 Aug 2020 09:11 by tuxcnc.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7774
- Thank you received: 2055
09 Aug 2020 16:54 #177764
by cmorley
Replied by cmorley on topic Hidden Gmoccapy dependencies
Yes I asked just to prove gtk works...gscreen and gmoccapy use the same GUI toolkit.
So it is something Gmoccapy uses but Gscreen doesn't.
So it is something Gmoccapy uses but Gscreen doesn't.
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
Less
More
- Posts: 2075
- Thank you received: 406
11 Aug 2020 20:52 #177945
by newbynobi
Replied by newbynobi on topic Hidden Gmoccapy dependencies
Please start LinuxCNC from a terminal and post the output.
I will check on that output. Here gmoccapy is running fine under mint 19.3
Norbert
I will check on that output. Here gmoccapy is running fine under mint 19.3
Norbert
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
Less
More
- Posts: 2075
- Thank you received: 406
11 Aug 2020 21:05 #177948
by newbynobi
Replied by newbynobi on topic Hidden Gmoccapy dependencies
Could you please compare with the dependencies I needed to install additional, mentioned In this thread?
Install mint linuxcnc
Install mint linuxcnc
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 5
14 Aug 2020 22:00 #178209
by tuxcnc
I have four installation of Linux OS :
1. Xubuntu 18.04.4
2. Mint 19.3
3. Ubuntu 18.04 base system made by debootstrap
4. Ubuntu remaked from Linux Slax upgraded to Ubuntu 18.04
I have compilled Linuxcnc to deb packages on Xubuntu 18.04.4 with installed build dependiences.
I have installed Linuxcnc from those packages on fresh installed Xubuntu 18.04.4, and on fresh installed Mint 19.3, and all work, Gmoccapy too.
I have installed Linuxcnc from those packages on Ubuntu 18.04 made by debootstrap, and on Ubuntu remaked from Slax, and all work except Gmoccapy.
At this moment i have acces only to remaked Slax.
Terminal output is :
/root/mini/root/linuxcnc_debug.txt :
/root/mini/root/linuxcnc_print.txt :
Replied by tuxcnc on topic Hidden Gmoccapy dependencies
Please start LinuxCNC from a terminal and post the output.
I have four installation of Linux OS :
1. Xubuntu 18.04.4
2. Mint 19.3
3. Ubuntu 18.04 base system made by debootstrap
4. Ubuntu remaked from Linux Slax upgraded to Ubuntu 18.04
I have compilled Linuxcnc to deb packages on Xubuntu 18.04.4 with installed build dependiences.
I have installed Linuxcnc from those packages on fresh installed Xubuntu 18.04.4, and on fresh installed Mint 19.3, and all work, Gmoccapy too.
I have installed Linuxcnc from those packages on Ubuntu 18.04 made by debootstrap, and on Ubuntu remaked from Slax, and all work except Gmoccapy.
At this moment i have acces only to remaked Slax.
Terminal output is :
root@mini:~# linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy'
Machine configuration file is 'gmoccapy.ini'
Starting LinuxCNC...
Found file(REL): ./core_sim.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Note: Using POSIX realtime
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Found file(REL): ./spindle_sim.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Found file(REL): ./simulated_home.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
(0, ' = ', '/usr/bin/gmoccapy')
(1, ' = ', '-ini')
(2, ' = ', '/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.ini')
Entry = trivkins
Entry = coordinates=xyz
found the following coordinates xyz
**** GMOCCAPY GETINIINFO ****
Number of joints = 3
3 COORDINATES found = xyz
joint 0 = axis x
joint 1 = axis y
joint 2 = axis z
{0: 'x', 1: 'y', 2: 'z'}
('found kinematics module', ['trivkins', 'coordinates=xyz'])
**** GMOCCAPY GETINIINFO ****
[KINS] KINEMATICS is trivkins
Will use mode to switch between Joints and World mode
hopefully supported by the used <<trivkins>> module
**** GMOCCAPY GETINIINFO ****
No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file
Default settings 100 % applied!
**** GMOCCAPY GETINIINFO ****
Preference file path: /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.pref
**** GMOCCAPY INFO ****
**** Brak poprawnej konfiguracji czujnika narzędzia w pliku INI ****
**** pomiar narzędzia wyłączony ****
**** GMOCCAPY INFO ****
**** Entering make_DRO
axis_list = ['x', 'y', 'z']
**** GMOCCAPY INFO ****
**** Entering make ref axis button
('Filepath = ', '/usr/share/gmoccapy/images/ref_all.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_x.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_y.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_z.png')
('Filepath = ', '/usr/share/gmoccapy/images/unhome.png')
**** GMOCCAPY INFO ****
**** Entering make touch button
**** GMOCCAPY INFO ****
**** Entering make jog increments
**** GMOCCAPY INFO ****
**** Entering make jog button
**** GMOCCAPY INFO ****
**** Entering make macro button
found 15 Macros
Macro go_to_position x-pos y-pos z-pos has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/goto_x_y_z.png
Macro i_am_lost has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/i_am_lost.png
Macro macro_8 has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/macro_8.png
**** GMOCCAPY INFO ****
**** arrange DRO
3
**** GMOCCAPY INFO ****
**** Place in table
**** GMOCCAPY INFO ****
**** get DRO order
**** GMOCCAPY INFO ****
**** arrange JOG button
less than 6 axis
/usr/bin/gmoccapy:325: GtkWarning: Invalid icon size 48
self.widgets.window1.show()
task: main loop took 0.101590 seconds
**** GMOCCAPY INFO ****
**** Invalid embedded tab configuration ****
**** Panele nie zostaną dodane ****
**** GMOCCAPY INFO ****
**** dźwięk jest niedostępny ****
**** czy PYGST nie jest zainstalowane ? ****
**** is python-gstX.XX installed? ****
**** GMOCCAPY INFO ****
**** Entering init gremlin ****
Kinematics type changed
Jog Pin Changed
x+
Jog Button released = x+
Jog Pin Changed
x-
Jog Button released = x-
Jog Pin Changed
y+
Jog Button released = y+
Jog Pin Changed
y-
Jog Button released = y-
Jog Pin Changed
z+
Jog Button released = z+
Jog Pin Changed
z-
Jog Button released = z-
Shutting down and cleaning up LinuxCNC...
task: 5419 cycles, min=0.000105, max=0.101590, avg=0.001109, 1 latency excursions (> 10x expected cycle time of 0.001000s)
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/root/linuxcnc_debug.txt
and
/root/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
root@mini:~#
/root/mini/root/linuxcnc_debug.txt :
1677
1717
Stopping realtime threads
Unloading hal components
/root/mini/root/linuxcnc_print.txt :
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.in
i
VERSION=1.1
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=xyz
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
root@mini:~# apt-get install python-gst-1.0
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
python-gst-1.0 is already the newest version (1.14.0-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
root@mini:~#
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19411
- Thank you received: 6507
15 Aug 2020 07:43 #178240
by tommylight
Replied by tommylight on topic Hidden Gmoccapy dependencies
The system is running as ROOT, that is a big NO in Linux, if you are not a network administrator.
LinuxCNC is made to run as a normal Linux user, that is why you are getting so many "Running with fallback_uid" errors.
LinuxCNC is made to run as a normal Linux user, that is why you are getting so many "Running with fallback_uid" errors.
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 5
15 Aug 2020 11:07 #178256
by tuxcnc
Replied by tuxcnc on topic Hidden Gmoccapy dependencies
My computer is mine, not yours.The system is running as ROOT, that is a big NO in Linux, if you are not a network administrator.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19411
- Thank you received: 6507
15 Aug 2020 11:52 #178262
by tommylight
Replied by tommylight on topic Hidden Gmoccapy dependencies
Quite the opposite, if running as root, chances are much bigger that your computer is not yours any more !
My computer is mine, not yours.The system is running as ROOT, that is a big NO in Linux, if you are not a network administrator.
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 5
15 Aug 2020 13:57 #178277
by tuxcnc
Since many years I always login as root and no bad happened.
Never.
Quite the opposite, really danger is disabled root account, because Debian user never notice when somebody take over it.
Well, this nothing to do with subject, Gmoccapy not runs even if it is not root account.
Replied by tuxcnc on topic Hidden Gmoccapy dependencies
It is only Debian users paranoia.if running as root, chances are much bigger that your computer is not yours any more !
Since many years I always login as root and no bad happened.
Never.
Quite the opposite, really danger is disabled root account, because Debian user never notice when somebody take over it.
Well, this nothing to do with subject, Gmoccapy not runs even if it is not root account.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
15 Aug 2020 14:13 #178282
by Mike_Eitel
Replied by Mike_Eitel on topic Hidden Gmoccapy dependencies
I agree with you in concern the "never as administrator phobia". BUT
If you want to run lcnc.. do as the builders tell you. Install and dont configure or run as root! Or have fun with linux work versus making chipd. Your choice.
P. S. Have been there
Mike
If you want to run lcnc.. do as the builders tell you. Install and dont configure or run as root! Or have fun with linux work versus making chipd. Your choice.
P. S. Have been there
Mike
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.073 seconds