Probleme beim starten der Oberfläche

More
21 Oct 2020 17:24 #186822 by Lehmeier
Hallo!
Ich möchte unter "LinuxCNC-sim" meine Programmierkenntinisse auffrischen und habe daher die 2.8.0-1 unter Manjaro aus dem AUR installiert.
Wenn ich nun LinuxCNC starte kommt nur ein Fenster "LinuxCNC-Konfigurationswähler".

Dort steht in der Kopfzeile "LinuxCNC-Konfigurationswähler CURRENT: axis.ini"
Wenn ich dies mit "Ok" bestätige passiert - nichts.
Es kommt kein Fenster und auch im Speicher ist nichts mit linuxcnc zu finden.
Wie bekomme ich es zum laufen?


Das einzige Paket was ich zusätzlich installiert habe ist stl2ngc-git. dies soll eine STL-Datei in G-Code umschreiben und sollte eigentlich nichts damit zu tun haben.

MfG R.Lehmeier

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

More
21 Oct 2020 17:37 #186825 by Aciera
Versuchs mal im aus dem Terminal zu starten.
$ linuxcnc
oder
$ linuxcnc deinemaschine.ini

dann hast du gleich das log im terminal fenster und kannst gezielter vorgehen.

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

More
21 Oct 2020 18:04 #186829 by Lehmeier
Wenn ich linuxcnc im Terminal starte kommt das genannte Fenster.

Ich weiß aber nicht was du mit linuxcnc deinemaschine.ini meinst.
Ich habe ja keine Maschine definiert oder ihr einen Namen / ein Profil gegeben.

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

More
21 Oct 2020 18:17 #186831 by Aciera
Im Terminal erhälst du keine Rückmeldungen?

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

More
21 Oct 2020 21:15 #186841 by tommylight

Versuchs mal im aus dem Terminal zu starten.
$ linuxcnc

Wahl die axis.ini, gibt es fehlers beim terminal ?

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

More
22 Oct 2020 07:40 #186878 by Lehmeier
Wenn ich nur linuxcnc eingebe dann startet das oben beschrieben Fenster, wo ich etwas auswählen kann.

Wenn ich linuxcnc axis.ini im Terminal eingebe, bekomme ich :

linuxcnc axis.ini
LINUXCNC - 2.8.0
/usr/bin/grep: /home/ralf/axis.ini: Datei oder Verzeichnis nicht gefunden
Machine configuration directory is '/home/ralf'
Machine configuration file is 'axis.ini'
Could not find ini file '/home/ralf/axis.ini'

Wenn ich es richtig sehe dann sucht er seine Konfigurationsdatei in meinem Homeverzeichnis, wo sie aber nicht ist.
Wie kann ich das ändern?

Wenn ich aber Linuxcnc aus dem Startmenü starte und dann axis.ini auswähle startet es auch nicht.
Auch mit htop läßt es sich nicht auffinden.

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

More
22 Oct 2020 09:06 - 22 Oct 2020 09:06 #186883 by Aciera

Wenn ich nur linuxcnc eingebe dann startet das oben beschrieben Fenster, wo ich etwas auswählen kann.


Da hast du dann im Terminal keinerlei Rückmeldung nachdem du etwas ausgewählt hast?

Grundsätzlich musst du den Befehl "linuxcnc" im Verzeichnis aufrufen in dem sich die INI Datei befindet oder den Pfad angeben wo die Datei zu finden ist. Ich kenne mich mit der Installation auf Manjaro nicht aus.
Last edit: 22 Oct 2020 09:06 by Aciera.

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

More
22 Oct 2020 10:31 - 22 Oct 2020 13:01 #186888 by Lehmeier
Ok, ich habe mal linuxcnc /home/ralf/linuxcnc/configs/sim.axis/axis.ini eingegeben und folgendes bekommen
linuxcnc /home/ralf/linuxcnc/configs/sim.axis/axis.ini
LINUXCNC - 2.8.0
Machine configuration directory is '/home/ralf/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
can't find package Linuxcnc
while executing
"package require Linuxcnc "
(file "/usr/share/linuxcnc/hallib/check_config.tcl" line 141)
check_config validation failed
LinuxCNC terminated with an error. You can find more information in the log:
/home/ralf/linuxcnc_debug.txt
and
/home/ralf/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Kann es sein das bei der Installation etwas schiefgelaufen ist, oder das Scripte nicht passen?
Last edit: 22 Oct 2020 13:01 by Lehmeier.

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

More
22 Oct 2020 13:00 - 22 Oct 2020 13:01 #186893 by Lehmeier
So hier noch der Inhalt der Datei linuxcnc_print:

R UN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/ralf/linuxcnc/configs/sim.axis/axis.ini
VERSION=1.1


Der Inhalt der Datei linuxcnc_debug war leer, Größe 0 kb
Last edit: 22 Oct 2020 13:01 by Lehmeier.

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

More
22 Oct 2020 13:35 - 22 Oct 2020 13:50 #186897 by Aciera
Hast du einen Real-Time kernel wie preemt-rt installiert?

Willst du damit tatsächlich mal eine Maschine steuern oder gehts nur um einen GCode Simulator?
Last edit: 22 Oct 2020 13:50 by Aciera.

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

Time to create page: 0.157 seconds
Powered by Kunena Forum